Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jsPerf benchmark readability #13

Closed
subtleGradient opened this issue May 24, 2012 · 3 comments
Closed

jsPerf benchmark readability #13

subtleGradient opened this issue May 24, 2012 · 3 comments
Labels

Comments

@subtleGradient
Copy link

I have been told that the jsPerf tests do not appear to show the claimed 8x perf boost.

Any chance you can make more jsPerf tests that only compare 1 thing at a time? E.g. forEach: native, underscore, lodash, jQuery, etc…

Thanks!

@jdalton
Copy link
Member

jdalton commented May 24, 2012

You can always switch to the table view in jsPerf to read results better.

I didn't claim 8x, the initial claim was a valid up to 8x and was based on specific methods benchmarked.

Opera 11.61  Underscore's _.values is 249,687 ops/sec and Lo-Dash's is 2,088,798 => 8.3x
Opera 11.62  Underscore's _.values is 193,262 ops/sec and Lo-Dash's is 1,656,852 => 8.5x
Opera 12.00  Underscore's _.values is 195,618 ops/sec and Lo-Dash's is 1,869,934 => 9.5x

I am adding more method benchmarks to perf.js to get a better feel for perf of each method.

@jdalton jdalton closed this as completed May 24, 2012
@subtleGradient
Copy link
Author

Not too shabby

@lock
Copy link

lock bot commented Jan 21, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants