I\'m writing a library for WebWorkers, and I want to test the difference between running a script in the main page thread, versus in one or more workers. The problem is: I can\'
Check out the benchmarking code referenced by the Google V8 Javascript Engine.