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

Update libs/charts in the perf suite. #143

Open
jdalton opened this issue Feb 3, 2015 · 1 comment
Open

Update libs/charts in the perf suite. #143

jdalton opened this issue Feb 3, 2015 · 1 comment

Comments

@jdalton
Copy link

jdalton commented Feb 3, 2015

Now that lodash v3 is out with lazy eval support in it's chaining syntax it would be nice to update the benchmark. I think the current benchmark is using v2.0.0 which is like 1½ yrs old.

Old way:

lodash.max(lodash.filter(lodash.map(array, increment), isEven))

New way:

lodash(array).map(increment).filter(isEven).max().value()
@whiteinge
Copy link

+1 for updating the comparison page to take lodash's chaining syntax into account. (Would be cool to see lodash and lodash (chain) side-by-side too.)

http://jsperf.com/lodash-vs-lazy-filter-chains/6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants