Homec4science

Use RepositoryGraphCache to service diffusion.lastmodifiedquery

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

Description

Use RepositoryGraphCache to service diffusion.lastmodifiedquery

Summary:
Ref T2683. At least locally, browse views are now nearly instantaneous, even in Mercurial. We also fall back to what we were doing before if we miss or take too long, so this shouldn't make things very much worse even in extreme cases.

For a local hg repo, the time we spend pulling browse stuff has dropped from ~3,000ms to ~20ms. This is probably atypical, but not completely crazy or rigged or anything.

Test Plan: Viewed Git, Subversion and Mercurial repositories and observed dramatically better performance in Git and Mercurial as they took advantage of the cache.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley, jhurwitz

Maniphest Tasks: T2683

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

Details

Committed
epriestley <git@epriestley.com>May 12 2014, 20:47
Pushed
aubortJan 31 2017, 17:16
Parents
rPHe34ee684e138: Batch execution of LastModified query
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHe13369d20815: Use RepositoryGraphCache to service diffusion.lastmodifiedquery (authored by epriestley <git@epriestley.com>).May 12 2014, 20:47