[Bug 4456] New: mercurial.obsolete._load takes forever

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Nov 17 10:53:34 CST 2014


http://bz.selenic.com/show_bug.cgi?id=4456

          Priority: normal
            Bug ID: 4456
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: mercurial.obsolete._load takes forever
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: julien.cristau at logilab.fr
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.6.1
         Component: evolution
           Product: Mercurial

on the mercurial repo (over nfs):

$ hg --version; time hg diff --profile
Mercurial Distributed SCM (version 3.2.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.
   CallCount    Recursive     Total(s)    Inline(s) module:lineno(function)
      103990            0      1.5786      0.7521  
mercurial.obsolete:148(_fm0readmarkers)
      103989            0      0.2471      0.2471       <sorted>
      103989            0      0.3942      0.2182      
mercurial.obsolete:231(_fm0decodemeta)
      198543            0      0.0528      0.0528       <_struct.unpack>
      103989            0      0.0417      0.0417       <method 'split' of
'str' objects>
      103989            0      0.0403      0.0403       <method 'iteritems' of
'dict' objects>
           1            0      2.3674      0.5258  
mercurial.obsolete:565(_load)
      103990            0      1.5786      0.7521      
mercurial.obsolete:148(_fm0readmarkers)
      206486            0      0.1669      0.1669       <method 'add' of 'set'
objects>
      206486            0      0.0783      0.0783       <method 'setdefault' of
'dict' objects>
      103989            0      0.0178      0.0178       <method 'append' of
'list' objects>
      103994            0      0.2476      0.2471   <sorted>
           3            0      0.0004      0.0004      
mercurial.phases:282(<genexpr>)
          10            0      0.0000      0.0000      
mercurial.changelog:189(rev)
      103989            0      0.3942      0.2182  
mercurial.obsolete:231(_fm0decodemeta)
      319949            0      0.1761      0.1761       <method 'split' of
'str' objects>
      423990            0      0.2178      0.2178   <method 'split' of 'str'
objects>
      206523            0      0.1669      0.1669   <method 'add' of 'set'
objects>
      206486            0      0.0783      0.0783   <method 'setdefault' of
'dict' objects>
      198547            0      0.0528      0.0528   <_struct.unpack>
      103990            0      0.0403      0.0403   <method 'iteritems' of
'dict' objects>
      111789            0      0.0233      0.0233   <method 'pop' of 'dict'
objects>
      104413            0      0.0179      0.0179   <method 'append' of 'list'
objects>
       50820            0      0.0132      0.0132   <method 'get' of
'parsers.index' objects>
           1            0      0.0486      0.0131  
mercurial.obsolete:1028(_computeobsoleteset)
       50820            0      0.0132      0.0132       <method 'get' of
'parsers.index' objects>
         278            0      0.0207      0.0002      
mercurial.phases:194(phase)
           3            0      0.0015      0.0000      
mercurial.localrepo:28(__get__)
          11            0      0.0000      0.0000       <method 'add' of 'set'
objects>
      112589           34      0.0123      0.0123   <len>

real    0m2.902s
user    0m2.720s
sys     0m0.140s

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


More information about the Mercurial-devel mailing list