Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36
Chrome 90
Mac OS X 10.13.4
Desktop
3 years ago
Test name Executions per second
jQuery CSS function 98213.5 Ops/sec
jQuery height function 82969.0 Ops/sec
jquery inline styling 5617871.0 Ops/sec
native inline styling 5580051.5 Ops/sec
Native offsetHeight (IE8+) 588953.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery CSS function

  • jQuery height function

  • jquery inline styling

  • native inline styling

  • Native offsetHeight (IE8+)


;