[Python-checkins] CVS: python/dist/src/Misc NEWS,1.272,1.273

Tim Peters tim_one@users.sourceforge.net
Mon, 08 Oct 2001 22:31:58 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv8331/python/Misc

Modified Files:
	NEWS 
Log Message:
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).


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.272
retrieving revision 1.273
diff -C2 -d -r1.272 -r1.273
*** NEWS	2001/10/07 03:12:08	1.272
--- NEWS	2001/10/09 05:31:56	1.273
***************
*** 48,51 ****
--- 48,55 ----
    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.