3 ms·
Ask HN: Best practical method to compare the speed some PL interpreters
How is the best practical procedure and method to compare or benchmark the speed between some interpreters on Linux (say Bash, Python, Zsh, Perl, Ruby, Raku etc)
- rurban 5y agoSee debian's benchmarkgame. You need some cross-language apps/functions, adopt community improvements and publish the results. Rosettacode also has a lot.
- igouy 5y agoDepends how many different tasks you want to compare, and how many different interpreters you want to compare, and what you want to do with the comparison. Find a comparison someone else already made, for example: https://benchmarksgame-team.pages.debian.net/benchmarksgame/ https://benchmarksgame-team.pages.debian.net/benchmarksgame/ Make your own time measurements: https://github.com/tobami/codespeed/ https://github.com/tobami/codespeed/ https://github.com/sharkdp/hyperfine https://github.com/sharkdp/hyperfine