Mercurial > hg
view tests/sitecustomize.py @ 18032:a9e623bb440e
dirstate: test normalize is truthy instead of using a no-op lambda
hg perfstatus -u on a working directory with 170,000 files, without this
change:
! wall 1.869404 comb 1.850000 user 1.170000 sys 0.680000 (best of 6)
With this change:
! wall 1.839561 comb 1.830000 user 1.120000 sys 0.710000 (best of 6)
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Tue, 04 Dec 2012 10:29:18 -0800 |
parents | 0b21ae0a2366 |
children | 031947baf4d0 |
line wrap: on
line source
try: import coverage getattr(coverage, 'process_startup', lambda: None)() except ImportError: pass