[issue150] patchbomb extension doubles startup time

Bryan O'Sullivan mercurial-bugs at selenic.com
Wed Mar 1 21:04:20 UTC 2006


New submission from Bryan O'Sullivan <bos at serpentine.com>:

Whoever refactored the patchbomb script to become an extension forgot to get it
to demandload the many modules it uses.

Enabling it as an extension doubles the time it takes for hg to start:

With no extensions:

$ time hg version >/dev/null
real 0.119s

With just patchbomb configured in ~/.hgrc:

$ time hg version >/dev/null
real 0.231s

----------
messages: 589
nosy: bos
priority: bug
status: unread
title: patchbomb extension doubles startup time
topic: performance

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue150>
____________________________________________________




More information about the Mercurial mailing list