Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Mobile Safari/537.36
Chrome Mobile 129
Android
Mobile
2 months ago
Test name Executions per second
Canvas 436405.9 Ops/sec
Offscreen 114856.2 Ops/sec
Canvas font 1248799.4 Ops/sec
Offscreen font 6120380.0 Ops/sec
Canvas textBaseline 6494780.0 Ops/sec
Offscreen textBaseline 6617614.0 Ops/sec
Canvas textAlign 7049080.5 Ops/sec
Offscreen textAlign 6839197.5 Ops/sec
Script Preparation code:
Tests:
  • Canvas

  • Offscreen

  • Canvas font

  • Offscreen font

  • Canvas textBaseline

  • Offscreen textBaseline

  • Canvas textAlign

  • Offscreen textAlign