Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
Chrome 115
Windows
Desktop
one year ago
Test name Executions per second
Canvas 1124472.2 Ops/sec
Offscreen 1125331.2 Ops/sec
Canvas font 2811638.2 Ops/sec
Offscreen font 9367451.0 Ops/sec
Canvas textBaseline 8127653.5 Ops/sec
Offscreen textBaseline 8071973.5 Ops/sec
Canvas textAlign 8574899.0 Ops/sec
Offscreen textAlign 8716647.0 Ops/sec
Script Preparation code:
Tests:
  • Canvas

  • Offscreen

  • Canvas font

  • Offscreen font

  • Canvas textBaseline

  • Offscreen textBaseline

  • Canvas textAlign

  • Offscreen textAlign