Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (22 sloc) 937 Bytes

JIT Compiler Logs

JitLog is a PyPy logging facility that outputs information about compiler internals. It was built primarily for the following use cases:

  • Understand JIT internals and be able to browse emitted code (both IR operations and machine code)
  • Track down speed issues
  • Help bug reporting

This version is now integrated within the webservice and can be used free of charge.


The following commands show example usages:

# upload both vmprof & jitlog profiles
pypy -m vmprof --web --jitlog <> <arguments>

# upload only a jitlog profile
pypy -m jitlog --web <> <arguments>

# upload a jitlog when your program segfaults/crashes
$ pypy -m jitlog -o /tmp/file.log <> <arguments>
$ pypy -m jitlog --upload /tmp/file.log