HTML Preparation code:
AخA
 
1
<div id="test"></div>
Script Preparation code:
 
globalThis.test = document.getElementById('test')
Tests:
  • 1

    x
     
    let i = 1000
    while (i -= 1) {
      test.style.setProperty('color', 'red')
    }
  • 2

     
    let i = 1000
    while (i -= 1) {
      test.style.cssText = 'color: red'
    }
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    1
    2

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36
Chrome 88 on Windows
View result in a separate tab
Test name Executions per second
1 867.1 Ops/sec
2 152.6 Ops/sec