Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120
Linux
Desktop
11 months ago
Test name Executions per second
Canvas 1335476.4 Ops/sec
Offscreen 1408523.6 Ops/sec
Canvas font 3337682.0 Ops/sec
Offscreen font 12994605.0 Ops/sec
Canvas textBaseline 12632950.0 Ops/sec
Offscreen textBaseline 11686176.0 Ops/sec
Canvas textAlign 12202393.0 Ops/sec
Offscreen textAlign 12585115.0 Ops/sec
Script Preparation code:
Tests:
  • Canvas

  • Offscreen

  • Canvas font

  • Offscreen font

  • Canvas textBaseline

  • Offscreen textBaseline

  • Canvas textAlign

  • Offscreen textAlign