debugRowIndexQueries top-level property
Number of _RowIndex probes issued since the last reset (benchmark hook).
Paired with debugRowIndexRowVisits: the RATIO of the two is the scan
range of an average probe, which is the single number a change to the
index's bucketing strategy moves, and which no timing assertion can
isolate — a faster run may simply have had a shorter cascade. The range
must stay ~2 rows on EVERY fixture; a ratio that grows with the tallest
tile present means the bucketing has regressed to top-row indexing, and
only a fixture containing a tall tile can expose that. Reset in setUp,
not only in tearDown (§1).
Maintained inside asserts: live under dart run and the test binding,
stripped from AOT and dart compile js -O2, so the timing runs are never
charged for them.
Implementation
@visibleForTesting
int debugRowIndexQueries = 0;