-
Notifications
You must be signed in to change notification settings - Fork 1
Performance optimization
Dmitriy Korol edited this page Mar 7, 2019
·
5 revisions
Freezing the page. Glitching during scrolling.
- Run debug tool - Performance
- Do performance audit (try performance 6x slowdown)
- Analyse where fps is slowdown
- Reduce js exec time | avoid reflow/repaint
- Analyse layout tab
- Find elements that located out of screen | check hierarchy | reduce elements that are triggered on scroll events (special option in tab)
- Check changeDetection
- Check viewRef creation/deletion
- Check how many handlers
QA:
- How browser apply styles. When javascript is run?
- How browser clean up unnecessary variables? What is memory leaks?