Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:92.0) Gecko/20100101 Firefox/92.0
Firefox 92
Mac OS X 10.15
Desktop
3 years ago
Test name Executions per second
jQuery CSS function 205707.2 Ops/sec
jQuery height function 163627.4 Ops/sec
jquery inline styling 12904170.0 Ops/sec
native inline styling 15498846.0 Ops/sec
Native offsetHeight (IE8+) 9879566.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+)


;