This contain tests for memory comparison between JavaScript class
and Javascript function
.
- Create 1 million object instances from
class
andfunction
. - Take a memory snapshot (Please open all three files in separate tabs/window).
- Compare memory snapshots.
- Install serve globally
npm install serve --global
- cd into the current directory of the project.
- Run command
serve