Ok, I've looked at the patch and it's actually stackless-agnostic. Regards Antoine. On Tue, 17 Aug 2010 12:31:30 +0200 Antoine Pitrou <solipsis at pitrou.net> wrote: > On Tue, 17 Aug 2010 09:22:15 +0000 > Kristján Valur Jónsson <kristjan at ccpgames.com> wrote: > > Hello there. > > I'd like to draw your attention to two feature requests / patches that I've subbmitted: > > http://bugs.python.org/issue9609 > > http://bugs.python.org/issue9622 > > > > These patches are the result of work that we have done in profiling Stackless Python server applications at runtime, but they apply just as well to C Python. > > The first patch makes _lsprof, the engine behind cProfile, multi-stack aware. This allows the same cProfiler.Profile() instance to be active on multiple python threads and still meaningful information is gathered. > > Does that mean you're proposing code for inclusion in CPython that can > only be tested with Stackless? > Can't Stackless use its own patches instead? > > > The second patch allows to set the trace/profile function in python globally, so that all threads are affected. This is essential if you want to take a profililng snapshot of a running application. > > I've often heard that cProfile didn't give correct profiling > information with multiple threads. Is it true? > > Thanks > > Antoine.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4