Homec4science

Slightly reduce the cost of resolving refs

Authored by epriestley <git@epriestley.com> on May 11 2014, 02:43.

Description

Slightly reduce the cost of resolving refs

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.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T2683

Differential Revision: https://secure.phabricator.com/D9048

Details

Committed
epriestley <git@epriestley.com>May 12 2014, 20:47
Pushed
aubortJan 31 2017, 17:16
Parents
rPHe13369d20815: Use RepositoryGraphCache to service diffusion.lastmodifiedquery
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH53e9df8a0282: Slightly reduce the cost of resolving refs (authored by epriestley <git@epriestley.com>).May 12 2014, 20:47