It would also be good to coordinate your CLI with Phillip's code for profiling the unit tests...

Ted

On Feb 7, 2005, at 3:16 PM, Alec Flett wrote:

 I just checked in a fix to:
http://bugzilla.osafoundation.org/show_bug.cgi?id=2329

This enables "Event profiling" to make performance testing much easier. You can now profile application-level events by simply going to Test->Start Profiling. All block events that get executed will be profiled to a file called "Events.prof" in the current directory.

The important thing is that this is specifically profiling events - i.e. it doesn't profile any noise from other actions like dragging a mouse around the ui. This makes it easy to test specific actions. For instance you can click "Start Profiling", delete an item, and then click "Stop Profiling"

The file is in the standard python profile format. I have also written a simple command-line profile analysis tool so you can navigate the profile output at will - but I didn't know if we had a place to check in external tools? Does anyone have any suggestions?

 Alec
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev

----
Ted Leung                 Open Source Applications Foundation (OSAF)
PGP Fingerprint: 1003 7870 251F FA71 A59A  CEE3 BEBA 2B87 F5FC 4B42

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev

Reply via email to