Run details:
Mozilla/5.0 (Linux; Android 5.1.1; SM-J500M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.74 Mobile Safari/537.36
Chrome Mobile 95
Android 5.1.1
Mobile
10 months ago
Test name Executions per second
style.setProperty 1.0 Ops/sec
style.cssText 1.4 Ops/sec
style 1.3 Ops/sec
Object.assign 1.1 Ops/sec
setAttribute 1.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • style.setProperty

  • style.cssText

  • style

  • Object.assign

  • setAttribute


;