| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
traceback is generally used in conjunction with other debugging modules, so I'm not sure it's worth the change. I'd like to mention that I also benchmark the import times using -X importtime as they don't suffer from startup time. Now, if we don't see improvements overall, I don't think we should actually do the change. I only changed modules for which import time is reduced by at least 20% (using -X importtime) or where we gain something noticeable on hyperfine. Most of your results show <10% improvements or no changes at all, so I don't think we need to do this. We definitely don't want to make all imports as lazy IMO. |
Sorry, something went wrong.
…kNOEA.rst Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
|
Please see my comment in your other PR, and also Benedikt's above. A |
Sorry, something went wrong.
|
Ok, i realized that this PR was a mistake and i will improve import time of each module separately. Maybe i will send PR for same module but without some other imports |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
TODO:
CPython configure flags:
Hyperfine benchmark for import traceback:
Hyperfine benchmarks for updated modules:
import _pyrepl experiments (no diff)
import code experiments
import doctest experiments (no diff)
import logging experiments (no diff)
import pdb experiments (no diff)
import py_compile experiments
import pydoc experiments
import unittest experiments
import xmlrpc experiments (no diff)