preparing 0.9 version, rename to crl1.h
[svn/Cll1h/.git] / demos / performance / test-results
diff --git a/demos/performance/test-results b/demos/performance/test-results
deleted file mode 100644 (file)
index ae344a7..0000000
+++ /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
-<?php
-for ( $i=0; $i<10000000; $i++ )
-{
- echo "stuff1\n";
-}
-?>
-Running...
-real   0m10.832s
-user   0m7.696s
-sys    0m2.544s
--------------------------------------------------- C - gcc - write
-#include <string.h>
-
-#define RUNS 10000000UL
-int main (void)
-{
- unsigned long i;
- char *s1="stuff\n";
- int l1=strlen(s1);
-
- for (i=0;i<RUNS;i++)
- {
-  write(1,s1,l1);
- }
- return 0;
-}
-Compiling...
-real   0m0.911s
-user   0m0.148s
-sys    0m0.036s
-Running...
-real   0m5.809s
-user   0m2.164s
-sys    0m3.648s
-------------------------------------------------------------- Perl
-#!/usr/bin/perl
-
-my $i=0;
-for ($i=0;$i<10000000;$i++)
-{
- print ("stuff\n");
-}
-
-Running...
-real   0m7.095s
-user   0m6.836s
-sys    0m0.004s
------------------------------------------------ C<<1 - gcc - print
-#include "cll1.h"
-
-program
-{
- repeat(10000000)
-  print("stuff");
-}
-Compiling...
-real   0m0.521s
-user   0m0.304s
-sys    0m0.068s
-Running...
-real   0m2.108s
-user   0m2.104s
-sys    0m0.004s
----------------------------------------------- C - g++ - std::cout
-#include <iostream>
-
-#define RUNS 10000000UL
-int main()
-{
- unsigned long i;
- for (i=0;i<RUNS;i++) 
- {
-  std::cout << "stuff\n";
- }
- return 0;
-}
-Compiling...
-real   0m1.917s
-user   0m0.896s
-sys    0m0.084s
-Running...
-real   0m1.694s
-user   0m1.680s
-sys    0m0.016s
------------------------------------------------ C<<1 - tcc - print
-#include "cll1.h"
-
-program
-{
- repeat(10000000)
-  print("stuff");
-}
-Compiling...
-real   0m0.125s
-user   0m0.016s
-sys    0m0.008s
-Running...
-real   0m2.884s
-user   0m2.884s
-sys    0m0.000s
-------------------------------------------------- C - tcc - printf
-#include <stdio.h>
-
-#define RUNS 10000000UL
-int main (void)
-{
- unsigned long i;
- for (i=0;i<RUNS;i++) 
- {
-  printf("stuff\n");
- }
- return 0;
-}
-Compiling...
-real   0m0.011s
-user   0m0.004s
-sys    0m0.004s
-Running...
-real   0m1.734s
-user   0m1.732s
-sys    0m0.004s
------------------------------------------------- C<<1 - tcc - echo
-#include "cll1.h"
-
-program
-{
- unsigned long i;
- for_range(i,1,10000000)
-  echo("stuff\n");
-}
-Compiling...
-real   0m0.021s
-user   0m0.016s
-sys    0m0.004s
-Running...
-real   0m1.365s
-user   0m1.360s
-sys    0m0.004s
---------------------------------------------------- C - tcc - puts
-#include <stdio.h>
-
-#define RUNS 10000000UL
-int main (void)
-{
- unsigned long i;
- for (i=0;i<RUNS;i++) 
- {
-  puts("stuff"); 
- }
- return 0;
-}
-Compiling...
-real   0m0.016s
-user   0m0.012s
-sys    0m0.000s
-Running...
-real   0m1.115s
-user   0m1.108s
-sys    0m0.008s
-------------------------------------------------- C - tcc - fwrite
-#include <stdio.h>
-#include <string.h>
-
-#define RUNS 10000000UL
-int main (void)
-{
- unsigned long i;
- char *s1="stuff\n";
- int l1=strlen(s1);
-
- for (i=0;i<RUNS;i++)
- {
-  fwrite(s1,l1,1,stdout);
- }
- return 0;
-}
-Compiling...
-real   0m0.029s
-user   0m0.004s
-sys    0m0.008s
-Running...
-real   0m1.025s
-user   0m1.020s
-sys    0m0.004s
--------------------------------------------------- C - tcc - fputs
-#include <stdio.h>
-
-#define RUNS 10000000UL
-int main (void)
-{
- unsigned long i;
- for (i=0;i<RUNS;i++) 
- {
-  fputs("stuff\n",stdout);
- }
- return 0;
-}
-Compiling...
-real   0m0.012s
-user   0m0.004s
-sys    0m0.008s
-Running...
-real   0m1.104s
-user   0m1.092s
-sys    0m0.012s
------------------------------------------------- C<<1 - gcc - echo
-#include "cll1.h"
-
-program
-{
- unsigned long i;
- for_range(i,1,10000000)
-  echo("stuff\n");
-}
-Compiling...
-real   0m0.362s
-user   0m0.320s
-sys    0m0.040s
-Running...
-real   0m1.230s
-user   0m1.228s
-sys    0m0.004s
-------------------------------------------------- C - gcc - printf
-#include <stdio.h>
-
-#define RUNS 10000000UL
-int main (void)
-{
- unsigned long i;
- for (i=0;i<RUNS;i++) 
- {
-  printf("stuff\n");
- }
- return 0;
-}
-Compiling...
-real   0m0.184s
-user   0m0.148s
-sys    0m0.036s
-Running...
-real   0m1.072s
-user   0m1.060s
-sys    0m0.012s
---------------------------------------------------- C - gcc - puts
-#include <stdio.h>
-
-#define RUNS 10000000UL
-int main (void)
-{
- unsigned long i;
- for (i=0;i<RUNS;i++) 
- {
-  puts("stuff"); 
- }
- return 0;
-}
-Compiling...
-real   0m0.182s
-user   0m0.152s
-sys    0m0.032s
-Running...
-real   0m1.075s
-user   0m1.072s
-sys    0m0.000s
-------------------------------------------------- C - gcc - fwrite
-#include <stdio.h>
-#include <string.h>
-
-#define RUNS 10000000UL
-int main (void)
-{
- unsigned long i;
- char *s1="stuff\n";
- int l1=strlen(s1);
-
- for (i=0;i<RUNS;i++)
- {
-  fwrite(s1,l1,1,stdout);
- }
- return 0;
-}
-Compiling...
-real   0m0.197s
-user   0m0.164s
-sys    0m0.032s
-Running...
-real   0m0.968s
-user   0m0.956s
-sys    0m0.012s
--------------------------------------------------- C - gcc - fputs
-#include <stdio.h>
-
-#define RUNS 10000000UL
-int main (void)
-{
- unsigned long i;
- for (i=0;i<RUNS;i++) 
- {
-  fputs("stuff\n",stdout);
- }
- return 0;
-}
-Compiling...
-real   0m0.183s
-user   0m0.156s
-sys    0m0.028s
-Running...
-real   0m0.970s
-user   0m0.964s
-sys    0m0.008s
This page took 0.207856 seconds and 4 git commands to generate.