-
-
Notifications
You must be signed in to change notification settings - Fork 31
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 benchmarks to latest package versions #107
Comments
Hi. I updated all the contender's versions and tested them on my machine(Macbook Pro M2) and these are the results.
seems that the bold claims that ts-belt said are still valid I guess?
|
Very very different results than mine also on a Macbook M2 Pro for Remeda, but that may be the nature of benchmarks. Nice job @JUSTIVE |
maybe the varied result caused by node version. I'll match to yours and check again. |
I re-checked with node 18.19, not much difference from above. Which remeda version are you using? I see some rambda results beat ts-belt, but nothing from remeda. To clarify, I appended the version to each library's name. • ./complex/map-filter-reduce.js: • map → filter → reduce ......
• ./complex/deepFlat-uniq-groupBy.js: • deepFlat → uniq → groupBy .....
• ./simple/sort.js: • sort (single function call).....
• sort (function call inside
• ./simple/unzip.js: • unzip (single function call)....
• unzip (function call inside
• ./simple/flat.js: • flat (single function call).....
• flat (function call inside
• ./simple/dropWhile.js: • dropWhile (single function call)....
• dropWhile (function call inside
• ./simple/takeWhile.js: • takeWhile (single function call).....
• takeWhile (function call inside
• ./simple/difference.js: • difference (single function call).....
• difference (function call inside
• ./simple/deepFlat.js: • deepFlat (single function call)......
• deepFlat (function call inside
• ./simple/reduce.js: • reduce (single function call)......
• reduce (function call inside
• ./simple/reject.js: • reject (single function call).....
• reject (function call inside
• ./simple/intersection.js: • intersection (single function call).....
• intersection (function call inside
• ./simple/intersperse.js: • intersperse (single function call)...
• intersperse (function call inside
• ./simple/flatMap.js: • flatMap (single function call).....
• flatMap (function call inside
• ./simple/fromPairs.js: • fromPairs (single function call)......
• fromPairs (function call inside
• ./simple/union.js: • union (single function call)....
• union (function call inside
• ./simple/groupBy.js: • groupBy (single function call).....
• groupBy (function call inside
• ./simple/zip.js: • zip (single function call).....
• zip (function call inside
• ./simple/forEach.js: • forEach (single function call)......
• forEach (function call inside
• ./simple/uniq.js: • uniq (single function call).....
• uniq (function call inside
• ./simple/toPairs.js: • toPairs (single function call)......
• toPairs (function call inside
• ./simple/map.js: • map (single function call)......
• map (function call inside
• ./simple/filter.js: • filter (single function call)......
• filter (function call inside
• ./simple/find.js: • find (single function call)......
• find (function call inside
• ./simple/splitEvery.js: • splitEvery/chunk (single function call).....
• splitEvery/chunk (function call inside
|
I only updated remeda, but you can see just updating it makes it narrowly win a few benchmarks.
Considering all package versions are from 2021, 3-3.5 years later I think we should be fairer in benchmarking with latest versions.
The text was updated successfully, but these errors were encountered: