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

  • var(%) + calc()

  • Percentage

  • var(unitless) + calc() + px

  • px

  • var(px) + calc()

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Mobile Safari/537.36
Chrome Mobile 129 on Android
View result in a separate tab
Test name Executions per second
var(unitless) + calc() + % 684.7 Ops/sec
var(%) + calc() 824.0 Ops/sec
Percentage 877.9 Ops/sec
var(unitless) + calc() + px 689.0 Ops/sec
px 873.6 Ops/sec
var(px) + calc() 762.9 Ops/sec