Skip to content
Snippets Groups Projects

Performance: Preload file blobs on search

Open Administrator requested to merge tr/preload-file-blobs into main

Created by: umpox

Actions before merging this PR:

Ideally also merge https://github.com/sourcegraph/sourcegraph/pull/40244 so this is really fast for new repos/revisions too. But this isn't required necessarily.

Description

This PR:

  • Starts preloading plaintext file blobs on search submission, when the result becomes visible (through the VirtualList)

Before

https://user-images.githubusercontent.com/9516420/184664937-b8093cc9-6502-4ce4-bb2b-3442df28754a.mp4

After

https://user-images.githubusercontent.com/9516420/184665005-8431d02d-f35f-4b46-8e3d-df2cde6b63e3.mp4

Test plan

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
Please register or sign in to reply
Loading