Personal tools
You are here: Home Products Call Profiler
Document Actions

Call Profiler

RSS Feed Category: Development tools — Other products by this author
Call Profiler monitors the chain of DTML, ZSQL, ZPT, Python method and Python Script calls in a Zope request and gather timing information, for the purpose of identifying hot-spots for potential optimization.

Current release: Call Profiler 1.4-fixed

Released Jun 7, 2005

The 1.4 release fixed to work with modern-day Zope versions (2.4 and above).

List all releases… Full release announcement…

Get Call Profiler for all platforms (13.0 kB)

Product Package

Experimental releases

There are no experimental releases available at the moment.

Project Description

Project resources

This is the classic CallProfiler application written by Richard T Jones, updated to work with the later versions of Zope by Andy McKay.

Since there is no officially fixed release available, we put it up here on plone.org so it's available for people who need it.

Usage

Once the product is installed in your Products directory and Zope has been restarted, visit the Call Profiler link in your Control Panel.

In the configuration tab, check the types of documents you wish to obtain the timing information for. You may also clear any previously gathered timing information using the "clear" buttons.

Once you have selected the documents to monitor and have clicked "Monitor selected calls", load up the pages you wish to profile. Once they're loaded (or even as they're loading :) you should visit the results tab. There you will find a list of the requests made by browsers with some timing information:

  • clicking the url will load the page requested
  • clicking on the time of the request will bring up a blow-by-blow breakdown of the documents called to form the request.

You may also see the requests aggregated by URL on the "Requests By URL" tab - giving the minimum, average and maximum times for the responses. You may:

  • click the url to load the page requested
  • click the session times to see the detailed breakdown of the request

The detailed view is set to highlight calls that broach 3% (yellow), 5% (orange) and 10% (red) of the total request time.

If a given document call has sub-calls:

  • the ... times indicate the time spent in the call (between sub-calls)
  • the (end) time gives two timings:
    1. the first is the time spent in the call not including sub-calls
    2. the second time is the total time of the call including sub-calls

Note

All profiling information is lost when either:

  1. Zope is restarted, or
  2. the Call Profiler product's code is re-loaded.

Also, don't leave the profiler on for too long - it uses a boundless memory-based store for the timing values. It will use up all your memory eventually (though we haven't done any testing to determine how long that might be).

by Alexander Limi last modified June 11, 2006 - 00:52

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by