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

umputun / revdiff
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: tree-focus-toggles
DEFAULT BRANCH: master
Repo Added 01 Apr 2026 08:15AM UTC
Token zpy25XdTlXkHx5U3syYGatR9U5X0sk8oe regen
Build 1323 Last
Files 82
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

LAST BUILD ON BRANCH perf/diff-viewport-keystroke
branch: perf/diff-viewport-keystroke
CHANGE BRANCH
x
Reset
Sync Branches
  • perf/diff-viewport-keystroke
  • 258-fix-auto-scroll
  • add-collapsed-flag
  • agent/filter-unreviewed-files
  • agterm-overlay-backend
  • agterm-pane-overlay
  • agterm-size-percent
  • all-files-mode
  • annot-input-color
  • annotation-list-popup
  • annotation-rowcache
  • auto-light-dark-theme
  • backlog-sweep
  • bash32-launcher-parse
  • chore/deps-update
  • ci-shellcheck-yaml
  • clamp-scrollx
  • clean-exit-contract
  • clear-flushed-output
  • clear-preloaded-output
  • code-smells-cleanup
  • codex-plan-mode-transcript
  • codex-plugin
  • collapsed-diff-mode
  • commit-info-popup
  • community-themes
  • compact-diff-mode
  • compact-improve
  • compare-flag
  • custom-keybindings
  • customizable-annotation-emoji
  • daulet/new_file
  • daulet/word_highlight
  • dependabot/github_actions/actions/checkout-7
  • dependabot/github_actions/actions/setup-go-7
  • dependabot/github_actions/actions/setup-node-7
  • dependabot/go_modules/github.com/alecthomas/chroma/v2-2.24.1
  • dependabot/go_modules/github.com/alecthomas/chroma/v2-2.25.0
  • dependabot/go_modules/github.com/alecthomas/chroma/v2-2.26.1
  • dependabot/go_modules/github.com/alecthomas/chroma/v2-2.27.0
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.11.10
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.11.7
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.11.8
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.11.9
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.12.0
  • dependabot/go_modules/github.com/dlclark/regexp2/v2-2.10.0
  • dependabot/go_modules/github.com/dlclark/regexp2/v2-2.12.0
  • dependabot/go_modules/github.com/dlclark/regexp2/v2-2.13.0
  • dependabot/go_modules/github.com/dlclark/regexp2/v2-2.13.2
  • dependabot/go_modules/github.com/dlclark/regexp2/v2-2.13.3
  • dependabot/go_modules/github.com/dlclark/regexp2/v2-2.7.2
  • dependabot/go_modules/github.com/dlclark/regexp2/v2-2.8.0
  • dependabot/go_modules/github.com/dlclark/regexp2/v2-2.8.2
  • dependabot/go_modules/github.com/dlclark/regexp2/v2-2.8.3
  • dependabot/go_modules/github.com/dlclark/regexp2/v2-2.8.4
  • dependabot/go_modules/github.com/dlclark/regexp2/v2-2.9.1
  • dependabot/go_modules/github.com/mattn/go-runewidth-0.0.23
  • dependabot/go_modules/github.com/mattn/go-runewidth-0.0.24
  • dependabot/go_modules/github.com/mattn/go-runewidth-0.0.27
  • dependabot/go_modules/github.com/mattn/go-runewidth-0.0.29
  • dependabot/go_modules/github.com/mattn/go-runewidth-0.0.30
  • dependabot/go_modules/github.com/mattn/go-runewidth-0.0.31
  • dependabot/go_modules/github.com/stretchr/testify-1.12.0
  • dependabot/go_modules/golang.org/x/sys-0.48.0
  • dependabot/go_modules/golang.org/x/sys-0.49.0
  • dependabot/go_modules/golang.org/x/sys-0.50.0
  • dependabot/npm_and_yarn/plugins/opencode/v2/multi-7955d4958a
  • dependabot/npm_and_yarn/plugins/opencode/v2/opencode-0e40d3f688
  • dependabot/npm_and_yarn/plugins/opencode/v2/opencode-188348da8f
  • dependabot/npm_and_yarn/plugins/opencode/v2/opencode-87639cbb62
  • dependabot/npm_and_yarn/plugins/opencode/v2/opencode-9082a34612
  • dependabot/npm_and_yarn/plugins/opencode/v2/opencode-9524670258
  • dependabot/npm_and_yarn/plugins/opencode/v2/opencode-e1213b3057
  • dependabot/npm_and_yarn/plugins/opencode/v2/opencode-f295618e7c
  • dependabot/npm_and_yarn/plugins/opencode/v2/opencode-f4e74317c9
  • dependabot/npm_and_yarn/plugins/opencode/v2/opencode/client-2.0.22
  • dependabot/npm_and_yarn/plugins/opencode/v2/opencode/plugin-2.0.22
  • dependabot/npm_and_yarn/plugins/opencode/v2/seroval-1.6.12
  • dependabot/npm_and_yarn/plugins/opencode/v2/solid-js-1.9.17
  • dependabot/npm_and_yarn/plugins/opencode/v2/solid-js-1.9.18
  • dependabot/npm_and_yarn/plugins/opencode/v2/solid-js-1.9.19
  • dependabot/npm_and_yarn/plugins/opencode/v2/solid-js-2.0.3
  • dependabot/npm_and_yarn/plugins/opencode/v2/solid-js-2.0.4
  • dependabot/npm_and_yarn/plugins/opencode/v2/types/node-26.6.11
  • dependabot/npm_and_yarn/plugins/opencode/v2/types/node-26.6.4
  • dependabot/npm_and_yarn/plugins/opencode/v2/types/node-26.6.5
  • dependabot/npm_and_yarn/plugins/opencode/v2/types/node-26.6.6
  • dependabot/npm_and_yarn/plugins/opencode/v2/typescript-7.0.2
  • diff-search
  • discard-quit
  • docs-planning-coexistence
  • docs/list-agterm-with-supported-terminals
  • docs/pi-package-review-fixes
  • docs/skills-drop-binary-presence-check
  • eager-commit-fetch
  • editor-single-ref-guard
  • exit-code-on-annotations
  • external-editor-annotations
  • feat-cross-file-motion
  • feat/add-flake-nix
  • feat/agent-deck-window-backend
  • feat/annotation-marker
  • feat/cmux-support
  • feat/codex-plan-review-hook
  • feat/compact-preserve-position
  • feat/dir-flag
  • feat/file-jump-picker
  • feat/herdr-backend
  • feat/herdr-pane-overlay
  • feat/history-skill-fallback
  • feat/jj-support
  • feat/launch-script-improvements
  • feat/navigation-scrollbar
  • feat/no-tree-flag
  • feat/one-light-chroma-style
  • feat/open-editor-keymap
  • feat/opencode-config-docs
  • feat/opencode-v2
  • feat/overlay-mouse-support
  • feat/page-overlap
  • feat/post-flush-hook
  • feat/preload-annotations
  • feat/relay-overlay-stderr
  • feat/review-info-overlay
  • feat/reviewed-diff-fingerprints
  • feat/reviewed-files-and-status-indicators
  • feat/scroll-indicators
  • feat/scrollbar-thumb
  • feat/stdin-scratch-buffer
  • feat/tmux-detached-session-backend
  • feat/toggle-tree-pane
  • feat/tree-focus-diff-scroll
  • feat/untracked-flag
  • feat/wheel-scroll-viewport-only
  • feat/word-diff-highlighting
  • feat/word-diff-opt-in
  • feat/zed-revdiff-task
  • feature/annotation-navigation
  • feature/binary-file-detection
  • feature/layout-agnostic-keys
  • feature/layout-agnostic-keys-v2
  • feature/new-file-and-untracked-support
  • feature/range-hunk-annotations
  • filter-unreviewed-flag
  • fix-blame-option-injection
  • fix-cross-file-hunk-framing
  • fix-ctrl-du-half-page
  • fix-file-annotation-bugs
  • fix-initial-loading-flash
  • fix-last-commit-docs
  • fix-marketplace-name-in-docs
  • fix-prefix-fg-on-highlighted-lines
  • fix-stdout-pipe-hang
  • fix-tmux-title-compat
  • fix-tree-wheel-single-step
  • fix-wheel-scroll-coalesce
  • fix-wrap-right-padding
  • fix/124-page-cursor-relative-position
  • fix/agterm-overlay
  • fix/agterm-plan-review
  • fix/bad-ref-exit-code
  • fix/center-hunk-in-viewport
  • fix/cmux-close-surface-recycled-ref
  • fix/cmux-ghostty-detection
  • fix/cmux-send-stdout-leak
  • fix/diff-viewport-visual-height-scroll
  • fix/ghostty-improvements
  • fix/headless-tmux-window-fallback
  • fix/help-overlay-clipping
  • fix/issue-203-zellij-popup-size
  • fix/kitty-ssh-remote-launch
  • fix/launcher-argument-quoting
  • fix/literal-pathspecs
  • fix/only-dot-prefix
  • fix/overlay-path-inheritance
  • fix/pagedown-freeze-annotated-last-line
  • fix/pagedown-overshoot
  • fix/pi-revdiff-review-trigger
  • fix/revdiff-skill-timeout-recovery
  • fix/staged-only-empty-diff
  • fix/subdirectory-support
  • fix/theme-persist-ini-section
  • fix/tmux-theme-detection
  • fix/untracked-renames
  • fix/zellij-plan-review-pane-size
  • ghostty-agent-terminal
  • ghostty-followups
  • gitlink-not-reviewable
  • global-hunk-navigation
  • go-install-revdiff-binary
  • helix-editor-line
  • herdr-blocked-signal
  • highlight-test-timing
  • history-artifact-keys
  • horizontal-wheel-scroll
  • hunk-keyword-expansion
  • hunk-step-full-coverage
  • in-session-annotation-flush
  • include-filter
  • intraline-word-diff
  • issue-457-lexer-stall
  • iterm2-osascript
  • jj-copy-entries
  • jj-fileset-paths
  • jj-odd-filenames-backlog
  • jj-rename-entries
  • jj-triple-dot-range
  • launcher-override-chain
  • launcher-stdin-sandbox-key
  • leader-chord-keybindings
  • line-numbers
  • markdown-toc-navigation
  • master
  • mercurial-support
  • mouse-support
  • move-code-to-app
  • omar/fix-sandbox
  • only-filter
  • open-focused-file-editor
  • opencode-question-annotations
  • opencode-solid-js-bump
  • opencode-v1-jsonc-install
  • overlay-extraction
  • package-codex-skills
  • parallel-launcher-tests
  • perf/annotation-blink-rerender
  • perf/page-scroll-navigation
  • perf/per-line-render-cache
  • perf/trackpad-wheel-frame-coalescing
  • pi-herdr-blocked
  • pi-revdiff-claude-workflow
  • planning-tmux-window
  • post-flush-without-output
  • rbesolov/herdr-app-overlay-support
  • rebind-file-picker-key
  • refs/tags/v0.1.0
  • refs/tags/v0.1.1
  • refs/tags/v0.10.0
  • refs/tags/v0.11.0
  • refs/tags/v0.12.0
  • refs/tags/v0.13.0
  • refs/tags/v0.14.0
  • refs/tags/v0.14.1
  • refs/tags/v0.15.0
  • refs/tags/v0.15.1
  • refs/tags/v0.15.2
  • refs/tags/v0.15.3
  • refs/tags/v0.16.0
  • refs/tags/v0.16.1
  • refs/tags/v0.17.0
  • refs/tags/v0.18.0
  • refs/tags/v0.18.1
  • refs/tags/v0.19.0
  • refs/tags/v0.19.1
  • refs/tags/v0.19.2
  • refs/tags/v0.2.0
  • refs/tags/v0.2.1
  • refs/tags/v0.2.2
  • refs/tags/v0.2.3
  • refs/tags/v0.2.4
  • refs/tags/v0.20.0
  • refs/tags/v0.21.0
  • refs/tags/v0.22.0
  • refs/tags/v0.23.0
  • refs/tags/v0.24.0
  • refs/tags/v0.25.0
  • refs/tags/v0.25.1
  • refs/tags/v0.26.0
  • refs/tags/v0.26.1
  • refs/tags/v0.27.0
  • refs/tags/v0.27.1
  • refs/tags/v0.28.0
  • refs/tags/v0.3.0
  • refs/tags/v0.4.0
  • refs/tags/v0.4.1
  • refs/tags/v0.4.2
  • refs/tags/v0.5.0
  • refs/tags/v0.6.0
  • refs/tags/v0.7.0
  • refs/tags/v0.7.1
  • refs/tags/v0.7.2
  • refs/tags/v0.8.0
  • refs/tags/v0.9.0
  • refs/tags/v1.0.0
  • refs/tags/v1.1.0
  • refs/tags/v1.1.1
  • refs/tags/v1.10.0
  • refs/tags/v1.11.0
  • refs/tags/v1.12.0
  • refs/tags/v1.13.0
  • refs/tags/v1.14.0
  • refs/tags/v1.15.0
  • refs/tags/v1.2.0
  • refs/tags/v1.2.1
  • refs/tags/v1.3.0
  • refs/tags/v1.4.0
  • refs/tags/v1.4.1
  • refs/tags/v1.5.0
  • refs/tags/v1.5.1
  • refs/tags/v1.6.0
  • refs/tags/v1.6.1
  • refs/tags/v1.7.0
  • refs/tags/v1.7.1
  • refs/tags/v1.8.0
  • refs/tags/v1.9.0
  • refs/tags/v1.9.1
  • regexp2-backtrack-guard
  • reload
  • rename-aware-diffs
  • revert/197-opencode-symlink
  • revert/opencode-setup-symlink
  • review-findings
  • review-history
  • rex-backend
  • rex-launcher-followups
  • scroll-diff-page-357
  • search-history
  • shell-completions
  • sidepane-extraction
  • signal-safe-annotation-save
  • single-column-line-numbers-full-context
  • single-file-mode
  • skill-opencode-timeout-fix
  • skill-scripts-hg-jj
  • skill-use-claude-skill-dir
  • start-at-change
  • status-bar-line-number
  • status-icon-legend
  • status-line-help-overlay
  • structural-refactor
  • style-extraction
  • theme-support
  • toggle-mouse
  • tree-focus-toggles
  • tree-pane-restore
  • two-ref-diff
  • ui-package-split
  • update-pi-extension-agent-tool
  • vim-motion-preset
  • widen-annot-list-popup
  • word-wrap
  • worddiff-cost-budget
  • worddiff-extraction
  • worktree-bugfix
  • worktree-no-git-file-review
  • wrap-marker-style
  • wrap-toggle-tree-focus

15 Nov 2026 03:33PM UTC coverage: 92.043% (+0.03%) from 92.012%
43732559047

Pull #449

github

krus210
Stop re-measuring every diff line on each keystroke

bubbles/viewport v1 measures the display width of every content line on
each SetContent, for a horizontal scroll revdiff never uses. On a 50k-line
diff that scan was 42% of a j press and 61% of an annotation keystroke.

Replace it in the diff pane with diffViewport, which keeps the fields and
methods revdiff calls and measures only the rows it shows. Output is
byte-identical; cursor and annotation keystrokes at 10k-50k lines take
45-59% less time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pull Request #449: Stop re-measuring every diff line on each keystroke

53 of 53 new or added lines in 2 files covered. (100.0%)

12412 of 13485 relevant lines covered (92.04%)

3456.93 hits per line

Relevant lines Covered
Build:
Build:
13485 RELEVANT LINES 12412 COVERED LINES
3456.93 HITS PER LINE
Source Files on perf/diff-viewport-keystroke
  • Tree
  • List 82
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
43732559047 perf/diff-viewport-keystroke Stop re-measuring every diff line on each keystroke bubbles/viewport v1 measures the display width of every content line on each SetContent, for a horizontal scroll revdiff never uses. On a 50k-line diff that scan was 42% of a j press and 61% of ... Pull #449 15 Nov 2026 06:09PM UTC krus210 github
92.04
See All Builds (1156)

Badge your Repo: revdiff

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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