[Python-Dev] this is what happens if you freeze all the modules required for startup
Brett Cannon
bcannon at gmail.com
Fri Apr 18 00:06:09 CEST 2014
More information about the Python-Dev mailing list
Fri Apr 18 00:06:09 CEST 2014
- Previous message: [Python-Dev] this is what happens if you freeze all the modules required for startup
- Next message: [Python-Dev] this is what happens if you freeze all the modules required for startup
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu Apr 17 2014 at 5:21:14 PM, "Martin v. Löwis" <martin at v.loewis.de> wrote: > Am 17.04.14 20:47, schrieb Brett Cannon: > > Because people keep bringing it up, below is the results of hacking up > > the interpreter to include a sys.path entry for ./python35.zip instead > > of hard-coding to /usr/lib/python35.zip and simply zipped up Lib/ > > recursively. TL;DR, zipimport performance no longer measures up > > (probably because of stat caching and such that importlib introduced). > > [I found the answer on what is being compared in replies] > Yeah, I did it in under 5 minutes on a whim so I wasn't entirely thinking when I posted the numbers. > > So how did you create the zip file? zip ../python35.zip -r . > Any chance that you may have > compressed the pyc files? > Yes. -Brett -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20140417/2eb2d6ef/attachment.html>
- Previous message: [Python-Dev] this is what happens if you freeze all the modules required for startup
- Next message: [Python-Dev] this is what happens if you freeze all the modules required for startup
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list