Run details:
Mozilla/5.0 (Linux; Android 6.0.1; LG-H850 Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.158 Mobile Safari/537.36
Chrome Mobile 66
Android 6.0.1
Mobile
6 years ago
Test name Executions per second
jQuery.css 43349.0 Ops/sec
getComputedStyle() 85611.5 Ops/sec
getStyle() 185429.0 Ops/sec
getStyle2() 94738.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()