debugging tool
Texture Packet: processing large images, application scenarios: sprite images.
View the network
console
, interrupt
the postman call interface
White screen:
Problem:
The rendering doesn't come out. js engine stopped.
Solution:
Code error.
Stuck and stopped:
Problem:
The performance of the browser is degraded: excessive use of closure memory overflow, the page image is too large, and the loading time is too long. The timer is called frequently. No anti-shake or throttling is used.
Solution:
When the variables are no longer used, the garbage collection mechanism should be reclaimed in time to minimize closures. Image size reduced. Clarity: sprite, lazy loading and preloading. Remember to turn off without a timer