Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15
Safari 13
Mac OS X 10.14.6
Desktop
4 years ago
Test name Executions per second
Stroke Path2d(); 2669.7 Ops/sec
drawImage(svg); 2506.3 Ops/sec
drawImage(svg); with all parameters 2506.7 Ops/sec
drawImage(svg); with some parameters 2450.4 Ops/sec
Multi stroke Path2d(); 2501.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Stroke Path2d();

  • drawImage(svg);

  • drawImage(svg); with all parameters

  • drawImage(svg); with some parameters

  • Multi stroke Path2d();


;