|
[Webware-checkins] r8047 - Webware/trunk/WebKit
From: <updates@we...> - 2009-08-02 13:08
|
Author: chrisz Date: Sun Aug 2 07:07:54 2009 New Revision: 8047 Modified: Webware/trunk/WebKit/AppServerService.py Webware/trunk/WebKit/Profiler.py Log: Make clear that runProfile is boolean. Modified: Webware/trunk/WebKit/AppServerService.py ============================================================================== --- Webware/trunk/WebKit/AppServerService.py (original) +++ Webware/trunk/WebKit/AppServerService.py Sun Aug 2 07:07:54 2009 @@ -77,9 +77,9 @@ # that you want to include into the search path for modules: libraryDirs = [] -# To get profiling going, set runProfile = 1 (see also +# To get profiling going, set runProfile = True (see also # the description in the docstring of Profiler.py): -runProfile = 0 +runProfile = False # The path to the log file, if you want to redirect the # standard output and standard error to a log file: Modified: Webware/trunk/WebKit/Profiler.py ============================================================================== --- Webware/trunk/WebKit/Profiler.py (original) +++ Webware/trunk/WebKit/Profiler.py Sun Aug 2 07:07:54 2009 @@ -3,8 +3,8 @@ Stores some values related to performance. These are usually set by Launch.py or AppServer.py. -To get profiling going, locate the "runProfile = 0" line towards the top -of WebKit/Launch.py and change the "0" to a "1", or start the Launch.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: |
| Thread | Author | Date |
|---|---|---|
| [Webware-checkins] r8047 - Webware/trunk/WebKit | <updates@we...> |