Javascript Snow

JavaScript performance comparison

Test case created by Arthur Taylor

Info

Benchmark for javascript snow

Preparation code

<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
  google.load("prototype", "1.6");
</script>
<script type="text/javascript" src="http://prospero.talkingcode.co.uk/snow/script/livepipe.js"></script>
<script type="text/javascript" src="http://prospero.talkingcode.co.uk/snow/script/raphael-min.js"></script>
<script type="text/javascript" src="http://prospero.talkingcode.co.uk/snow/script/snow-common.js"></script>
<script type="text/javascript" src="http://prospero.talkingcode.co.uk/snow/script/snow-raphael.js"></script>
<script type="text/javascript" src="http://prospero.talkingcode.co.uk/snow/script/snow-css.js"></script>
<script type="text/javascript" src="http://prospero.talkingcode.co.uk/snow/script/snow-canvas.js"></script>
<script type="text/javascript" src="http://prospero.talkingcode.co.uk/snow/script/snow.js"></script>
<div id="snow"></div>

Preparation code output

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
Canvas
var snowField = new SnowField("snow", { width: 750, height: 400, renderer: 'canvas'});
snowField.addFlakes(100);
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:

0 comments

Add a comment