AMD Athlon(tm) XP 1259.392 Mhz 2520.58 bogomips ------------------------------------------------------------- Ruby #!/usr/bin/ruby 10000000.times { print "stuff1"," ","stuff2","\n" } Running... real 0m50.940s user 0m49.107s sys 0m1.836s --------------------------------------------------- Python - range #!/usr/bin/python for i in range(1,10000000): print "stuff1","stuff2" Running... real 0m25.547s user 0m25.230s sys 0m0.320s -------------------------------------------------- Python - xrange #!/usr/bin/python for i in xrange(1,10000000): print "stuff1","stuff2" Running... real 0m26.269s user 0m26.254s sys 0m0.016s ------------------------------------------------------------ PHP 5 #!/usr/bin/php5 -q Running... real 0m18.649s user 0m14.449s sys 0m4.200s -------------------------------------------------- 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