Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121
Mac OS X 10.15.7
Desktop
10 months ago
Test name Executions per second
Canvas 2189810.8 Ops/sec
Offscreen 2123010.8 Ops/sec
Canvas font 7056379.5 Ops/sec
Offscreen font 17268838.0 Ops/sec
Canvas textBaseline 14883287.0 Ops/sec
Offscreen textBaseline 14344362.0 Ops/sec
Canvas textAlign 15412419.0 Ops/sec
Offscreen textAlign 14553141.0 Ops/sec
Script Preparation code:
Tests:
  • Canvas

  • Offscreen

  • Canvas font

  • Offscreen font

  • Canvas textBaseline

  • Offscreen textBaseline

  • Canvas textAlign

  • Offscreen textAlign