4 ms·
Well, it's a 700k interpreter and runtime. It isn't slow for simple things, but only because JS is really fast now. Interpreters are usually 5 to 10 times slowe
by ynniv 14y ago
Well, it's a 700k interpreter and runtime. It isn't slow for simple things, but only because JS is really fast now. Interpreters are usually 5 to 10 times slower than whatever they are running in.
http://hashcollision.org/whalesong/examples/raphael-demo/raphael-demo.html http://hashcollision.org/whalesong/examples/raphael-demo/rap... isn't bad
http://hashcollision.org/whalesong/examples/boid/boid.html http://hashcollision.org/whalesong/examples/boid/boid.html is a little slow compared to http://graphics.cs.wisc.edu/Courses/Games12/Tutorial1/Phase13/ http://graphics.cs.wisc.edu/Courses/Games12/Tutorial1/Phase1...
Some of the low framerate could be frame timing (whalesong could be using setTimeout poorly), but they seem to use about the same CPU.
- batgaijin 14y agoHuh, didn't know that. For some reason I thought it compiled to JS.