Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Firefox/68.0
Firefox 68
Windows
Desktop
4 years ago
Test name Executions per second
jQuery CSS function 187434.3 Ops/sec
jQuery height function 154774.4 Ops/sec
jquery inline styling 11190480.0 Ops/sec
native inline styling 11406650.0 Ops/sec
Native offsetHeight (IE8+) 8787549.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+)


;