You are not logged in Log in Join
You are here: Home » Members » richard

Log in
Name

Password

 

richard

Up one level

 Title   Type   Size   Last Modified   Description 
Call Profiler - profile your Zope website Software Package   2002-08-20

The CallProfiler is being integrated into Zope 2.6. Once 2.6 has been out for a while, I will disable the download on this page.

CallProfiler monitors the chain of DTML, ZSQL, ZPT, PythonMethod, PythonScript, etc. calls in a Zope request and gather timing information, for the purpose of identifying hot-spots for potential optimisation.

This works in Python 2.1.1 and Zope 2.4.3. I know there's Python 2-isms in here that make it not work under 1.5.2, and there's reports that it doesn't work under Zope 2.3 or 2.5. I don't have access to other Zope environments (or time) but I'll accept patches...

Some screenshots are available of version 1.4:

  1. Fresh installation
  2. All possible calls being monitored
  3. Table of results (using a dummy test DTML Method and Py Script)
  4. Detail of one of the sessions (note that there's a lot of colour in this because there's not many calls)
  5. Results by URL
  6. Table of aggregated results
  7. Detail of an aggregated result

Note that because the example page being used in these screenshots is so simple, some of the additional features are not shown ... like culling of "uninteresting" processing steps (time spent in a call that takes less than 0.5% of the total processing time - this doesn't remove actual calls though) and indication of repetition of calls with "(3rd call)".

ReStructuredText Document for Zope Software Package   2003-04-11

Note: this product is being rolled into Zope 2.7!

This product has been superseded by the much better reStructuredText product by Andreas Jung.

Docments Folder   2002-06-25  
public_key File 1 K 2002-02-20  
QA Testing Software Package   2001-05-15

This is the first, unsupported release of our internal QA testing system. Note, it's not a real product yet, just a snapshot of some DTML and SQL methods. It will be a product eventually...

To make it go:

  1. import the zexp into the Zope Root Folder (or somewhere else more convenient),
  2. create a directory in Zope instance var/gadfly for the database,
  3. set the correct name (the same as the directory you just created) in the test_db gadfly connection, and
  4. use the db_create_sql method to create the database.

To start using the system, click on the list all tests link on the front page. It should be empty :) Now click on add a test. The fields there are:

Number: used to order and group tests. Components have 100-test blocks.
Component: some brief description of the component/sub-component being tested
Test name: a brief description of the actual test being performed
Description: the test itself
Expected outcome: the expected outcome of the test
... once you've got some tests in, click on the first test's name in the "list all tests". This will begin the test process. Perform the test and note any deviations from the expected outcome. If the outcome is correct, but some other issue comes up (say, with usability) then enter the issue in the design issue box. Now click "register and do next test" to move on.

Once outcomes are registered, you may follow the list all current issues link on the front page. Clicking on the test name brings us back to the test page with the current outcome at the top. A history of all outcomes will be displayed at the bottom. If the outcome has been fixed, then clicking on the [fixed] link on either the test page or the list all current issues will register it as fixed.

If you find that an outcome requires a comment, simply click the [edit] link and add a comment. Note that it's possible to "unfix" an outcome using this link.

Zope Controller GUI Folder   2001-10-16  
Zope for Mac OS X Software Package   2002-02-28

this package is no longer maintained due to a lack of resources

Uses ZSQL to store session data instead of the ZODB Software Package   2005-04-14

Requirements A postgres database connection in your Zope (eg. ZPsycopgDA)

Installation 1. Copy the ZSQLSessionDataManager folder to a Products directory. 2. Restart Zope. 3. Once loaded, add a "Session Data Manager (ZSQL)" which uses your database connection.

Maintenance You may wish to clear out the session table sometimes. The management page will let you do this. Alternatively, poke directly at the table and use the "lastmod" column to determine age.

Please don't bug me for additional features.