Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0
Firefox 107
Ubuntu
Desktop
one year ago
Test name Executions per second
jQuery CSS function 349870.1 Ops/sec
jQuery height function 279837.6 Ops/sec
jquery inline styling 17977656.0 Ops/sec
native inline styling 20330076.0 Ops/sec
Native offsetHeight (IE8+) 12087716.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+)


;