Chrome seems to compile before it runs it. Only Firefox takes some lines before it runs it as fast as Chrome. Now I wonder why it takes so long to do the JIT? I always thought that JIT compiles with every execution...
As I understand it there's a "baseline" compilation, then after n calls it's specialized according to the types/values seen.