Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Register now

Remove DiffStats RPC call on initial render

We need to remove the DiffStats RPC call to Gitaly on initial Rapid Diffs render with the document. This call is expensive and can slow down the page.

Instead we should:

  1. Improve whitespace-only diff detection without relying on DiffStats. That's going to be possible once we have that flag in Gitaly
  2. Use FindChangedPaths RPC, which returns modified paths and is very fast. Since we only need to know the amount of changed files on initial render we could use that call instead
Edited Feb 06, 2026 by Stanislav Lashmanov
Assignee Loading
Time tracking Loading