Skip to content

zapalote/js-deduplicate-array-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

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