privatenumber / ts-runtime-comparison

Comparison of Node.js TypeScript runtimes
475 stars 8 forks source link

Consider adding comparisons for memory usage and startup time #4

Open neodon opened 2 years ago

neodon commented 2 years ago

I think these two metrics could be interesting. I avoid ts-node simply due to its enormous memory requirements.

I suspect tsx would fare very well in both metrics.

Any interest? Would a pull request be considered?

privatenumber commented 2 years ago

Sure, PR welcome!

RE: startup time I might decide against it once I see the results for the same reason I decided not to add benchmarks: there wasn't a big enough difference for it to be compelling and didn't want to engage in microbenchmarking.

neodon commented 2 years ago

Thanks. If/when I get some time to work on it, I will follow up. Feel free to close this issue for now unless you want it to stay open for others to see.