AMD Athlon(tm) XP 1259.392 Mhz 2520.58 bogomips ------------------------------------------------------------- Ruby #!/usr/bin/ruby 10000000.times { print "stuff1"," ","stuff2","\n" } Running... real 1m50.369s user 1m0.120s sys 0m2.332s --------------------------------------------------- Python - range #!/usr/bin/python for i in range(1,10000000): print "stuff1","stuff2" Running... real 0m54.919s user 0m30.274s sys 0m0.564s -------------------------------------------------- Python - xrange #!/usr/bin/python for i in xrange(1,10000000): print "stuff1","stuff2" Running... real 0m50.106s user 0m27.758s sys 0m0.136s ------------------------------------------------------------ PHP 5 #!/usr/bin/php5 -q Running... real 0m34.079s user 0m16.805s sys 0m4.916s -------------------------------------------------- C - gcc - write #include #define RUNS 10000000UL int main (void) { unsigned long i; char *s1="stuff1"; char *s2="stuff2"; int l1=strlen(s1); int l2=strlen(s2); 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 #include #define RUNS 10000000UL int main (void) { unsigned long i; char *s1="stuff1"; char *s2="stuff2"; int l1=strlen(s1); int l2=strlen(s2); 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="stuff1"; char *s2="stuff2"; int l1=strlen(s1); int l2=strlen(s2); for (i=0;i #define RUNS 10000000UL int main (void) { unsigned long i; for (i=0;i