Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36
Chrome 91
Mac OS X 10.15.7
Desktop
3 years ago
Test name Executions per second
Canvas 620834.8 Ops/sec
Offscreen 583167.1 Ops/sec
Canvas font 2688699.5 Ops/sec
Offscreen font 9762945.0 Ops/sec
Canvas textBaseline 7426274.0 Ops/sec
Offscreen textBaseline 7424417.0 Ops/sec
Canvas textAlign 7689040.0 Ops/sec
Offscreen textAlign 7821001.5 Ops/sec
Script Preparation code:
Tests:
  • Canvas

  • Offscreen

  • Canvas font

  • Offscreen font

  • Canvas textBaseline

  • Offscreen textBaseline

  • Canvas textAlign

  • Offscreen textAlign


;