[Subversion] / PEAK / src / peak / peak.ini  

Revision 1562


Jump to revision:
Previous Next
Author: pje
Date: Wed Dec 24 22:44:15 2003 UTC (20 years, 4 months ago)

Log Message:

Partial implementation of the performance timer system described at:

  http://www.eby-sarna.com/pipermail/peak/2003-December/001020.html

It's missing the 'addListener()' function for the timer service, so you
can only add listeners directly to individual timers.  The actual
interfaces are also a bit different than what was originally proposed.
An exhaustive test suite is included, covering all of the implemented
behavior.  This draft implementation will probably get moved to Pyrex,
at least to create a a Timer base class with fast-path execution for
frequently called methods.  The goal is to have timer invocation be so
fast that leaving timers in production code isn't an issue.

(TODO: 'addListener()' for keys/wildcards, 'timer:' URL scheme, and
Pyrex port of Timer base.)

Changed paths:

Path Action Text Changes Prop Changes Diff to Previous
PEAK/src/peak/peak.ini modified X   (diff to previous)
PEAK/src/peak/running/tests/__init__.py modified X   (diff to previous)
PEAK/src/peak/running/tests/test_timers.py added X X  
PEAK/src/peak/running/timers.py added X X  

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help