mirror of
https://github.com/sharkdp/bat
synced 2024-11-23 20:33:06 +00:00
Add Python highlighting test
This commit is contained in:
parent
f7eb55aa01
commit
b3aefd2d41
2 changed files with 8473 additions and 2 deletions
4
tests/benchmarks/run-benchmarks.sh
vendored
4
tests/benchmarks/run-benchmarks.sh
vendored
|
@ -95,8 +95,8 @@ cat "$RESULT_DIR/startup-time.md" >> "$REPORT"
|
|||
|
||||
heading "Plain-text speed"
|
||||
hyperfine \
|
||||
"$(printf "%q" "$BAT") --no-config --language=txt --style=plain test-src/test_multiarray.py" \
|
||||
--command-name 'bat … --language=txt test_multiarray.py' \
|
||||
"$(printf "%q" "$BAT") --no-config --language=txt --style=plain test-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" \
|
||||
--export-json "$RESULT_DIR/plain-text-speed.json"
|
||||
|
|
8471
tests/benchmarks/test-src/numpy_test_multiarray.py
vendored
Normal file
8471
tests/benchmarks/test-src/numpy_test_multiarray.py
vendored
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue