News for hackers. Stuff that matters.
Re:Introducing Play 2.0 by Uchikoma on Wednesday September 07, 2011 @07:47AM (#2969191)
Although exceptions have become faster, and you can speed them up (overwrite stack generation code), they are slow mostly due to filling the stack trace. Mostly based on this:

http://www.javaspecialists.eu/archive/Issue187.html

Re:Introducing Play 2.0 by axiak on Wednesday September 07, 2011 @08:01AM (#2969211)
That article mentions that the performance is dependent on the fillInStackTrace() method, which play framework overrides to do nothing.
Re:Introducing Play 2.0 by rkalla on Wednesday September 07, 2011 @01:44PM (#2970534)
Was not familiar with this method, appreciate the heads up guys. Did some quick micro benchmarks and it looks like I got an 11.5x speedup in some code that was using Exceptions for flow control.