Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.68 Safari/537.36
Chrome 84
Mac OS X 10.14.5
Desktop
4 years ago
Test name Executions per second
jQuery CSS function 42769.3 Ops/sec
jQuery height function 33293.2 Ops/sec
jquery inline styling 3202416.0 Ops/sec
native inline styling 3471492.8 Ops/sec
Native offsetHeight (IE8+) 622094.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery CSS function

  • jQuery height function

  • jquery inline styling

  • native inline styling

  • Native offsetHeight (IE8+)


;