Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:97.0) Gecko/20100101 Firefox/97.0
Firefox 97
Mac OS X 10.14
Desktop
2 years ago
Test name Executions per second
Direct draw 4.1 Ops/sec
New path 3408.0 Ops/sec
Cached path 1.9 Ops/sec
Direct with beginpath 4625.6 Ops/sec
Direct fillrect 6810.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Direct draw

  • New path

  • Cached path

  • Direct with beginpath

  • Direct fillrect