Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36 Edg/83.0.478.58
Chrome 83
Windows
Desktop
4 years ago
Test name Executions per second
jQuery CSS function 119974.4 Ops/sec
jQuery height function 102629.3 Ops/sec
jquery inline styling 5563465.0 Ops/sec
native inline styling 5736147.0 Ops/sec
Native offsetHeight (IE8+) 1380366.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery CSS function

  • jQuery height function

  • jquery inline styling

  • native inline styling

  • Native offsetHeight (IE8+)


;