Run details:
Mozilla/5.0 (Android 13; Mobile; rv:109.0) Gecko/111.0 Firefox/111.0
Firefox Mobile 111
Android
Mobile
one year ago
Test name Executions per second
style.setProperty 4.3 Ops/sec
style.cssText 12.7 Ops/sec
style 11.3 Ops/sec
Object.assign 4.1 Ops/sec
setAttribute 215.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • style.setProperty

  • style.cssText

  • style

  • Object.assign

  • setAttribute


;