New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhanced hotshot profiler with high-resolution timer #46471
Comments
The _hotshot module uses the gettimeofday function to profile the run I enhanced the hotshot module in Python 2.5.2 to use a high resolution The improved hotshot module has been tested on 32-bit MacOS X 10.4.11 The 3 modified files are Modules/_hotshot.c, Lib/hotshot/log.py and |
Do *not* use the attached files. A fix is forthcoming. My apologies. |
Attached are the improved hotspot files, rev 2. The changes are rather These 3 files have been tested with Python 2.5.2 only and on 32-bit However, no other platforms or compilers have been tested. Except for |
Here is another version of the profiler files with 7 minor changes in the |
There are 7 other, potentially serious issues in the original _hotshot.c The 7 issues are:
|
Attached is the latest, hopefully final version of the enhanced and Please review this code in file _hotshot.c and let me know of any rule |
Attached is yet another, final update of the enhancements to the hotshot |
Here are the forward diffs of the 3 files against the version in the |
May I ask what the reasoning is for further developing hotshot as part If hotshot still provides functionality that's interesting (and it may), |
hotshot won't get any more updates. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: