mirror of
https://github.com/sharkdp/bat.git
synced 2024-12-27 16:58:50 +01:00
Add Python highlighting test
This commit is contained in:
parent
f7eb55aa01
commit
b3aefd2d41
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 New Issue
Block a user