Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0
Firefox 74
Windows
Desktop
4 years ago
Test name Executions per second
Direct draw 3.3 Ops/sec
New path 6296.8 Ops/sec
Cached path 1.1 Ops/sec
Direct with beginpath 7692.8 Ops/sec
Direct fillrect 11421.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Direct draw

  • New path

  • Cached path

  • Direct with beginpath

  • Direct fillrect