Skip to content
  • Augie Fackler's avatar
    fastannotate: initial import from Facebook's hg-experimental · 1ddb296e0dee
    Augie Fackler authored
    I made as few changes as I could to get the tests to pass, but this
    was a bit involved due to some churn in the blame code since someone
    last gave fastannotate any TLC.
    
    There's still follow-up work here to rip out support for old versions
    of hg and to integrate the protocol with modern standards.
    
    Some performance numbers (all on my 2016 MacBook Pro with a 2.6Ghz i7):
    
    Mercurial mercurial/manifest.py
    traditional blame
    time: real 1.050 secs (user 0.990+0.000 sys 0.060+0.000)
    build cache
    time: real 5.900 secs (user 5.720+0.000 sys 0.110+0.000)
    fastannotate
    time: real 0.120 secs (user 0.100+0.000 sys 0.020+0.000)
    
    Mercurial mercurial/localrepo.py
    traditional blame
    time: real 3.330 secs (user 3.220+0.000 sys 0.070+0.000)
    build cache
    time: real 30.610 secs (user 30.190+0.000 sys 0.230+0.000)
    fastannotate
    time: real 0.180 secs (user 0.160+0.000 sys 0.020+0.000)
    
    mozilla-central dom/ipc/ContentParent.cpp
    traditional blame
    time: real 7.640 secs (user 7...
    1ddb296e0dee