commit | cce092d04616b27c25ffc8037206135b72b4b7c4 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Tue Oct 09 05:31:56 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Tue Oct 09 05:31:56 2001 +0000 |
tree | 2e2ba2d8f40e01e8265bd194315a3457373e1432 | |
parent | 342d8f778029c3e14bcc6f5ef7d6525fd1ab466c [diff] |
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).