Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0
Firefox 121
Linux
Desktop
11 months ago
Test name Executions per second
Canvas 1462050.6 Ops/sec
Offscreen 1599571.8 Ops/sec
Canvas font 3876138.0 Ops/sec
Offscreen font 388895.2 Ops/sec
Canvas textBaseline 57188020.0 Ops/sec
Offscreen textBaseline 55230900.0 Ops/sec
Canvas textAlign 54433180.0 Ops/sec
Offscreen textAlign 53056672.0 Ops/sec
Script Preparation code:
Tests:
  • Canvas

  • Offscreen

  • Canvas font

  • Offscreen font

  • Canvas textBaseline

  • Offscreen textBaseline

  • Canvas textAlign

  • Offscreen textAlign