Run details:
Mozilla/5.0 (Linux; Android 11; Pixel 4a) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.166 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
3 years ago
Test name Executions per second
jQuery CSS function 36591.5 Ops/sec
jQuery height function 31200.4 Ops/sec
jquery inline styling 1695144.9 Ops/sec
native inline styling 1677227.6 Ops/sec
Native offsetHeight (IE8+) 145654.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery CSS function

  • jQuery height function

  • jquery inline styling

  • native inline styling

  • Native offsetHeight (IE8+)


;