Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 806 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 806 Bytes

js-deduplicate-array-benchmark

A quick benchmark of some solutions to deduplicate a JS array. See this article for the explanation of the methods and the results.

Executing the benchmark

The easiest way to execute the benchmark is to paste the source onto a codepen running on the browser (engine) you want to test. Look at the console for the results. Repeat this on how many browsers you want to test.

For Node, you need to have Node installed on your computer, then simply type

$ node deduplicateArray.js

Author

License

This code is licensed under the MIT License - see the LICENSE.md file for details