23. “The browser reacts to CSS properties changes. They don’t always require the
same amount of work on layout, painting and compositing thus choosing different
kind of changes impacts on rendering performance.”
~ Chris Coyer
24. How I measured page performance
Chrome Developer Tool & others
32. No CPU
High end
Low end
AVERAGE
TOTAL AVERAGE in ms
6) CSS3 Columns
824,45 289,625 592,275
1647,225 952,45 1057,125
4367,425 1570,575 1736,575
2.279,70 937,55 1.128,66
1448,636111
33. No CPU
High end
Low end
AVERAGE
TOTAL AVERAGE in ms
5) Div display:table
625,225 186,3 477,175
1262,525 359,3 875,3
3255,775 880,5 1347,475
1.714,51 475,37 899,98
1029,952778
34. No CPU
High end
Low end
AVERAGE
TOTAL AVERAGE in ms
4) CSS3 Grid
490,45 194,3 443,6
1124,6 357,925 823,175
2731,525 845,875 1334,6
1.448,86 466,03 867,13
927,3388889
35. No CPU
High end
Low end
AVERAGE
TOTAL AVERAGE in ms
3) Div floated
503,1 207,15 420,325
1099,15 362,675 864,575
2571,15 832,825 1382,975
1.391,13 467,55 889,29
915,9916667
36. No CPU
High end
Low end
AVERAGE
TOTAL AVERAGE in ms
2) Table
521,95 160,4 408,875
1053 306,975 727,25
2605,175 769,675 1188,2
1.393,38 412,35 774,78
860,1666667
37. No CPU
High end
Low end
AVERAGE
TOTAL AVERAGE in ms
1) CSS3 Flexbox
441 164 400,575
812,6 303,175 760,825
2495,275 741,825 1165,775
1.249,63 403,00 775,73
809,45
38. Challenge # 2 - Performance - WRAPPING UP
Table Div display:table Div floated
CSS3 Flexbox CSS3 Grid CSS3 Columns
48. Thanks for listening
and to
Fabio Gollinucci for suggesting testing tools and helping testing
Irene Iaccio, Federica Villata and Antonio Carboni for the inspiration
Alessandro Ronchi for mentoring
and
Bitbull and From the Front community for support encouraging