Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0
Firefox 97
Windows
Desktop
2 years ago
Test name Executions per second
jQuery CSS function 289587.7 Ops/sec
jQuery height function 222336.0 Ops/sec
jquery inline styling 15681216.0 Ops/sec
native inline styling 17413546.0 Ops/sec
Native offsetHeight (IE8+) 9992983.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery CSS function

  • jQuery height function

  • jquery inline styling

  • native inline styling

  • Native offsetHeight (IE8+)


;