Browse the latest JavaScript performance benchmarks created by the community.
No description provided
No description provided
Test with small objects
No description provided
You don't need to make add for loops in your test scenarios, the benchmark does it itself.
this is really stupid but is surprisingly close i guess
No description provided
No description provided
No description provided
No description provided
flatMap() vs filter() & map() vs reduce()
flatMap() vs filter() & map() vs reduce()
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
aaaaa
No description provided
No description provided
No description provided
Note!: none of these tests actually do the same thing, and the data in the example is simple. consider also using arrays: those are nice. Some of these are shallow, some of these are deep-ish. Data is lost through JSON serialization and back, and more data would be lost in JSON and other methods depending on the data stored.
Compare the new ES6 spread operator with the traditional concat() method and push