1. Pypy
  2. Untitled project
  3. jitviewer


jitviewer / README

Alex Gaynor 00b46ab 
Maciej Fijalkows… 4454f7c 

Anders Lehmann ea8a654 

Alex Gaynor 00b46ab 
Maciej Fijalkows… b91ae3c 
Alex Gaynor 00b46ab 

Maciej Fijalkows… 5340305 

Alex Gaynor 7b3850b 

Maciej Fijalkows… 6548b39 
Alex Gaynor 00b46ab 

Alex Gaynor 3b9994e 
Maciej Fijalkows… 6548b39 
Alex Gaynor 3b9994e 

Maciej Fijalkows… 6548b39 
You need to use PyPy to run this.  To get started, using a recent virtualenv
(1.6.1 or newer), virtualenvwrapper, and a recent PyPy.

PyPy versions correspond to jitviewer tags, so pypy-1.9 tag in jitviewer
means it works with pypy 1.9.

On Mac OSX you will also need to install binutils, to make objdump available.

To create a virtualenv:

    mkvirtualenv --python=/path/to/pypy pypy-viewer

Now install the dependencies:

    pip install flask pygments simplejson


    python setup.py develop

It also requires pypy to be importable (as in source code), you can do this
by setting your ``PYTHONPATH`` enviromental variable.

Finally, run it:

    jitviewer.py log.pypylog

where log.pypylog is a logfile generated by
PYPYLOG=jit-log-opt,jit-backend:log.pypylog pypy <args>.
An example log file comes with a checkout.