Last active
February 17, 2017 12:48
-
-
Save methane/26fc0a2382207655a6819a92f867620c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ local/cpython/bin/python3 -S -m cProfile -scumtime x.py | head -n30 | |
972 function calls (965 primitive calls) in 0.002 seconds | |
Ordered by: cumulative time | |
ncalls tottime percall cumtime percall filename:lineno(function) | |
3/1 0.000 0.000 0.002 0.002 {built-in method builtins.exec} | |
1 0.000 0.000 0.002 0.002 x.py:1(<module>) | |
4/3 0.000 0.000 0.001 0.000 <frozen importlib._bootstrap>:958(_find_and_load) | |
4/3 0.000 0.000 0.001 0.000 <frozen importlib._bootstrap>:931(_find_and_load_unlocked) | |
1 0.000 0.000 0.001 0.001 site.py:555(main) | |
4 0.000 0.000 0.001 0.000 <frozen importlib._bootstrap>:861(_find_spec) | |
4 0.000 0.000 0.001 0.000 <frozen importlib._bootstrap_external>:1150(find_spec) | |
4 0.000 0.000 0.001 0.000 <frozen importlib._bootstrap_external>:1118(_get_spec) | |
2/1 0.000 0.000 0.001 0.001 <frozen importlib._bootstrap>:641(_load_unlocked) | |
2/1 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:673(exec_module) | |
16 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:1234(find_spec) | |
2/1 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:197(_call_with_frames_removed) | |
1 0.000 0.000 0.000 0.000 site.py:70(<module>) | |
1 0.000 0.000 0.000 0.000 site.py:515(execsitecustomize) | |
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:744(get_code) | |
1 0.000 0.000 0.000 0.000 site.py:535(execusercustomize) | |
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:486(_compile_bytecode) | |
8 0.000 0.000 0.000 0.000 site.py:90(makepath) | |
82 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:57(_path_join) | |
2 0.000 0.000 0.000 0.000 site.py:189(addsitedir) | |
2 0.000 0.000 0.000 0.000 {built-in method marshal.loads} | |
4 0.000 0.000 0.000 0.000 {built-in method posix.listdir} | |
26 0.000 0.000 0.000 0.000 {built-in method posix.stat} | |
1 0.000 0.000 0.000 0.000 site.py:115(removeduppaths) | |
1 0.000 0.000 0.000 0.000 site.py:312(addusersitepackages) | |
$ local/cpython/bin/python3 -S -m cProfile -scalls x.py | head -n50 | |
972 function calls (965 primitive calls) in 0.002 seconds | |
Ordered by: call count | |
ncalls tottime percall cumtime percall filename:lineno(function) | |
84 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:208(_verbose_message) | |
82 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:59(<listcomp>) | |
82 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:57(_path_join) | |
80 0.000 0.000 0.000 0.000 {built-in method builtins.isinstance} | |
66 0.000 0.000 0.000 0.000 {built-in method posix.fspath} | |
34 0.000 0.000 0.000 0.000 posixpath.py:39(_get_sep) | |
26 0.000 0.000 0.000 0.000 {built-in method posix.stat} | |
25 0.000 0.000 0.000 0.000 {built-in method builtins.hasattr} | |
22 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:75(_path_stat) | |
21 0.000 0.000 0.000 0.000 posixpath.py:73(join) | |
20 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:1081(_path_importer_cache) | |
16 0.000 0.000 0.000 0.000 {built-in method _imp.release_lock} | |
16 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:1203(<genexpr>) | |
16 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:1234(find_spec) | |
16 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:41(_relax_case) | |
12 0.000 0.000 0.000 0.000 {built-in method builtins.getattr} | |
12 0.000 0.000 0.000 0.000 {built-in method _imp.acquire_lock} | |
12 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:834(__enter__) | |
12 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:838(__exit__) | |
11 0.000 0.000 0.000 0.000 {built-in method builtins.len} | |
9 0.000 0.000 0.000 0.000 posixpath.py:62(isabs) | |
9 0.000 0.000 0.000 0.000 posixpath.py:329(normpath) | |
9 0.000 0.000 0.000 0.000 posixpath.py:367(abspath) | |
8 0.000 0.000 0.000 0.000 {built-in method _thread.allocate_lock} | |
8 0.000 0.000 0.000 0.000 {built-in method _thread.get_ident} | |
8 0.000 0.000 0.000 0.000 posixpath.py:50(normcase) | |
8 0.000 0.000 0.000 0.000 site.py:90(makepath) | |
8 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:307(<genexpr>) | |
6 0.000 0.000 0.000 0.000 {built-in method posix.getcwd} | |
4 0.000 0.000 0.000 0.000 {built-in method from_bytes} | |
4 0.000 0.000 0.000 0.000 {built-in method _imp.is_builtin} | |
4 0.000 0.000 0.000 0.000 {built-in method _imp.is_frozen} | |
4 0.000 0.000 0.000 0.000 {built-in method posix.listdir} | |
4 0.000 0.000 0.001 0.000 <frozen importlib._bootstrap_external>:1118(_get_spec) | |
4 0.000 0.000 0.001 0.000 <frozen importlib._bootstrap_external>:1150(find_spec) | |
4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:57(__init__) | |
4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:77(acquire) | |
4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:102(release) | |
4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:142(__init__) | |
4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:146(__enter__) | |
4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:153(__exit__) | |
4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:173(cb) | |
4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:159(_get_module_lock) | |
4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:52(_r_long) | |
4 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:355(__init__) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment