- 03 Mar, 2005 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
profile.py if available.
-
- 10 Ock, 2005 2 kayıt (commit)
-
-
Tim Peters yazdı
-
Johannes Gijsbers yazdı
profile.help() point at the library reference instead of profile.doc.
-
- 09 Ock, 2005 1 kayıt (commit)
-
-
Johannes Gijsbers yazdı
there's no need to subclass OptionParser.
-
- 12 Tem, 2004 2 kayıt (commit)
-
-
Nicholas Bastin yazdı
collate, so setting it back to the function name
-
Nicholas Bastin yazdı
-
- 07 Tem, 2004 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 24 Mar, 2004 1 kayıt (commit)
-
-
Nicholas Bastin yazdı
-
- 23 Mar, 2004 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Nicholas Bastin yazdı
and one for sort order when using stdout. Uses optparse.
-
- 22 Mar, 2004 1 kayıt (commit)
-
-
Nicholas Bastin yazdı
-
- 12 Şub, 2004 1 kayıt (commit)
-
-
Walter Dörwald yazdı
From SF patch #852334.
-
- 22 Eki, 2003 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Raymond Hettinger yazdı
-
- 27 Şub, 2003 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 02 Haz, 2002 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 01 Haz, 2002 2 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
- 05 Ara, 2001 1 kayıt (commit)
-
-
Fred Drake yazdı
-
- 17 Eki, 2001 1 kayıt (commit)
-
-
Fred Drake yazdı
-
- 09 Eki, 2001 3 kayıt (commit)
-
-
Tim Peters yazdı
-
Tim Peters yazdı
call, or via setting an instance or class vrbl. Rewrote the calibration docs. Modern boxes are so friggin' fast, and a profiler event does so much work anyway, that the cost of looking up an instance vrbl (the bias constant) per profile event just isn't a big deal.
-
Tim Peters yazdı
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).
-
- 07 Eki, 2001 5 kayıt (commit)
-
-
Tim Peters yazdı
-
Tim Peters yazdı
seriously wrong. This started out by just fixing the docs, but then it occurred to me that the doc confusion propagated into misleading vrbl names too, so I also renamed those to match reality. As a result, INO the time computations are much easier to understand now (within the limitations of vast quantities of 3-character names <wink>).
-
Tim Peters yazdı
to use assert stmts (was raising unexpected kinds of exceptions).
-
Tim Peters yazdı
+ The last index in the timing tuple is 4, not 5 (noted by Guido). + The poorly named trace_dispatch_i works with float return values too.
-
Tim Peters yazdı
hasn't worked in years, docs were wrong, and they aren't interesting anymore regardless.
-
- 05 Eki, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
derive Profile subclasses. This patch repairs that, restoring negative tuple indices. Yuck? You bet.
-
- 04 Eki, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
it deals correctly with some anomalous cases; according to this test suite I've fixed it right. The anomalous cases had to do with 'exception' events: these aren't generated when they would be most helpful, and the profiler has to work hard to recover the right information. The problems occur when C code (such as hasattr(), which is used as the example here) calls back into Python code and clears an exception raised by that Python code. Consider this example: def foo(): hasattr(obj, "bar") Where obj is an instance from a class like this: class C: def __getattr__(self, name): raise AttributeError The profiler sees the following sequence of events: call (foo) call (__getattr__) exception (in __getattr__) return (from foo) Previously, the profiler would assume the return event returned from __getattr__. An if statement checking for this condition and raising an exception was commented out... This version does the right thing.
-
- 03 Eki, 2001 1 kayıt (commit)
-
-
Fred Drake yazdı
-
- 27 Eyl, 2001 1 kayıt (commit)
-
-
Fred Drake yazdı
This should fix a bug in how time is allocated during exception propogation (esp. in the presence of finally clauses).
-
- 09 Agu, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
"import MacOS", and there *is* a need for "import operator".
-
- 19 Haz, 2001 1 kayıt (commit)
-
-
Jack Jansen yazdı
-
- 08 Haz, 2001 1 kayıt (commit)
-
-
Fred Drake yazdı
Ensure that all the default timers are called as functions, not an expensive method wrapper around a variety of different functions. Agressively avoid dictionary lookups. Modify the dispatch scheme (Profile.trace_dispatch_*(), where * is not 'call', 'exception' or 'return') so that the callables dispatched to are simple functions and not bound methods -- this reduces the number of layers of Python call machinery that gets touched. Remove a couple of duplicate imports from the "if __name__ == ..." section. This closes SF patch #430948.
-
- 14 Mar, 2001 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
good doc strings.) Fix silly argument handling; was using *args but really wanted 1 optional arg. XXX Should profile.doc be merged into the documentation and removed from the Lib directory?
-
- 12 Şub, 2001 1 kayıt (commit)
-
-
Skip Montanaro yazdı
-
- 15 Ock, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 10 Agu, 2000 1 kayıt (commit)
-
-
Peter Schneider-Kamp yazdı
(and yes, "Currintly" also counts <0.5 wink>)
-
- 16 Tem, 2000 1 kayıt (commit)
-
-
Thomas Wouters yazdı
comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
-