1. Pypy
  2. Untitled project
  3. pypy


Armin Rigo  committed cc138b9

Add a comment to help migration away from jitprof.py.
Note that this might be a temporary way. Please fix
the comment if you add another solution.

  • Participants
  • Parent commits 8f59c5b
  • Branches default

Comments (0)

Files changed (1)

File pypy/jit/metainterp/jitprof.py

View file
  • Ignore whitespace
     def start_backend(self):   self._start(BACKEND)
     def end_backend(self):     self._end  (BACKEND)
+    # Don't record times for 'running' and 'blackhole' because there are
+    # too many of them: calling time.time() is a major blocker.
+    # If you are interested in these numbers, use 'PYPYLOG=file' and
+    # look at the resulting file with pypy/tool/logparser.py.
     def start_running(self): self.count(RUNNING)
     def end_running(self):   pass