Author vstinner
Recipients brett.cannon, rhettinger, vstinner
Date 2019-04-08.20:48:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1554756512.21.0.720070037166.issue36559@roundup.psfhosted.org>
In-reply-to
Content
Raymond:
> Why do we care about this particular import?  It doesn't see slow in any way.

I ran a benchmark:

$ ./python -m perf command -o ref.json -v -- ./python -c 'import random'
$ # apply patch
$ ./python -m perf command -o patch.json -v -- ./python -c 'import random'
$ ./python -m perf compare_to ref.json patch.json 
Mean +- std dev: [ref] 13.8 ms +- 0.2 ms -> [patch] 11.8 ms +- 0.2 ms: 1.18x faster (-15%)

My PR 12728 makes Python startup 2 ms faster which I consider as quite significant on 13.8 ms.

I know that some users are fighting to get a faster Python startup. Mercurial is just one example ;-)
History
Date User Action Args
2019-04-08 20:48:32vstinnersetrecipients: + vstinner, brett.cannon, rhettinger
2019-04-08 20:48:32vstinnersetmessageid: <1554756512.21.0.720070037166.issue36559@roundup.psfhosted.org>
2019-04-08 20:48:32vstinnerlinkissue36559 messages
2019-04-08 20:48:32vstinnercreate