Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.47
Chrome 117
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
Canvas 1754291.1 Ops/sec
Offscreen 1637693.5 Ops/sec
Canvas font 5837788.0 Ops/sec
Offscreen font 15767980.0 Ops/sec
Canvas textBaseline 14126780.0 Ops/sec
Offscreen textBaseline 13749259.0 Ops/sec
Canvas textAlign 13004936.0 Ops/sec
Offscreen textAlign 12959653.0 Ops/sec
Script Preparation code:
Tests:
  • Canvas

  • Offscreen

  • Canvas font

  • Offscreen font

  • Canvas textBaseline

  • Offscreen textBaseline

  • Canvas textAlign

  • Offscreen textAlign