canvasclear
JavaScript performance comparison
Preparation code
<canvas id="canvas1" width="500" height="500"></canvas>
<script>
var can = document.getElementById('canvas1');
var ctx = can.getContext('2d');
</script>
Preparation code output
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
| Test | Ops/sec | |
|---|---|---|
setting width |
|
pending… |
clearing non-transformed canvas |
|
pending… |
clearing transformed canvas |
|
pending… |
Compare results of other browsers
Revisions
You can edit these tests or add even more tests to this page by appending /edit to the URL. Here’s a list of current revisions for this page:
- Revision 1: published by Simon
- Revision 3: published
- Revision 5: published by Simon
- Revision 6: published by Bill Baxter
- Revision 7: published by Simon
- Revision 8: published
0 comments