Use Benchmark.js and add some more tests

![bench](https://f.cloud.github.com/assets/197597/758489/1f6a224c-e737-11e2-9f32-639ca5d2903f.png)