diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-10-09 05:31:56 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-10-09 05:31:56 (GMT) |
commit | cce092d04616b27c25ffc8037206135b72b4b7c4 (patch) | |
tree | 2e2ba2d8f40e01e8265bd194315a3457373e1432 /Misc | |
parent | 342d8f778029c3e14bcc6f5ef7d6525fd1ab466c (diff) | |
download | cpython-cce092d04616b27c25ffc8037206135b72b4b7c4.zip cpython-cce092d04616b27c25ffc8037206135b72b4b7c4.tar.gz cpython-cce092d04616b27c25ffc8037206135b72b4b7c4.tar.bz2 |
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).
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -47,6 +47,10 @@ Library that's a worthy goal we intend to meet via a different approach (but without losing information). +- Profile.calibrate() has a new implementation that should deliver + a better system-specific calibration constant. Calibration must still + be done manually (see the docs for the profile module). + - quopri's encode and decode methods take an optional header parameter, which indicates whether output is intended for the header 'Q' encoding. |