Recover performance by disabling debug

With profiling, this goes from 20 to 6 seconds. Without profiling, I've
seen something like from 6 to 2 seconds.

Feel free to reenable this code if you figure out how to make it cheap.