mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00: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:
1 parent
f3f8194932
commit
312c8ef01f
111 files changed
+302
-42
No files matched your search
Vendored
+10
@@ -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