Profiling python scripts on filesystem
Hi all I want to profile my scripts on the filesystem, but unfortunately CallProfiler by Richard was not designed to do that, and I have no idea how to integrate Python's own Profiler with Zope. Any (not too hackish) ideas? Thanks Hedley ____________________________________________ ISE Technologies (Pty) Ltd Innovation Centre, Technopark, Stellenbosch, 7650, South Africa Tel: +27 (0) 21 880 2456 Fax: +27 (0) 21 880 2457 Web: www.ise.co.za ____________________________________________ "The information in this email and in any attachments is confidential and intended solely for the attention and use of the named addressee(s). This information may be subjected to attorney and client or other privilege. It must not be disclosed to any person without ISE Technologies permission." "Please note that the recipient must scan this e-mail and any attached files for viruses and the like. ISE Technologies accepts no liability of whatever nature for any loss, liability, damage or expense resulting directly or indirectly from the access of any files that are attached to this message."
On Tue, 17 Sep 2002, Hedley Roos wrote:
Hi all
I want to profile my scripts on the filesystem, but unfortunately CallProfiler by Richard was not designed to do that, and I have no idea how to integrate Python's own Profiler with Zope.
Any (not too hackish) ideas?
For profiling filesystem code just start zope with PROFILE_PUBLISHER set to some value as an environmental variable and then click on the control panel, debug and then profile. Then run whatever your tests are and click there again it gives full profiling information for zope and your script will be in there also. Designing and building web applications http://webme-eng.com
participants (2)
-
Hedley Roos -
kosh@aesaeion.com