Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0
Firefox 84
Mac OS X 10.16
Desktop
3 years ago
Test name Executions per second
jQuery CSS function 247004.0 Ops/sec
jQuery height function 185234.8 Ops/sec
jquery inline styling 15457071.0 Ops/sec
native inline styling 17026886.0 Ops/sec
Native offsetHeight (IE8+) 11812012.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+)


;