Schroedingers-Hat/jsphys — comment on commit d0e3a8b2532b2050bcc28940716e6138eaa7763a
File:  line 0
By Schroedingers-Hat:

The lighting could do with optimizing as we seem to be limited to about 1000-4000 vertices, but there aren't really any low hanging fruit I can spot off hand.
Some way to combine the various forms of drawTris would be nice, too. I can't think of a way to do it without branching inside very tight loops though :/
Also the JIT's decisions on how to compile the thing are rather fragile and minor changes or additions can result in orders of magnitude difference in speed. Something to do with trace compiler vs other methods.
Would be interesting to try FF9. From what I read I suspect this may be one of the cases where things will actually be a lot slower until IonMonkey comes out.