X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=demos%2Fperformance%2Ftest-results;h=ce895562d64f1c0cdd039f22b12504a2706ee1bc;hb=9ae3b2218ffacd28b7bfccaa23d804fb0d399f9b;hp=271bd4536ba7dfa2192e8e715ffcc9e87be0eb84;hpb=b836e2422e0b72efed1ac2bccbcc9060b328d36b;p=svn%2FCll1h%2F.git diff --git a/demos/performance/test-results b/demos/performance/test-results index 271bd45..ce89556 100644 --- a/demos/performance/test-results +++ b/demos/performance/test-results @@ -1,11 +1,29 @@ -#!/usr/bin/python +AMD Athlon(tm) XP 1259.487 Mhz 2522.30 bogomips +-------------------------------------------------- C - gcc - write +#include -for i in range(1,10000000): - print "stuff" +#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