Created
June 24, 2026 18:32
-
-
Save refparo/90f3e41591539e2f7709123e5a483709 to your computer and use it in GitHub Desktop.
A microbenchmark of the startup speed of various interpreted languages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| hyperfine -N \ | |
| "lua -e 'print(math.random())'" \ | |
| "awk 'BEGIN {srand();print rand()}'" \ | |
| "perl -e 'print rand()'" \ | |
| "janet -e '(print (math/random))'" \ | |
| "guile -c '(display (random:uniform))'" \ | |
| "js140 -e 'console.log(Math.random())'" \ | |
| "python -c 'import random; print(random.random())'" \ | |
| "node -e 'console.log(Math.random())'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment