Partial Re-rendering (v9)

Revision 9 of this benchmark created on


Preparation HTML

<canvas id="c" width="640" height="480">
</canvas>
<script>
  var canvas = document.getElementById('c');
  var context = canvas.getContext('2d');

  var HEIGHT = 100;
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
re-render whole scene
      context.fillStyle = "red";
      context.fillStyle = "white";
ready
only render differences
for (var i = 0; i < 500; i++) {

}
ready

Revisions

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