Closed juanjoDiaz closed 4 years ago
I wonder if we could add a perf test to see if things change with updates or just with node updates
There is #365 about perf tests. I've just never found something like coveralls but for performance. To compare different engines and to avoid regressions. I'm open to ideas.
We should merge this anyway unless there is any blocker. I have some other PRs coming after this.
This undoes the performance optimizations that were introduced in #360 and #378.
It seems that v8 has improved significantly: support is a lot better and native implementation of the methods are consistently much faster in all browsers, Node, and Deno.
It can be easily tested using:
for Node, you need to import performance doing
const { performance } = require('perf_hooks');