Lokyr
Documentation

Instruction counts in CI

The instructions that the VT core takes for one sample of each of vtebench's scenarios, and for 1 MiB of text as cat prints it, as callgrind counts them. These are the counts of the first run of the instructions job, on GitHub's ubuntu-latest runner for x86-64, on 2026-10-20, at commit 5f72d44.

Method

Counts

ScenarioBytes of a sampleInstructionsA byte
cursor_motion1 107 60096 099 49786.8
dense_cells3 369 678232 420 86969.0
light_cells1 123 90211 615 70110.3
medium_cells1 072 566101 455 53394.6
scrolling1 572 864363 901 861231.4
scrolling_bottom_region1 572 864450 585 093286.5
scrolling_bottom_small_region1 572 864552 064 565351.0
scrolling_fullscreen1 059 44812 012 27311.3
scrolling_top_region1 572 864467 757 449297.4
scrolling_top_small_region1 572 864592 295 049376.6
sync_medium_cells1 116 918104 672 34593.7
unicode1 106 384112 344 138101.5
cat1 MiB28 555 89427.2

The scrolling scenarios print three bytes a line, y and CR LF: the bottom region takes about 859 instructions a line. The counts that /usr/bin/time -l gave on Apple Silicon, about 805, are of another instruction set, which the job does not use.