Homec4science

Speed up diffusion_browsequery for mercurial repositories

Authored by Richard van Velzen <rvanvelzen@expert-shops.com> on Feb 7 2014, 18:39.

Description

Speed up diffusion_browsequery for mercurial repositories

Summary:
Ref T4387. By using hg locate to attempt to only list files in the given path
browsing diffusion is a bit faster. In a repo of about 600M it shaves a rough 100ms
off viewing the root of the project.

Test Plan: Looked around in diffusion and saw it showed everything including .files, which was nice

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Maniphest Tasks: T4387

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

Details

Committed
epriestley <git@epriestley.com>Feb 7 2014, 18:39
Pushed
aubortJan 31 2017, 17:16
Parents
rPHdf98ea3ba907: Allow Maniphest to be searched for mailing list subscribers
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH5771d1395203: Speed up diffusion_browsequery for mercurial repositories (authored by Richard van Velzen <rvanvelzen@expert-shops.com>).Feb 7 2014, 18:39