tests/sitecustomize.py
author Lucas Moscovicz <lmoscovicz@fb.com>
Thu, 13 Feb 2014 14:27:12 -0800
changeset 20553 86cefb15e7b5
parent 14971 0b21ae0a2366
child 24505 031947baf4d0
permissions -rw-r--r--
cmdutil: implemented new lazy increasingwindows Now log can work in a lazy way and get results as soon as they are processed. Performance Benchmarking: $ time hg log -l1 -qr "branch(default)" 0:9117c6561b0b real 0m2.303s user 0m2.252s sys 0m0.048s $ time ./hg log -l1 -qr "branch(default)" 0:9117c6561b0b real 0m0.238s user 0m0.199s sys 0m0.037s

try:
    import coverage
    getattr(coverage, 'process_startup', lambda: None)()
except ImportError:
    pass