[issue2218] Enhanced hotshot profiler with high-resolution timer

2010-08-21 Thread Georg Brandl
Georg Brandl added the comment: hotshot won't get any more updates. -- nosy: +georg.brandl resolution: -> out of date status: open -> closed ___ Python tracker ___ _

[issue2218] Enhanced hotshot profiler with high-resolution timer

2008-10-07 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. <[EMAIL PROTECTED]> added the comment: May I ask what the reasoning is for further developing hotshot as part of the core? My understanding, based on discussions on python-dev, is that hotshot is being deprecated in favor of cProfile. If hotshot still provides functionality t

[issue2218] Enhanced hotshot profiler with high-resolution timer

2008-10-07 Thread Jean Brouwers
Changes by Jean Brouwers <[EMAIL PROTECTED]>: -- versions: +Python 2.7 -Python 2.5.3 ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Pyth

[issue2218] Enhanced hotshot profiler with high-resolution timer

2008-10-07 Thread Jean Brouwers
Changes by Jean Brouwers <[EMAIL PROTECTED]>: -- versions: +Python 2.5.3 -Python 2.6 ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Pyth

[issue2218] Enhanced hotshot profiler with high-resolution timer

2008-05-25 Thread Gregory P. Smith
Changes by Gregory P. Smith <[EMAIL PROTECTED]>: -- keywords: +patch nosy: +gregory.p.smith priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ _

[issue2218] Enhanced hotshot profiler with high-resolution timer

2008-03-22 Thread Jean Brouwers
Jean Brouwers <[EMAIL PROTECTED]> added the comment: Here are the forward diffs of the 3 files against the version in the trunk. -- versions: +Python 2.6 -Python 2.5 Added file: http://bugs.python.org/file9815/hires_hotshot_2.6.diffs.tgz __ Tracker <[EMA

[issue2218] Enhanced hotshot profiler with high-resolution timer

2008-03-12 Thread Jean Brouwers
Jean Brouwers <[EMAIL PROTECTED]> added the comment: Attached is yet another, final update of the enhancements to the hotshot profiler. It includes modifications of all 3 files, Modules/_hotshot.c, Lib/hotshot/log.py and Lib/hotshot/stats.py. Added file: http://bugs.python.org/file9664/hires_

[issue2218] Enhanced hotshot profiler with high-resolution timer

2008-03-09 Thread Jean Brouwers
Jean Brouwers <[EMAIL PROTECTED]> added the comment: Attached is the latest, hopefully final version of the enhanced and improved hotshot profiler files. In addition to fixes for the 7 issues mentioned previously, type Py_ssize_t is used instead of size_t. Use this verion 4 and discard all p

[issue2218] Enhanced hotshot profiler with high-resolution timer

2008-03-08 Thread Jean Brouwers
Jean Brouwers added the comment: There are 7 other, potentially serious issues in the original _hotshot.c file. All those are being fixed for the next version of the enhanced hotshot files. The 7 issues are: 1) functions flush_data and do_stop may create an infinite recursion on line 567.

[issue2218] Enhanced hotshot profiler with high-resolution timer

2008-03-07 Thread Jean Brouwers
Jean Brouwers added the comment: Here is another version of the profiler files with 7 minor changes in the _hotshot.c file. Use this hires_version3 set, if any. Added file: http://bugs.python.org/file9635/hires_hotshot3.tgz __ Tracker <[EMAIL PROTECTED]>

[issue2218] Enhanced hotshot profiler with high-resolution timer

2008-03-04 Thread Jean Brouwers
Jean Brouwers added the comment: Attached are the improved hotspot files, rev 2. The changes are rather drastic, in particular since hires time delta's may exceed 32-bit int. These 3 files have been tested with Python 2.5.2 only and on 32-bit Linux and MacOS X and on 64-bit Linux and Solaris

[issue2218] Enhanced hotshot profiler with high-resolution timer

2008-03-03 Thread Benjamin Peterson
Changes by Benjamin Peterson: -- nosy: +fdrake __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue2218] Enhanced hotshot profiler with high-resolution timer

2008-03-03 Thread Jean Brouwers
Jean Brouwers added the comment: Do *not* use the attached files. A fix is forthcoming. My apologies. __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs

[issue2218] Enhanced hotshot profiler with high-resolution timer

2008-03-02 Thread Jean Brouwers
New submission from Jean Brouwers: The _hotshot module uses the gettimeofday function to profile the run time. I enhanced the hotshot module in Python 2.5.2 to use a high resolution timer where available (RDTSC on x86/_64, MFTB/U on PowerPC and gethrtime on Solaris). The improved hotshot mod