Did I find the right examples for you? yes no

All Samples(31)  |  Call(0)  |  Derive(0)  |  Import(31)

Stores some values related to performance.
These are usually set by Launch.py or AppServer.py.

To get profiling going, locate the "runProfile = False" line towards the top
of WebKit/Launch.py and change the "False" to "True", or start the Launch.py
script with the --run-profile option. When the app server shuts down it
will write a profiling report "profile.pstats" in the directory containing
the Launch.py script which can be quickly examined from the command line:(more...)

src/w/e/Webware-for-Python-1.1.1/WebKit/DebugAppServer.py   Webware-for-Python(Download)
import sys
import ThreadedAppServer, Profiler
# We are going to replace ThreadedAppServer with our own class,

src/w/e/Webware-for-Python-1.1.1/WebKit/AppServer.py   Webware-for-Python(Download)
from PidFile import PidFile, ProcessRunning
from ConfigurableForServerSidePath import ConfigurableForServerSidePath
import Profiler
defaultConfig = dict(