Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/109.0
Firefox 109
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Canvas 2102980.2 Ops/sec
Offscreen 2259730.8 Ops/sec
Canvas font 249040.7 Ops/sec
Offscreen font 935954.2 Ops/sec
Canvas textBaseline 47429688.0 Ops/sec
Offscreen textBaseline 47381496.0 Ops/sec
Canvas textAlign 41864344.0 Ops/sec
Offscreen textAlign 42001616.0 Ops/sec
Script Preparation code:
Tests:
  • Canvas

  • Offscreen

  • Canvas font

  • Offscreen font

  • Canvas textBaseline

  • Offscreen textBaseline

  • Canvas textAlign

  • Offscreen textAlign