Message321528
> STINNER Victor <vstinner@redhat.com> added the comment:
>
> What is the time spent in marshal.dumps() at Python startup when Python has to create all .pyc files? For example "./python -c pass" in the master branch with no external dependency? My question is if the PR makes Python startup 5% slower or less than 1% slower.
When startup, Python does more than compile()+marshal.dumps().
And as I wrote above, it makes compile()+marshal.dumps() only 4% slower.
So startup must not be slower than 4%.
Additionally, it happens only once if pyc can be writable.
(I don't know if marshal.dumps() is called when open(cache_path, 'wb') failed) |
|
Date |
User |
Action |
Args |
2018-07-12 08:34:42 | methane | set | recipients:
+ methane, vstinner, benjamin.peterson, serhiy.storchaka |
2018-07-12 08:34:42 | methane | link | issue34093 messages |
2018-07-12 08:34:42 | methane | create | |
|