diff options
author | W. Trevor King <wking@drexel.edu> | 2009-12-03 21:37:29 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-12-03 21:37:29 -0500 |
commit | 864d694c818374ceb4c8e3b34612b0481de17f8d (patch) | |
tree | ecaa120e774f4fd72660e109d73ebdc899be36c0 /becommands | |
parent | 2ba535acb1f03fb7d1bdb57e4173d55661d300da (diff) | |
download | bugseverywhere-864d694c818374ceb4c8e3b34612b0481de17f8d.tar.gz |
Don't get VCS version in VCS.__init__().
Often, this just causes a slow subprocess.Popen() call to
get information we woln't even look at.
Old benchmark:
$ time be list > /dev/null
real 0m2.369s
user 0m1.980s
sys 0m0.388s
New benchmark:
$ time be list > /dev/null
real 0m1.472s
user 0m1.304s
sys 0m0.164s
Diffstat (limited to 'becommands')
0 files changed, 0 insertions, 0 deletions