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

umputun / revdiff / 30569821676
90%

Build:
DEFAULT BRANCH: master
Ran 30 Jul 2026 06:19PM UTC
Jobs 1
Files 79
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

30 Jul 2026 06:18PM UTC coverage: 89.942% (-0.01%) from 89.952%
30569821676

push

github

web-flow
perf(ui): stop full-diff re-render on annotation cursor blink (#298)

* perf(ui): stop full-diff re-render on annotation cursor blink

renderDiff rebuilds the styled string for every line of the current file,
~6.7us per line - 72ms at 10k lines, 337ms at 50k. the annotation input is
painted inside it, so every message forwarded to the input forced a full
re-render, including the textinput cursor blink that fires twice a second
and leaves the value untouched.

the input now uses a static cursor so no blink timer is scheduled, and the
forwarding branch re-renders only when the input value actually changed,
which keeps ctrl+v paste repainting. blink cost drops from 86ms to a flat
1.1ms at 10k lines.

starting an annotation no longer returns a blink command; the tests
asserting a non-nil command are updated to match.

adds BenchmarkModel_RenderDiff/_View and BenchmarkModel_AnnotationKeystroke/
_BlinkTick as the measurement harness. typing and j/k navigation still pay
the full O(N) render - not addressed here.

* chore: ignore revmux run archives

7 of 9 new or added lines in 2 files covered. (77.78%)

52 existing lines in 2 files now uncovered.

11294 of 12557 relevant lines covered (89.94%)

2750.45 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
92.14
-0.33% app/ui/model.go

Coverage Regressions

Lines Coverage ∆ File
26
94.35
0.06% app/ui/annotate.go
26
92.14
-0.33% app/ui/model.go
Jobs
ID Job ID Ran Files Coverage
1 30569821676.1 30 Jul 2026 06:19PM UTC 79
89.94
GitHub Action Run
Source Files on build 30569821676
  • Tree
  • List 79
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • faa338b4 on github
  • Prev Build on master (#30528691900)
  • Next Build on master (#30606622188)
  • 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