Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
Firefox 68
Linux
Desktop
4 years ago
Test name Executions per second
Direct draw 4.5 Ops/sec
New path 4547.7 Ops/sec
Cached path 1.8 Ops/sec
Direct with beginpath 5802.4 Ops/sec
Direct fillrect 8548.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Direct draw

  • New path

  • Cached path

  • Direct with beginpath

  • Direct fillrect