X-Git-Url: http://git.harvie.cz/?p=svn%2FCll1h%2F.git;a=blobdiff_plain;f=demos%2Fperformance%2Ftest-results;fp=demos%2Fperformance%2Ftest-results;h=0000000000000000000000000000000000000000;hp=ae344a736bfe550aca27662de843ee2b217da0c2;hb=e63f1bc2438012b5f2f6592a474892501149af18;hpb=6a60bc82e8b8e6cccd0d4c2214a1f291662215f0 diff --git a/demos/performance/test-results b/demos/performance/test-results deleted file mode 100644 index ae344a7..0000000 --- a/demos/performance/test-results +++ /dev/null @@ -1,342 +0,0 @@ -AMD Athlon(tm) XP 1259.392 Mhz 2520.58 bogomips -------------------------------------------------------------- Ruby -#!/usr/bin/ruby - -10000000.times { print "stuff","\n" } - -Running... -real 0m31.160s -user 0m29.546s -sys 0m1.548s ---------------------------------------------------- Python - range -#!/usr/bin/python - -for i in range(1,10000000): - print "stuff" - -Running... -real 0m18.386s -user 0m17.757s -sys 0m0.308s --------------------------------------------------- Python - xrange -#!/usr/bin/python - -for i in xrange(1,10000000): - print "stuff" - -Running... -real 0m18.832s -user 0m18.805s -sys 0m0.024s ------------------------------------------------------------- PHP 5 -#!/usr/bin/php5 -q - -Running... -real 0m10.832s -user 0m7.696s -sys 0m2.544s --------------------------------------------------- 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