HTML Preparation code:
Script Preparation code:
Tests:
  • var(unitless) + calc() + %

  • var(%)

  • Percentage

  • var(unitless) + calc() + px

  • px

  • var(px)

  • var(px) + calc()

  • var(%) + calc()

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    var(unitless) + calc() + %
    var(%)
    Percentage
    var(unitless) + calc() + px
    px
    var(px)
    var(px) + calc()
    var(%) + calc()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Chrome 118 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
var(unitless) + calc() + % 452.4 Ops/sec
var(%) 557.3 Ops/sec
Percentage 604.7 Ops/sec
var(unitless) + calc() + px 441.2 Ops/sec
px 594.9 Ops/sec
var(px) 529.2 Ops/sec
var(px) + calc() 461.4 Ops/sec
var(%) + calc() 469.4 Ops/sec