最佳答案
Is there a package that helps me benchmark JavaScript code? I'm not referring to Firebug and such tools.
I need to compare 2 different JavaScript functions that I have implemented. I'm very familiar with Perl's Benchmark (Benchmark.pm) module and I'm looking for something similar in JavaScript.
Has the emphasis on benchmarking JavaScript code gone overboard? Can I get away with timing just one run of the functions?