INADA Naoki <songofacandy at gmail.com> wrote: > Current `python -v` is not useful to optimize import. > So I use this patch to profile import time. > https://gist.github.com/methane/e688bb31a23bcc437defcea4b815b1eb I have implemented DTrace probes that do almost the same thing. Your patch is better in that it does not require an OS with DTrace or SystemTap. The DTrace probes are better in that they can be a part of the standard Python build. https://github.com/nascheme/cpython/tree/dtrace-module-import DTrace script: https://gist.github.com/nascheme/c1cece36a3369926ee93cecc3d024179 Pretty printer for script output (very minimal): https://gist.github.com/nascheme/0bff5c49bb6b518f5ce23a9aea27f14b
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4