Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:67.0) Gecko/20100101 Firefox/67.0
Firefox 67
Mac OS X 10.12
Desktop
5 years ago
Test name Executions per second
Direct draw 1.4 Ops/sec
New path 605.2 Ops/sec
Cached path 0.6 Ops/sec
Direct with beginpath 883.2 Ops/sec
Direct fillrect 1698.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Direct draw

  • New path

  • Cached path

  • Direct with beginpath

  • Direct fillrect