diff --git a/tests/benchmarks/test-src/grep-output-ansi-sequences.txt b/tests/benchmarks/highlighting-speed-src/grep-output-ansi-sequences.txt similarity index 100% rename from tests/benchmarks/test-src/grep-output-ansi-sequences.txt rename to tests/benchmarks/highlighting-speed-src/grep-output-ansi-sequences.txt diff --git a/tests/benchmarks/test-src/jquery.js b/tests/benchmarks/highlighting-speed-src/jquery.js similarity index 100% rename from tests/benchmarks/test-src/jquery.js rename to tests/benchmarks/highlighting-speed-src/jquery.js diff --git a/tests/benchmarks/test-src/miniz.c b/tests/benchmarks/highlighting-speed-src/miniz.c similarity index 100% rename from tests/benchmarks/test-src/miniz.c rename to tests/benchmarks/highlighting-speed-src/miniz.c diff --git a/tests/benchmarks/test-src/numpy_test_multiarray.py b/tests/benchmarks/highlighting-speed-src/numpy_test_multiarray.py similarity index 100% rename from tests/benchmarks/test-src/numpy_test_multiarray.py rename to tests/benchmarks/highlighting-speed-src/numpy_test_multiarray.py diff --git a/tests/benchmarks/run-benchmarks.sh b/tests/benchmarks/run-benchmarks.sh index d27af3db3f..2ace5686e9 100755 --- a/tests/benchmarks/run-benchmarks.sh +++ b/tests/benchmarks/run-benchmarks.sh @@ -95,7 +95,7 @@ cat "$RESULT_DIR/startup-time.md" >> "$REPORT" heading "Startup time with syntax highlighting" hyperfine \ - "$(printf "%q" "$BAT") --no-config --color=always test-src/small-CpuInfo-file.cpuinfo" \ + "$(printf "%q" "$BAT") --no-config --color=always startup-time-src/small-CpuInfo-file.cpuinfo" \ --command-name "bat … small-CpuInfo-file.cpuinfo" \ --warmup "$WARMUP_COUNT" \ --export-markdown "$RESULT_DIR/startup-time-with-syntax-highlighting.md" \ @@ -105,7 +105,7 @@ cat "$RESULT_DIR/startup-time-with-syntax-highlighting.md" >> "$REPORT" heading "Startup time with syntax with dependencies" hyperfine \ - "$(printf "%q" "$BAT") --no-config --color=always test-src/small-Markdown-file.md" \ + "$(printf "%q" "$BAT") --no-config --color=always startup-time-src/small-Markdown-file.md" \ --command-name "bat … small-Markdown-file.md" \ --warmup "$WARMUP_COUNT" \ --export-markdown "$RESULT_DIR/startup-time-with-syntax-with-dependencies.md" \ @@ -115,7 +115,7 @@ cat "$RESULT_DIR/startup-time-with-syntax-with-dependencies.md" >> "$REPORT" heading "Plain-text speed" hyperfine \ - "$(printf "%q" "$BAT") --no-config --language=txt --style=plain test-src/numpy_test_multiarray.py" \ + "$(printf "%q" "$BAT") --no-config --language=txt --style=plain highlighting-speed-src/numpy_test_multiarray.py" \ --command-name 'bat … --language=txt numpy_test_multiarray.py' \ --warmup "$WARMUP_COUNT" \ --export-markdown "$RESULT_DIR/plain-text-speed.md" \ @@ -123,7 +123,7 @@ hyperfine \ cat "$RESULT_DIR/plain-text-speed.md" >> "$REPORT" -for SRC in test-src/*; do +for SRC in highlighting-speed-src/*; do filename="$(basename "$SRC")" heading "Syntax highlighting speed: \`$filename\`" diff --git a/tests/benchmarks/test-src/small-CpuInfo-file.cpuinfo b/tests/benchmarks/startup-time-src/small-CpuInfo-file.cpuinfo similarity index 100% rename from tests/benchmarks/test-src/small-CpuInfo-file.cpuinfo rename to tests/benchmarks/startup-time-src/small-CpuInfo-file.cpuinfo diff --git a/tests/benchmarks/test-src/small-Markdown-file.md b/tests/benchmarks/startup-time-src/small-Markdown-file.md similarity index 100% rename from tests/benchmarks/test-src/small-Markdown-file.md rename to tests/benchmarks/startup-time-src/small-Markdown-file.md