Message339674
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 ;-) |
|
Date |
User |
Action |
Args |
2019-04-08 20:48:32 | vstinner | set | recipients:
+ vstinner, brett.cannon, rhettinger |
2019-04-08 20:48:32 | vstinner | set | messageid: <1554756512.21.0.720070037166.issue36559@roundup.psfhosted.org> |
2019-04-08 20:48:32 | vstinner | link | issue36559 messages |
2019-04-08 20:48:32 | vstinner | create | |
|