Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36
Chrome 47
Windows 7
Desktop
5 years ago
Test name Executions per second
jQuery CSS function 80189.7 Ops/sec
jQuery height function 70089.4 Ops/sec
jquery inline styling 1990917.6 Ops/sec
native inline styling 1988176.0 Ops/sec
Native offsetHeight (IE8+) 2920375.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+)


;