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).
diff --git a/Misc/NEWS b/Misc/NEWS
index 30f7df6..3da64a5 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -47,6 +47,10 @@
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.