Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36
Chrome 96
Linux
Desktop
2 years ago
Test name Executions per second
jQuery CSS function 175595.2 Ops/sec
jQuery height function 147709.8 Ops/sec
jquery inline styling 8034713.5 Ops/sec
native inline styling 8255250.5 Ops/sec
Native offsetHeight (IE8+) 501189.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery CSS function

  • jQuery height function

  • jquery inline styling

  • native inline styling

  • Native offsetHeight (IE8+)


;