-
Notifications
You must be signed in to change notification settings - Fork 0
/
perf how
28 lines (18 loc) · 792 Bytes
/
perf how
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
1. minimum free time between digest cycles - allows HTML and CSS to process - perf === 50-100 is required
2. n digest cycles per sec - digest rate
3. group digest cycles for digest debounce time - shows continuous max n digest involvement - can be huge perf effect
4. show digest group
5. watchers group by exp with time
6. ngIf, ngClass, ngStyle, ngShow, ngRepeat - perf effect
7. browser event involvement in digest group
8. directive perf effect
9. create views without affecting actual data - clone data and process
10. so many watches can cause perf issues
11. expensive watches - causing dom time, or big digest group
12. create observers
Highlights Digest :
digest rate : n fps
longest: ms
avg : ms
allowed longest dom time: ms
dom update rate: fps