Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0
Firefox 84
Ubuntu
Desktop
3 years ago
Test name Executions per second
jQuery CSS function 183040.2 Ops/sec
jQuery height function 142246.1 Ops/sec
jquery inline styling 13472179.0 Ops/sec
native inline styling 13905695.0 Ops/sec
Native offsetHeight (IE8+) 11614017.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+)


;