4 ms·
I've found this website provides different results: https://programming-language-benchmarks.vercel.app/typescript-vs-ruby https://programming-language-benchmark
by dominicrose 2y ago
I've found this website provides different results: https://programming-language-benchmarks.vercel.app/typescript-vs-ruby https://programming-language-benchmarks.vercel.app/typescrip...
It also shows different Ruby implementations. I've tried truffleruby myself and it's blazing fast on long-running CPU-intensive tasks.
- neonsunset 2y agoThe tests on this website run for very little time indeed. They use input values that e.g. the original BehnchmarksGame suggests for validation before running for a longer time to get actual performance (another case in point - surely you want to run a web server longer than a couple hundred milliseconds). In my experience the data there does not always replicate to what you get in real world scenarios. It’s an unfortunate tradeoff because the benchmark runs when you want to support so many languages will take a very long time, but in my opinion it’s better to have numbers that are useful for making informed decisions over pure quantity. If you have something specific in mind, it can be more interesting to build and measure the exact scenario you’d like to know about (standard caveats to benchmarking properly apply), which is quite easier if you have, say, just two languages.