Page MenuHomePhabricator

Slightly reduce the cost of resolving refs
ClosedPublic

Authored by epriestley on May 11 2014, 12:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 7, 6:54 AM
Unknown Object (File)
Fri, May 3, 5:37 AM
Unknown Object (File)
Mon, Apr 29, 4:13 PM
Unknown Object (File)
Wed, Apr 24, 10:58 PM
Unknown Object (File)
Wed, Apr 17, 3:05 PM
Unknown Object (File)
Apr 10 2024, 12:20 AM
Unknown Object (File)
Apr 3 2024, 12:25 PM
Unknown Object (File)
Mar 30 2024, 11:48 PM
Subscribers

Details

Summary

Ref T2683. By resolving the stable name earlier, we can save a resolve when viewing branch heads. This is ~100ms in Mercurial, and roughly 25% of page weight. It's less bad in Git.

Test Plan

Saw page cost go down in "Services" tab, particularly for Mercurial browse views.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Slightly reduce the cost of resolving refs.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.May 12 2014, 6:28 PM
epriestley updated this revision to Diff 21573.

Closed by commit rP53e9df8a0282 (authored by @epriestley).