Find the total run time for a module with specified conditions and inputs. Use to compare the performance of different algorithms.
- Add the timer file to the top level of the module directory.
- Edit the file to set the required input array size, array contents and number of trials to run.
- To run,
node compute-test.js Time taken will print to the terminal.
Both timers require:
stream-test.js also requires: