render-vs-prerender (v77)

Revision 77 of this benchmark created on


Preparation HTML

<canvas id="canvas1" width="500" height="500"></canvas>
<script>
  var can = document.getElementById('canvas1');
  var ctx = can.getContext('2d');
  
  var can2 = document.createElement('canvas');
  can2.width = 450;
  can2.height = 450;
  var ctx2 = can2.getContext('2d');
  var img = new Image();
img.src = 'http://placepuppy.it/400/300';
ctx2.drawImage(img, 0,0);
  
      
      
  
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
render
ctx.drawImage(img, 0,0);
 
ready
pre-rendered
ctx.drawImage(can2, 0, 0);
    
    
 
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.