Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36
Chrome 88
Linux
Desktop
3 years ago
Test name Executions per second
jQuery CSS function 116621.3 Ops/sec
jQuery height function 97300.1 Ops/sec
jquery inline styling 5567114.0 Ops/sec
native inline styling 5718445.5 Ops/sec
Native offsetHeight (IE8+) 680994.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+)


;