News for hackers. Stuff that matters.
Re:Hello World execution time by burgerbrain on Sunday June 26, 2011 @03:28PM (#2698840)
Unless I'm mistaken, the "Bash" benchmark is actually just measuring the amount of time it takes a C program to read an argument and print, instead of just a C program printing.

Assuming the bash program was: `echo "hello, world!"`

Edit: I likely am mistaken. Chances are this was done using the builtin 'echo', not '/bin/echo'. The builtin is always faster (though putting them in a file (as is the only fair way to do it) slows them both down of course).

There are no comments on this comment yet.