mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-02 03:12:25 +01:00
Add new --style
called header-filesize
and display it by default (#1988)
Also rename `header` to `header-filename`. Related to #1701
This commit is contained in:
10
tests/benchmarks/run-benchmarks.sh
vendored
10
tests/benchmarks/run-benchmarks.sh
vendored
@@ -136,3 +136,13 @@ for wrap in character never; do
|
||||
cat "$RESULT_DIR/syntax-highlighting-speed-${filename}.md" >> "$REPORT"
|
||||
done
|
||||
done
|
||||
|
||||
|
||||
heading "Many small files speed (overhead of metadata)"
|
||||
hyperfine \
|
||||
"$(printf "%q" "$BAT") --no-config --language=txt --style=plain many-small-files/*.txt" \
|
||||
--command-name 'bat … --language=txt *.txt' \
|
||||
--warmup "$WARMUP_COUNT" \
|
||||
--export-markdown "$RESULT_DIR/many-small-files-speed.md" \
|
||||
--export-json "$RESULT_DIR/many-small-files-speed.json"
|
||||
cat "$RESULT_DIR/many-small-files-speed.md" >> "$REPORT"
|
||||
|
Reference in New Issue
Block a user