[pypy-dev] [pypy-svn] r79382 - pypy/trunk/pypy/config

Antonio Cuni anto.cuni at gmail.com
Tue Nov 23 08:31:36 CET 2010


On 23/11/10 08:18, fijal at codespeak.net wrote:
> Author: fijal
> Date: Tue Nov 23 08:18:57 2010
> New Revision: 79382
>
> Modified:
>     pypy/trunk/pypy/config/translationoption.py
> Log:
> Disable jit debugging by default
>
>
> Modified: pypy/trunk/pypy/config/translationoption.py
> ==============================================================================
> --- pypy/trunk/pypy/config/translationoption.py	(original)
> +++ pypy/trunk/pypy/config/translationoption.py	Tue Nov 23 08:18:57 2010
> @@ -115,7 +115,7 @@
>                    default="auto", cmdline="--jit-backend"),
>       ChoiceOption("jit_debug", "the amount of debugging dumps made by the JIT",
>                    ["off", "profile", "steps", "detailed"],
> -                 default="profile",      # XXX for now
> +                 default="off",
>                    cmdline="--jit-debug"),
>       ChoiceOption("jit_profiler", "integrate profiler support into the JIT",
>                    ["off", "oprofile"],

Not sure it's a good idea. It's useful to see the statistics at the end of the 
run.  I know that you can turn it on explicitly, but it's easy to forget.

What about having an env variable that automatically turns jit debug on?

ciao,
Anto



More information about the Pypy-dev mailing list