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?
source share