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.

Need Your Help

Gigya share bar facebook-like button custom title and description

facebook gigya

I am using following example from gigya site on my site

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.