HTML Preparation code:
Script Preparation code:
Tests:
  • Style by property Fixed Values

  • Style by name Fixed Values

  • setAttribute Fixed Values

  • setProperty Fixed Values

  • Style by property Single Random Value

  • Style by name Single Random Value

  • setAttribute Single Random Value

  • setProperty Single Random Value

  • Style by property All Random Values

  • Style by name All Random Values

  • setAttributey All Random Values

  • setProperty All Random Values

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Style by property Fixed Values
    Style by name Fixed Values
    setAttribute Fixed Values
    setProperty Fixed Values
    Style by property Single Random Value
    Style by name Single Random Value
    setAttribute Single Random Value
    setProperty Single Random Value
    Style by property All Random Values
    Style by name All Random Values
    setAttributey All Random Values
    setProperty All Random Values

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 5 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:65.0) Gecko/20100101 Firefox/65.0
Firefox 65 on Mac OS X 10.13
View result in a separate tab
Test name Executions per second
Style by property Fixed Values 306086.9 Ops/sec
Style by name Fixed Values 300384.0 Ops/sec
setAttribute Fixed Values 4202109.0 Ops/sec
setProperty Fixed Values 317651.8 Ops/sec
Style by property Single Random Value 382334.0 Ops/sec
Style by name Single Random Value 368277.0 Ops/sec
setAttribute Single Random Value 280518.4 Ops/sec
setProperty Single Random Value 392269.2 Ops/sec
Style by property All Random Values 238350.6 Ops/sec
Style by name All Random Values 272357.0 Ops/sec
setAttributey All Random Values 236938.0 Ops/sec
setProperty All Random Values 258566.0 Ops/sec