How to explain that the CPU utilization rate is 100% at the moment the web page is opened?

problem description

when I open the web page, I use the chrome developer tool performance to check that the browser occupies 100% of CPU. Why is this related to the allocation of CPU by the Windows operating system?

as shown in the following figure, when I refresh the page, the CPU usage will reach 100%.

Jun.20,2022

originally wrote that a memory leak occurred in a browser crash condition, and the for loop failed to jump out. This JS of yours has 11.7m probably due to a large amount of code. You can try to load asynchronously separately


code problems.

Menu