Re:Firefox 4.0 Beta 7 - Super fluid, beats everyone on sunsp...
by devinj on Thursday November 11, 2010 @03:37AM
(#1893304)
V8 JIT-compiles regular expressions. I don't know what C/C++ do -- I'd assume they run the state machine directly, but maybe they do compile it further like V8 does.
http://blog.chromium.org/2009/02/irregexp-google-chromes-new...
Here are the results: http://shootout.alioth.debian.org/u32/performance.php?test=r...
Also worth noting that TraceMonkey isn't too far behind. Does anyone know why the JS engines, especially V8, are performing so well on this test?
P.S. Here's how V8/TraceMonkey stack up for all the tests: http://shootout.alioth.debian.org/u32/which-programming-lang...