Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0
Firefox 92
Windows
Desktop
3 years ago
Test name Executions per second
jQuery CSS function 188362.8 Ops/sec
jQuery height function 143912.9 Ops/sec
jquery inline styling 11363036.0 Ops/sec
native inline styling 11333337.0 Ops/sec
Native offsetHeight (IE8+) 7173742.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery CSS function

  • jQuery height function

  • jquery inline styling

  • native inline styling

  • Native offsetHeight (IE8+)


;