mirror of
https://github.com/python/cpython.git
synced 2026-02-20 06:11:12 +00:00
Based on lsprof (patch #1212837) by Brett Rosen and Ted Czotter. With further editing by Michael Hudson and myself. History in svn repo: http://codespeak.net/svn/user/arigo/hack/misc/lsprof * Module/_lsprof.c is the internal C module, Lib/cProfile.py a wrapper. * pstats.py updated to display cProfile's caller/callee timings if available. * setup.py and NEWS updated. * documentation updates in the profiler section: - explain the differences between the three profilers that we have now - profile and cProfile can use a unified documentation, like (c)Pickle - mention that hotshot is "for specialized usage" now - removed references to the "old profiler" that no longer exists * test updates: - extended test_profile to cover delicate cases like recursion - added tests for the caller/callee displays - added test_cProfile, performing the same tests for cProfile * TO-DO: - cProfile gives a nicer name to built-in, particularly built-in methods, which could be backported to profile. - not tested on Windows recently! |
||
|---|---|---|
| .. | ||
| test_augassign | ||
| test_cgi | ||
| test_class | ||
| test_coercion | ||
| test_compare | ||
| test_cookie | ||
| test_cProfile | ||
| test_exceptions | ||
| test_extcall | ||
| test_frozen | ||
| test_global | ||
| test_grammar | ||
| test_httplib | ||
| test_linuxaudiodev | ||
| test_logging | ||
| test_math | ||
| test_MimeWriter | ||
| test_mmap | ||
| test_new | ||
| test_nis | ||
| test_opcodes | ||
| test_openpty | ||
| test_operations | ||
| test_ossaudiodev | ||
| test_pep277 | ||
| test_pkg | ||
| test_poll | ||
| test_popen | ||
| test_popen2 | ||
| test_profile | ||
| test_pty | ||
| test_pyexpat | ||
| test_regex | ||
| test_resource | ||
| test_rgbimg | ||
| test_scope | ||
| test_signal | ||
| test_thread | ||
| test_threadedtempfile | ||
| test_tokenize | ||
| test_types | ||
| test_winreg | ||
| test_xdrlib | ||
| xmltests | ||