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 1128027.6 Ops/sec
Offscreen 1055416.6 Ops/sec
Canvas font 2842403.0 Ops/sec
Offscreen font 9321072.0 Ops/sec
Canvas textBaseline 7987495.0 Ops/sec
Offscreen textBaseline 8229772.0 Ops/sec
Canvas textAlign 8148201.0 Ops/sec
Offscreen textAlign 8413004.0 Ops/sec
Script Preparation code:
Tests:
  • Canvas

  • Offscreen

  • Canvas font

  • Offscreen font

  • Canvas textBaseline

  • Offscreen textBaseline

  • Canvas textAlign

  • Offscreen textAlign