Hi Krisjan: Thanks for the information and slprofile.py. However when I run a programme using slprofile.py, I get:
No module named blue. Where do I get blue from? > If you want, I can provide you with the changed files to > the the "globaltrace" functionality, but it is a > little more work. I don't understand globaltrace and the associated issues. I need to do more reading. However if taking the files will help me profile Stackless code then yes please. Cheers, Andrew --- On Thu, 12/18/08, Kristján Valur Jónsson <[email protected]> wrote: > From: Kristján Valur Jónsson <[email protected]> > Subject: RE: [Stackless] Question abut slprofile.py > To: "[email protected]" <[email protected]>, > "[email protected]" <[email protected]> > Date: Thursday, December 18, 2008, 1:11 AM > Attached. > Note that what we also used is a custom flag in stackless, > "globaltrace" which makes the tracing state of > python global (for the thread) instead of being maintained > for each tasklet. > Not only does it allow us to take a profiling > "snapshot" of a running application, it also > prevented crashes in stackless, which was crashing horribly > if any exceptions were being raised in the trace callbacks. > Actually, the last issue was fixed by us changing slprofile > to not rely on the stackless tasklet switching callbacks, > which tend to have weird behaviour, but rather just querying > for the current tasklet in the trace functions. > > If you want, I can provide you with the changed files to > the the "globaltrace" functionality, but it is a > little more work. > K > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Andrew > Francis > Sent: 17. desember 2008 22:17 > To: [email protected] > Subject: [Stackless] Question abut slprofile.py > > Hi Folks: > > A while ago, I recall a thread about using a modified > profile module, slprofile for use with Stackless. Where can > I find slprofile.py and its documentation? > > Thanks, > Andrew > > > > > _______________________________________________ > Stackless mailing list > [email protected] > http://www.stackless.com/mailman/listinfo/stackless _______________________________________________ Stackless mailing list [email protected] http://www.stackless.com/mailman/listinfo/stackless
