benit
A simple, easy, javascript benchmarking library.
Example
var benit = ; // add testsbenit // 100000 times, 20 cycles ;
Outputs:
============================================================
String Match Benchmark
------------------------------------------------------------
RegExp#test: 10470000 ops/sec (100000 x 20 ops/ 191 ms)
String#indexOf: 18520000 ops/sec (100000 x 20 ops/ 108 ms)
String#match: 9009000 ops/sec (100000 x 20 ops/ 222 ms)
------------------------------------------------------------