benchmarks: move them to their own folder

Benchmarks aren't really tests, don't keep them in the `tests` folder.
This commit is contained in:
Edward Thomson
2026-01-10 14:14:27 +00:00
parent b154967667
commit 551b2bbf2d
59 changed files with 2 additions and 6 deletions

View File

@@ -115,7 +115,7 @@ jobs:
fi
mkdir benchmark && cd benchmark
../source/tests/benchmarks/benchmark.sh \
../source/benchmarks/cli/benchmark.sh \
${SUITE_FLAG} ${DEBUG_FLAG} \
--admin \
--baseline-cli "git" --cli "${GIT2_CLI}" --name libgit2 \

View File

Before

Width:  |  Height:  |  Size: 152 KiB

After

Width:  |  Height:  |  Size: 152 KiB

View File

Before

Width:  |  Height:  |  Size: 395 KiB

After

Width:  |  Height:  |  Size: 395 KiB

View File

@@ -105,7 +105,7 @@ fullpath() {
}
resources_dir() {
cd "$(dirname "$0")/../resources" && pwd
cd "$(dirname "$0")/../../tests/resources" && pwd
}
temp_dir() {

View File

@@ -2,10 +2,6 @@
These are the unit and integration tests for the libgit2 projects.
* `benchmarks`
These are benchmark tests that excercise the CLI.
* `clar`
This is [clar](https://github.com/clar-test/clar) the common test framework.
* `headertest`
This is a simple project that ensures that our public headers are
compatible with extremely strict compilation options.