r/ProgrammingLanguages • • Mar 04 '26

Comparing Scripting Language Speed

https://www.emulationonline.com/posts/comparing-scripting-language-speed/
10 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/thedeemon Mar 09 '26

Yes, the results are consistently different. Here's running the 2 versions 3 times in zipped order:

./bffast  20.50s user 0.01s system 99% cpu 20.516 total
./bfo3  17.94s user 0.00s system 99% cpu 17.945 total
./bffast  20.87s user 0.01s system 99% cpu 20.884 total
./bfo3  17.93s user 0.01s system 99% cpu 17.934 total
./bffast  20.65s user 0.01s system 99% cpu 20.658 total
./bfo3  18.04s user 0.01s system 99% cpu 18.054 total

This is

g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0
OS: Ubuntu 24.04.4 LTS x86_64 
CPU: 11th Gen Intel i7-11800H (16) @ 4.600GHz