profiler: list matching record numbers when only the record count differs

The 'matching records: N-M' note was suppressed when every compared record
matched but the record count differed (e.g. 30 expected vs 10 read): the
renderer only looked for failed per-record checks, so the report showed
just the count lines. profilerRunRule now sets res.recordsMismatch whenever
the count or any record differs, and the renderer uses it (with the old
per-record check as fallback), so the matching-record ranges are listed in
that case too. Tests cover the count-only mismatch and the per-record case.
SW cache v65 -> v66.
This commit is contained in:
2026-09-11 00:45:17 +03:00
parent 26ee8974cc
commit 74741a37cd
3 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
const CACHE = 'otaman-v65';
const CACHE = 'otaman-v66';
const URLS = [
'index.html',
'help.html',