Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15
Safari 15
Mac OS X 10.15.7
Desktop
3 years ago
Test name Executions per second
jQuery CSS function 373198.6 Ops/sec
jQuery height function 275543.9 Ops/sec
jquery inline styling 5968421.0 Ops/sec
native inline styling 5883466.5 Ops/sec
Native offsetHeight (IE8+) 5435299.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+)


;