]> granicus.if.org Git - python/commit
A brand new implementation of Profile.calibrate(). This measures an
authorTim Peters <tim.peters@gmail.com>
Tue, 9 Oct 2001 05:31:56 +0000 (05:31 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 9 Oct 2001 05:31:56 +0000 (05:31 +0000)
commitcce092d04616b27c25ffc8037206135b72b4b7c4
tree2e2ba2d8f40e01e8265bd194315a3457373e1432
parent342d8f778029c3e14bcc6f5ef7d6525fd1ab466c
A brand new implementation of Profile.calibrate().  This measures an
actual run of the profiler, instead of timing a simplified simulation of
part of what the profiler does.  It computes a constant about 60% higher
on my Win98SE box than the old method, and the new constant appears much
more realistic.  Deleted the undocumented simple(), instrumented(), and
profiler_simulation() methods (which existed only to support the previous
calibration method).
Lib/profile.py
Misc/NEWS