[pypy-svn] jitviewer default: add a quick help on how to produce the logfile

antocuni commits-noreply at bitbucket.org
Mon Mar 7 15:51:26 CET 2011


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: 
Changeset: r100:76c5b061fe29
Date: 2011-03-07 15:51 +0100
http://bitbucket.org/pypy/jitviewer/changeset/76c5b061fe29/

Log:	add a quick help on how to produce the logfile

diff --git a/bin/jitviewer.py b/bin/jitviewer.py
--- a/bin/jitviewer.py
+++ b/bin/jitviewer.py
@@ -1,11 +1,14 @@
 #!/usr/bin/env pypy-c
 """ A web-based browser of your log files. Run by
 
-jitviewer.py <path to your log file> [port]
+    jitviewer.py <path to your log file> [port]
 
 and point your browser to http://localhost:5000
+Demo logfile available in this directory as 'log'.
 
-Demo logfile available in this directory as 'log'.
+To produce the logfile for your program, run:
+
+    PYPYLOG=jit-log-opt:mylogfile.log pypy-c myapp.py
 """
 
 import sys


More information about the Pypy-commit mailing list