How can I optimize an HTML5 + processing.js application?

I am working in an HTML5 copy of the NES game ( link for reference ). It works very well on my Macbook, but friends report that it is slow on computers. I did an optimization that came to my mind, for example, using a quadrant to select objects to draw. But it seems that this is not enough, and I just do not know where to work. How can I determine which specific parts of my application are slowing down?

+4
source share
1 answer

For a real-time application such as a game, I think Google Chrome Speed ​​traffic will work very well.

+1
source

Source: https://habr.com/ru/post/1480636/


All Articles