Run details:
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
Android
Mobile
2 months ago
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
HTML Preparation code:
Script Preparation code:
Tests:
  • var(unitless) + calc() + %

  • var(%) + calc()

  • Percentage

  • var(unitless) + calc() + px

  • px

  • var(px) + calc()