Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0
Firefox 71
Mac OS X 10.15
Desktop
5 years ago
Test name Executions per second
Direct draw 4.4 Ops/sec
New path 4078.2 Ops/sec
Cached path 1.7 Ops/sec
Direct with beginpath 5782.9 Ops/sec
Direct fillrect 9249.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Direct draw

  • New path

  • Cached path

  • Direct with beginpath

  • Direct fillrect