One night for fun, I wrote a fizzbuzz (without actual printing) in almost all of the languages mentionned here (except fortran), and benchmarked it with 10000 executions each.
[1]: https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...
Remember this is without any printing: C is fast, if I remember correctly it was something like 0.015 or 0.03s while at the other end of the spectrum I had to wait 0.1s for JavaScript. C results varied from simple to double because of the OS I guess because it was so quick.
It isn't a really significant benchmark though, for any language. It was one of those nights. Ah, and I remember a large difference between go run and go install.
Sure, but it's reassuring to know that the universe is still sane, C is still faster than Javascript.
Thanks for expanding on your comment!
c 0.062s
f90 0.080s
go 0.108s
awk 0.116s
lua 0.117s
rs 0.140s
sh 0.434s
php 0.886s
scm 1.323s
py 2.965s
rb 3.738s
js 5.411s
My memory was bad, I also added fortran for the occasion.