Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added warning for the removal of 'hotshot' in Py3k. | Alexandre Vassalotti | 2008-03-22 | 1 | -1/+3 |
| | |||||
* | Patch #2167 from calvin: Remove unused imports | Christian Heimes | 2008-02-23 | 2 | -2/+0 |
| | |||||
* | Move testing code into "if __name__ == '__main__'" so it's not run on import. | Ka-Ping Yee | 2003-03-28 | 1 | -21/+21 |
| | |||||
* | Massive changes from SF 589982 (tempfile.py rewrite, by Zack | Guido van Rossum | 2002-08-09 | 1 | -6/+2 |
| | | | | | Weinberg). This changes all uses of deprecated tempfile functions to the recommended ones. | ||||
* | Add clarifying comment. | Guido van Rossum | 2002-07-18 | 1 | -0/+1 |
| | |||||
* | Script to run the pystones "benchmark" under HotShot. | Fred Drake | 2002-07-18 | 1 | -0/+35 |
| | |||||
* | Simplify; the low-level log reader is now always a modern iterator, | Fred Drake | 2002-07-18 | 1 | -6/+1 |
| | | | | | and should never return None. (It only did this for an old version of HotShot that was trying to still work with a patched Python 2.1.) | ||||
* | Expose the fileno() method of the underlying profiler. | Fred Drake | 2002-07-18 | 1 | -0/+4 |
| | |||||
* | Expose the fileno() method of the underlying log reader. | Fred Drake | 2002-07-18 | 1 | -6/+4 |
| | | | | | Remove the crufty support for Python's that don't have StopIteration; the HotShot patch for Python 2.1 has not been maintained. | ||||
* | Gave hotshot.LogReader a close() method, to allow users to close the | Tim Peters | 2002-07-18 | 1 | -0/+3 |
| | | | | | file object that LogReader opens. Used it then in test_hotshot; the test passes again on Windows. Thank Guido for the analysis. | ||||
* | We're no longer trying to support older Python versions with this | Guido van Rossum | 2002-07-18 | 1 | -7/+2 |
| | | | | codebase, so get rid of the pre-2.2 contingency. | ||||
* | Minor cleanup: | Fred Drake | 2002-05-29 | 1 | -5/+11 |
| | | | | | | - Add comment explaining the structure of the stack. - Minor optimization: make stack tuple directly usable as part of return value for enter/exit events. | ||||
* | Added docstrings to the Profile class. | Fred Drake | 2002-04-16 | 1 | -0/+31 |
| | | | | | Avoid adding Python wrappers around the underlying C profiler if possible; the extra layer of calls can lead to confusion in interpreting the logs. | ||||
* | Set/update self.cwd properly. | Fred Drake | 2002-03-12 | 1 | -14/+51 |
| | |||||
* | Update to reflect changes to the low-level logreader: share the info | Fred Drake | 2001-10-29 | 1 | -10/+19 |
| | | | | | | dictionary instead of building a new one, and provide an overridable method to allow subclasses to catch ADD_INFO records that are not part of the initial block of ADD_INFO records created by the profiler itself. | ||||
* | Allow user code to call the addinfo() method on the profiler object. | Fred Drake | 2001-10-29 | 1 | -0/+3 |
| | |||||
* | pstats-compatible analysis module. | Fred Drake | 2001-10-15 | 1 | -0/+93 |
| | | | | | hotshot.stats.load(logfilename) returns a pstats.Stats instance, which is about as compatible as it gets. | ||||
* | runcall(): Expose the return value of the profiled function; this allows | Fred Drake | 2001-10-15 | 1 | -1/+1 |
| | | | | | | changing an application to collect profile data on one part of the app while still making use of the profiled component, without relying on side effects. | ||||
* | Avoid deep recursion when reading the header of the log file. | Fred Drake | 2001-10-15 | 1 | -28/+39 |
| | | | | | Add support for extracting function names from the log file, keeping the extract-names-from-sources support as a fallback. | ||||
* | When we reach the end of the log file, close the logreader object. | Fred Drake | 2001-10-13 | 1 | -1/+3 |
| | |||||
* | Preliminary user-level interface to HotShot. We still need the analysis | Fred Drake | 2001-10-12 | 2 | -0/+173 |
tool; look for that on Monday. |