dnbard / benchmark

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Benchmark ■■■▢▢

  • Array/List/Set Comparison - performance comparison between native array and several custom collections
  • Class declaration(class vs function) - difference between class and function usage in JavaScript
  • Dictionaries - coming soon
  • ES6 new String function(includes, startsWith, endsWith, repeat) - coming soon
  • Sorted Arrays - performance comparison of several libraries that provide SortedArray collection

How to run tests by yourself

  • Clone this repo (or fork it and clone)
  • Don't forget to install all dependencies:
npm i
  • Run individual test, ie:
node sortedArray.js

Note: All tests were done on my Intel i5 4690 with 16MB RAM on NODE v8.8.x. You may(and will) receive different test results on different environment configuration. Please use my results with caution :)

About


Languages

Language:JavaScript 100.0%