Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115
Windows 8.1
Desktop
2 months ago
Test name Executions per second
calc() * 2 303.7 Ops/sec
calc() * 0.5 304.9 Ops/sec
calc() * -0.5 298.0 Ops/sec
calc() / 2 306.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • calc() * 2

  • calc() * 0.5

  • calc() * -0.5

  • calc() / 2