jcoglan/js.class — Issue #27: JS.Benchmark issues.
Author: jdalton
Created: 2012-01-26 05:41:44+00:00
State: open

I will try to fill in the gaps when I have some spare time but I figured I would go a head and give you a heads up.

Here is a quick list of problems:

1. Your formula for margin of error and standard deviation are incorrect
1. You don't account for poor timer resolution in IE < 9
1. You rely on a user passed `run` count which ties into `#2`
1. Your `setup` methods are called in batch before the test run so things like adding dom elements the benchmark would remove won't work as well.