Functional Class instantiation vs. ES6 Class instantion performance
There are 5 different instantiation patterns:
- Functional
- Functional shared
- Prototypal
- Pseudoclassical
- ES6
Iām going to use this post to document the performance between each, using stacks and queues. Maybe other data structures later.
ES6
1010.6 ms pop
Functional
1942.3 ms Stack.someInstance.pop
Written on April 13, 2019