• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / revdiff / 30147304072
90%

Build:
DEFAULT BRANCH: master
Ran 25 Jul 2026 06:21AM UTC
Jobs 1
Files 76
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Jul 2026 06:19AM UTC coverage: 89.915% (+0.006%) from 89.909%
30147304072

push

github

web-flow
perf(ui): index visual rows for page navigation (#287)

* perf(ui): index visual rows for page navigation

Page motions repeatedly recalculated the cursor's visual position from the start of the diff and rebuilt hunk and annotation metadata for every cursor step. This made PgUp, PgDown, Ctrl-U, and Ctrl-D increasingly expensive deeper into large files.

Build one visual-row index per page motion and reuse precomputed hunk and annotation state while preserving wrap, collapsed, and annotation semantics. A 10,000-line benchmark drops from roughly 233 ms to 48 ms per page motion.

* test(ui): lock indexed cursor rows to direct calculation

The indexed page-navigation path duplicates file-annotation and inline-annotation cursor adjustments from the direct calculation. Without an equivalence test, either path could drift while page-motion deltas continued to hide the regression.

Exercise every cursor index and annotation state with wrapping, file and inline annotations, and a collapsed hunk, and document the indexed lookup precondition.

33 of 35 new or added lines in 2 files covered. (94.29%)

24 existing lines in 2 files now uncovered.

11038 of 12276 relevant lines covered (89.92%)

2805.17 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
94.32
-0.15% app/ui/annotate.go

Coverage Regressions

Lines Coverage ∆ File
18
96.07
0.03% app/ui/diffnav.go
6
94.32
-0.15% app/ui/annotate.go
Jobs
ID Job ID Ran Files Coverage
1 30147304072.1 25 Jul 2026 06:20AM UTC 76
89.92
GitHub Action Run
Source Files on build 30147304072
  • Tree
  • List 76
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • aaca7199 on github
  • Prev Build on master (#30036993395)
  • Next Build on master (#30147722426)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc