prerendering
JavaScript performance comparison
Preparation code
<canvas id="draw" height="110" width="800" style="border: solid;">
</canvas>
<script>
Benchmark.prototype.setup = function() {
var obj = document.createElement("canvas");
var ctx1 = obj.getContext("2d");
ctx1.beginPath();
ctx1.moveTo(0, 0);
ctx1.lineTo(100, 100);
ctx1.lineTo(200, 100);
ctx1.lineTo(300, 110);
ctx1.lineTo(600, 0);
ctx1.stroke();
};
</script>
Preparation code output
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
| Test | Ops/sec | |
|---|---|---|
no prerender |
|
pending… |
prerender |
|
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
- Revision 2: published
- Revision 3: published
- Revision 4: published
- Revision 5: published
- Revision 6: published
0 comments