Run details:
Mozilla/5.0 (iPad; CPU OS 14_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/86.0.4240.93 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 86
iOS 14.1
Tablet
4 years ago
Test name Executions per second
jQuery.css 825155.5 Ops/sec
getComputedStyle() 2406095.8 Ops/sec
getStyle() 1659787.8 Ops/sec
getStyle2() 2731347.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()