Compare performance of Bootstrap 4 and 5 grid
Setup
- ~2000 lines of HTML each
- "easy" DOM: h1, a .row and 3 .col, many ul + li nodes with random data
- Show results using PerformanceNavigationTiming interface "domInteractive" property
Measurement results
10 runs for each grid, tested locally, Chrome 79
v4
- 51
- 52
- 52
- 53
- 54
- 51
- 52
- 54
- 51
- 52
Median: 52.2ms
v5
- 51
- 51
- 51
- 49
- 55
- 53
- 52
- 54
- 51
- 50
Median: 51.7ms