initializing canvas contexts

Benchmark created on


Preparation HTML

<script>
  var canvas = document.createElement('canvas');
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
webgl
webgl = canvas.getContext("experimental-webgl")
ready
canvas2d
canvas2d = canvas.getContext("2d")
ready

Revisions

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