v1
- by stevejay 8/23/202000
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
$sourceCanvas = document.createElement("canvas");
$sourceCanvas.width = 300;
$sourceCanvas.height = 300;
$sourceContext = $sourceCanvas.getContext("2d");

$destCanvas = document.createElement("canvas");
$destCanvas.width = 3000;
$destCanvas.height = 3000;
$destContext = $destCanvas.getContext("2d");
delete caserun single casemove downdrag and drop case


ready



$destContext.drawImage($sourceCanvas, 0, 0, 300, 300, 0, 0, 300, 300);
// Force the drawImage call to be evaluated within this benchmark code:
$destContext.getImageData(0, 0, 1, 1);

delete caserun single casemove upmove downdrag and drop case


ready



$destContext.drawImage($sourceCanvas, 0, 0, 300, 300, 0, 0, 900, 900);
// Force the drawImage call to be evaluated within this benchmark code:
$destContext.getImageData(0, 0, 1, 1);
delete caserun single casemove updrag and drop case


ready



$destContext.drawImage($sourceCanvas, 0, 0, 300, 300, 0, 0, 3000, 3000);
// Force the drawImage call to be evaluated within this benchmark code:
$destContext.getImageData(0, 0, 1, 1);
Test Case - click to add another test case
Teardown JS - click to add teardown JavaScript
Output (DOM) - click to monitor output (DOM) while test is running
RUN