Skip to content

frontend: Speed up NewRepositoryComparison

Administrator requested to merge newrepositorycomparison-speed into master

Created by: ryanslade

Fetch commits in parallel. Optimistically fetch based on revspec, fall back to resolving commit only on error.

Specifically, this helps speed up our changeset list view as it needs fetch many commits to calculate diffs.

Locally the page load drops from around 400ms to 250ms

Merge request reports

Loading