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 5.2 Ops/sec
New path 2296.2 Ops/sec
Cached path 4.3 Ops/sec
Direct with beginpath 1837.6 Ops/sec
Direct fillrect 2244.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Direct draw

  • New path

  • Cached path

  • Direct with beginpath

  • Direct fillrect