[Bug 4379] New: hg log -f -r 'a::b' is very slow

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Sat Sep 20 00:21:44 CDT 2014


          Priority: normal
            Bug ID: 4379
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: hg log -f -r 'a::b' is very slow
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: sid0 at fb.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: unspecified
         Component: Mercurial
           Product: Mercurial

On mozilla-central with hg at 48791c2bea1c:

$ time hg log -f -r 'default~60000::default' -T 'x\n' > /dev/null
hg log -f -r 'default~60000::default' -T 'x\n' > /dev/null  505.86s user 0.30s
system 99% cpu 8:26.75 total

$ time hg log -r 'default~60000::default' -T 'x\n' > /dev/null
hg log -r 'default~60000::default' -T 'x\n' > /dev/null  13.47s user 0.10s
system 99% cpu 13.580 total

This is a regression compared to 3.1.1. With hg at 3.1.1, both versions (with -f
and without -f) finish in under 15 seconds.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Mercurial-devel mailing list