evanphx / benchmark-ips

Provides iteration per second benchmarking for Ruby
MIT License
1.72k stars 97 forks source link

Don't calculate mean 2 times #47

Closed kbrock closed 9 years ago

kbrock commented 9 years ago

For Job#run, since we just calculated means, pass it into stddev

m is passed from stddev into variance and then it is calculated if not available. Since we just calculated mean, pass it in.