AMD Athlon(tm) XP 1259.392 Mhz 2520.58 bogomips ------------------------------------------------------------- Ruby #!/usr/bin/ruby 10000000.times { print "stuff","\n" } Running... real 0m55.542s user 0m35.498s sys 0m2.264s --------------------------------------------------- Python - range #!/usr/bin/python for i in range(1,10000000): print "stuff" Running... real 0m30.673s user 0m19.113s sys 0m0.608s -------------------------------------------------- Python - xrange #!/usr/bin/python for i in xrange(1,10000000): print "stuff" Running... real 0m31.379s user 0m19.581s sys 0m0.140s ------------------------------------------------------------ PHP 5 #!/usr/bin/php5 -q Running... real 0m36.652s user 0m9.573s sys 0m5.000s -------------------------------------------------- C - gcc - write #include #define RUNS 10000000UL int main (void) { unsigned long i; char *s1="stuff\n"; int l1=strlen(s1); for (i=0;i #define RUNS 10000000UL int main() { unsigned long i; for (i=0;i #define RUNS 10000000UL int main (void) { unsigned long i; for (i=0;i #define RUNS 10000000UL int main (void) { unsigned long i; for (i=0;i #include #define RUNS 10000000UL int main (void) { unsigned long i; char *s1="stuff\n"; int l1=strlen(s1); for (i=0;i #define RUNS 10000000UL int main (void) { unsigned long i; for (i=0;i #define RUNS 10000000UL int main (void) { unsigned long i; for (i=0;i #define RUNS 10000000UL int main (void) { unsigned long i; for (i=0;i #include #define RUNS 10000000UL int main (void) { unsigned long i; char *s1="stuff\n"; int l1=strlen(s1); for (i=0;i #define RUNS 10000000UL int main (void) { unsigned long i; for (i=0;i