[Bug 4191] New: Complicated revset I use in my "where am I now" log alias is twice as slow as 2.9.1 with tip
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Fri Mar 7 13:40:36 CST 2014
http://bz.selenic.com/show_bug.cgi?id=4191
Priority: normal
Bug ID: 4191
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: Complicated revset I use in my "where am I now" log
alias is twice as slow as 2.9.1 with tip
Severity: bug
Classification: Unclassified
OS: Mac OS
Reporter: durin42 at gmail.com
Hardware: PC
Status: UNCONFIRMED
Version: unspecified
Component: Mercurial
Product: Mercurial
Transcript below. revset in question is "sort((::. or bookmark() or
heads(public())), "-rev")"
Note that it's *much* worse if the upstream() revset from remotebranches is
used instead of public(): the tip-performance is in the neighborhood of 30
seconds with upstream(), although the results are the same. I'll figure that
out on my own if needed.
augie% HGRCPATH=wat ./hg --version
Mercurial Distributed SCM (version 2.9.1)
(see http://mercurial.selenic.com for more information)
Copyright (C) 2005-2014 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
augie% HGRCPATH=null ./hg --time log --graph --style compact --limit 6 -r
'sort((::. or bookmark() or heads(public())), "-rev")' > /dev/null
obsolete feature not enabled but 20612 markers found!
time: real 0.770 secs (user 0.730+0.000 sys 0.040+0.000)
augie% HGRCPATH=wat hg --version
Mercurial Distributed SCM (version 2.9.1+31-e811b93f2cb1+20140307)
(see http://mercurial.selenic.com for more information)
Copyright (C) 2005-2014 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
augie% HGRCPATH=null hg --time log --graph --style compact --limit 6 -r
'sort((::. or bookmark() or heads(public())), "-rev")' > /dev/null
obsolete feature not enabled but 20612 markers found!
time: real 1.800 secs (user 1.740+0.000 sys 0.050+0.000)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list