[pypy-svn] r65548 - pypy/branch/pyjitpl5-experiments/pypy/rpython

fijal at codespeak.net fijal at codespeak.net
Wed Jun 3 03:05:25 CEST 2009


Author: fijal
Date: Wed Jun  3 03:05:22 2009
New Revision: 65548

Modified:
   pypy/branch/pyjitpl5-experiments/pypy/rpython/llinterp.py
Log:
disable tracer by default, it causes a lot of problems on my computer with
startup time.


Modified: pypy/branch/pyjitpl5-experiments/pypy/rpython/llinterp.py
==============================================================================
--- pypy/branch/pyjitpl5-experiments/pypy/rpython/llinterp.py	(original)
+++ pypy/branch/pyjitpl5-experiments/pypy/rpython/llinterp.py	Wed Jun  3 03:05:22 2009
@@ -1186,6 +1186,7 @@
 class Tracer(object):
     Counter = 0
     file = None
+    TRACE = False
 
     HEADER = """<html><head>
         <script language=javascript type='text/javascript'>
@@ -1229,6 +1230,8 @@
 
     def start(self):
         # start of a dump file
+        if not self.TRACE:
+            return
         from pypy.tool.udir import udir
         n = Tracer.Counter
         Tracer.Counter += 1



More information about the Pypy-commit mailing list