How can I optimize a HTML5 + processing.js app?
I'm working in a HTML5 copy of a NES game (link for reference). It runs very well on my Macbook, but friends are reporting it is slow on their computers. I've done the optimizations that came to my mind, such as using a quadtree to select which objects to draw. Yet it seems like it's not enough and I just don't know where to work. How can I identify which specific parts of my app are causing the slowdowns?
For a real-time app like a game, I think Google Chrome Speed tracer would work very well.