Project: project framework Angular5.0.0, scaffolding: Angular-CLI 1.5.0 NG-ZORRO UI framework: 0.6.x.
personal computer: i5, 8g, 256g solid state
< H2 > 2. Detailed description < / H2 >(1) after the deployment of the project, visit the project in the browser and view the task manager. The browser (Google,Firefox,ie,edge) CPU occupies a high percentage (about 30%). Only visiting this project will have these problems. Accessing other pages is normal. The GoogleCPU occupies high but the operation is basically smooth. Firefox, ie, and Edge stutter are serious.
(2) I have also found some information on the Internet and discussed it with colleagues. I guess that the page is complex and there are too many logical processes, but these processes should only be called when the data is loaded, but after the data page is rendered, the browser CPU usage is still very high. When you switch to another tab, CPU falls down, switches to the tab of the project, and CUP immediately soars.
I would like to ask all the great gods and seniors to help analyze the reasons. Thank you very much!