canvas-blitting-full
JavaScript performance comparison
Preparation code
<script>
var c = document.createElement('canvas');
c.width = c.height = 256;
var ctx = c.getContext('2d');
var framebuffer = ctx.getImageData(0, 0, 256, 256);
</script>
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
| Test | Ops/sec | |
|---|---|---|
fillRect |
|
pending… |
putImageData |
|
pending… |
gradient fillRect |
|
pending… |
gradient putImageData |
|
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 Ilmari
- Revision 2: published by mgh
0 comments