Skip to content

Commit

Permalink
Reduce the missing benchmark payload size
Browse files Browse the repository at this point in the history
The missing glyph benchmark was exceptionally big compared to all other
benchmarks, causing it to stand out a bit in direct comparisons of all
benchmark results.

Having it a little smaller and more uniform with the other benchmarks
should help with getting a quick overview over the performance results.
  • Loading branch information
chrisduerr authored Feb 26, 2021
1 parent f3866cb commit 9cb3afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/missing/benchmark
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ columns=$(tput cols)
lines=$(tput lines)

# Assume private use area (0xE000 - 0xF8FF) results in "missing" glyphs.
for i in $(seq 58000 58500); do
for i in $(seq 58000 58200); do
char=$(printf "\u$(printf '%04x' $i)")
printf "\e[H%*s" $((2 * $columns * $lines)) | tr ' ' "$char"
done

0 comments on commit 9cb3afc

Please sign in to comment.