Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Mobile Safari/537.36
Chrome Mobile 115
Android
Mobile
one year ago
Test name Executions per second
Canvas 275451.6 Ops/sec
Offscreen 187880.5 Ops/sec
Canvas font 1574414.0 Ops/sec
Offscreen font 4245586.0 Ops/sec
Canvas textBaseline 3826086.2 Ops/sec
Offscreen textBaseline 3756037.5 Ops/sec
Canvas textAlign 3837658.5 Ops/sec
Offscreen textAlign 3805560.8 Ops/sec
Script Preparation code:
Tests:
  • Canvas

  • Offscreen

  • Canvas font

  • Offscreen font

  • Canvas textBaseline

  • Offscreen textBaseline

  • Canvas textAlign

  • Offscreen textAlign