Run details:
Mozilla/5.0 (iPad; CPU OS 12_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/77.0.3865.69 Mobile/15E148 Safari/605.1
Chrome Mobile iOS 77
iOS 12.3
Tablet
5 years ago
Test name Executions per second
jQuery.css 295965.8 Ops/sec
getComputedStyle() 1278933.2 Ops/sec
getStyle() 861644.5 Ops/sec
getStyle2() 1478613.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()