Commit graph pure-zstd/benchmark/same_blocks.dart
Author SHA1 Message Date
Tag
0cbe208eb0 Measure the decoder on the phone, which is the number that decides it
0.414 ms a block in profile AOT on the Pixel, so a 113-block sweep is 47 ms.
The phone is about twice as quick at this as the laptop the first figures
came from, which read 0.917 ms and 104 ms for the same sixteen blocks.

Debug on device is 0.540 ms, so the shipped configuration is the fast one
rather than the slow one.

The blocks are real, out of N39W105 in srtm1z. The committed .hgtz fixture
is no use for timing: its samples are a synthetic pattern that compresses
to almost no sequences, and decode cost tracks sequence count, so it reads
about six times too fast. It was measured that way once before this was
noticed.
2026-09-21 21:53:21 -06:00