Run details:
Mozilla/5.0 (Linux; Android 7.0; SC-02H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.58 Mobile Safari/537.36
Chrome Mobile 100
Android 7.0
Mobile
2 years ago
Test name Executions per second
jQuery.css 16750.3 Ops/sec
getComputedStyle() 29249.2 Ops/sec
getStyle() 98430.0 Ops/sec
getStyle2() 31248.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.css

  • getComputedStyle()

  • getStyle()

  • getStyle2()