3 ms·
This will severely degrade performance in almost every scenario. I don't recommend doing it by default, though it is a nice feature to have. Sometimes you want
by kevingadd 14y ago
This will severely degrade performance in almost every scenario. I don't recommend doing it by default, though it is a nice feature to have. Sometimes you want to be able to call console.log a few times per frame in a game without your framerate dropping into the single digits.
- cristiantincu 14y agoCalling `console.log()` in “production mode” is a bad idea, anyway. Ideally, you’ll want those calls stripped at some point, in your build script.