[PATCH] revset: don't create changectx when matching for files

Matt Mackall mpm at selenic.com
Fri Mar 20 13:41:34 CDT 2015


On Tue, 2015-03-17 at 10:51 -0700, Durham Goode wrote:
> A more detailed breakdown of the profiling is here: 
> https://bpaste.net/show/1affea0af5e4
> 
> It looks like repoview introduces some overhead (simply switching to an 
> unfiltered repo gets us from 12s to 9.9s, despite this repo not having 
> any obsolescence) and the remaining time is in the changectx constructor.

Perhaps we should fast-path that instead.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list