From 45cf8709a2e5d1a411834c14e6b78c441bb7bd6b Mon Sep 17 00:00:00 2001 From: xchaos Date: Sun, 6 Apr 2008 14:08:19 +0000 Subject: [PATCH] updated benchmark results for all tested platforms git-svn-id: https://dev.arachne.cz/repos/cll1h/trunk@64 4bb87942-c103-4e5a-b51c-0ebff58f8515 --- demos/performance/print.pl | 2 +- demos/performance/run-tests.sh | 4 +- demos/performance/test-performance.sh | 2 +- demos/performance/test-results | 639 ++++++-------------------- demos/performance/test-results2 | 483 +++++-------------- 5 files changed, 247 insertions(+), 883 deletions(-) diff --git a/demos/performance/print.pl b/demos/performance/print.pl index 0cbdef1..4c60111 100755 --- a/demos/performance/print.pl +++ b/demos/performance/print.pl @@ -3,6 +3,6 @@ my $i=0; for ($i=0;$i<10000000;$i++) { - print ("stuff"); + print ("stuff\n"); } diff --git a/demos/performance/run-tests.sh b/demos/performance/run-tests.sh index 9a2bd54..4f1d884 100755 --- a/demos/performance/run-tests.sh +++ b/demos/performance/run-tests.sh @@ -1,3 +1,3 @@ #!/bin/bash -./test-performance.sh > test-results 2>&1 -./test-performance2.sh > test-results2 2>&1 +./test-performance.sh all > test-results 2>&1 +./test-performance2.sh all > test-results2 2>&1 diff --git a/demos/performance/test-performance.sh b/demos/performance/test-performance.sh index e2de3e5..45cc4e0 100755 --- a/demos/performance/test-performance.sh +++ b/demos/performance/test-performance.sh @@ -69,7 +69,7 @@ cat cll1-echo.c echo -n "Compiling..." time tcc cll1-echo.c -o cll1-echo echo -n "Running..." -time ./puts > /dev/null +time ./cll1-echo > /dev/null echo "--------------------------------------------------- C - tcc - puts" cat puts.c diff --git a/demos/performance/test-results b/demos/performance/test-results index ffefc3b..07fcb55 100644 --- a/demos/performance/test-results +++ b/demos/performance/test-results @@ -1,4 +1,45 @@ -Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz 1000.000 1000.000 Mhz 3328.81 3325.09 bogomips +AMD Athlon(tm) XP 1259.392 Mhz 2520.58 bogomips +------------------------------------------------------------- Ruby +#!/usr/bin/ruby + +10000000.times { print "stuff","\n" } + +Running... +real 0m55.542s +user 0m35.498s +sys 0m2.264s +--------------------------------------------------- Python - range +#!/usr/bin/python + +for i in range(1,10000000): + print "stuff" + +Running... +real 0m30.673s +user 0m19.113s +sys 0m0.608s +-------------------------------------------------- Python - xrange +#!/usr/bin/python + +for i in xrange(1,10000000): + print "stuff" + +Running... +real 0m31.379s +user 0m19.581s +sys 0m0.140s +------------------------------------------------------------ PHP 5 +#!/usr/bin/php5 -q + +Running... +real 0m36.652s +user 0m9.573s +sys 0m5.000s -------------------------------------------------- C - gcc - write #include @@ -16,26 +57,26 @@ int main (void) return 0; } Compiling... -real 0m0.083s -user 0m0.072s -sys 0m0.012s +real 0m2.029s +user 0m0.188s +sys 0m0.080s Running... -real 0m3.021s -user 0m0.884s -sys 0m2.100s +real 0m5.983s +user 0m1.524s +sys 0m2.592s ------------------------------------------------------------- Perl #!/usr/bin/perl my $i=0; for ($i=0;$i<10000000;$i++) { - print ("stuff"); + print ("stuff\n"); } Running... -real 0m2.483s -user 0m2.476s -sys 0m0.004s +real 0m11.401s +user 0m7.472s +sys 0m0.032s ----------------------------------------------- C<<1 - gcc - print #include "cll1.h" @@ -45,13 +86,13 @@ program print("stuff"); } Compiling... -real 0m0.147s -user 0m0.124s -sys 0m0.008s +real 0m2.385s +user 0m0.436s +sys 0m0.056s Running... -real 0m1.451s -user 0m1.296s -sys 0m0.008s +real 0m6.315s +user 0m2.404s +sys 0m0.024s ---------------------------------------------- C - g++ - std::cout #include @@ -66,12 +107,12 @@ int main() return 0; } Compiling... -real 0m0.383s -user 0m0.344s -sys 0m0.032s +real 0m6.245s +user 0m1.128s +sys 0m0.152s Running... -real 0m1.051s -user 0m0.984s +real 0m3.563s +user 0m1.876s sys 0m0.016s ----------------------------------------------- C<<1 - tcc - print #include "cll1.h" @@ -81,19 +122,14 @@ program repeat(10000000) print("stuff"); } -Compiling...In file included from cll1-print.c:1: -In file included from cll1.h:42: -In file included from /usr/include/stdlib.h:438: -In file included from /usr/include/sys/types.h:270: -/usr/include/bits/pthreadtypes.h:69: identifier expected - -real 0m0.003s -user 0m0.004s -sys 0m0.000s +Compiling... +real 0m0.162s +user 0m0.024s +sys 0m0.008s Running... -real 0m1.387s -user 0m1.256s -sys 0m0.004s +real 0m4.658s +user 0m2.496s +sys 0m0.008s ------------------------------------------------- C - tcc - printf #include @@ -107,115 +143,14 @@ int main (void) } return 0; } -Compiling...tcc: file 'AS_NEEDED' not found -/usr/lib/libc.so:3: filename expected -/usr/lib/libc.so:3: unrecognized file type -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -tcc: undefined symbol '__gcc_personality_v0' -tcc: undefined symbol '_Unwind_Resume' -tcc: undefined symbol '_Unwind_Backtrace' -tcc: undefined symbol '_Unwind_GetIP' -tcc: undefined symbol '_Unwind_GetGR' -tcc: undefined symbol '_Unwind_GetCFA' - -real 0m0.020s -user 0m0.016s -sys 0m0.004s +Compiling... +real 0m0.014s +user 0m0.012s +sys 0m0.000s Running... -real 0m0.637s -user 0m0.624s -sys 0m0.008s +real 0m3.011s +user 0m1.916s +sys 0m0.004s ------------------------------------------------ C<<1 - tcc - echo #include "cll1.h" @@ -225,19 +160,14 @@ program for_range(i,1,10000000) echo("stuff\n"); } -Compiling...In file included from cll1-echo.c:1: -In file included from cll1.h:42: -In file included from /usr/include/stdlib.h:438: -In file included from /usr/include/sys/types.h:270: -/usr/include/bits/pthreadtypes.h:69: identifier expected - -real 0m0.068s -user 0m0.004s -sys 0m0.000s +Compiling... +real 0m0.025s +user 0m0.020s +sys 0m0.004s Running... -real 0m0.658s -user 0m0.660s -sys 0m0.000s +real 0m2.341s +user 0m1.440s +sys 0m0.020s --------------------------------------------------- C - tcc - puts #include @@ -251,115 +181,14 @@ int main (void) } return 0; } -Compiling...tcc: file 'AS_NEEDED' not found -/usr/lib/libc.so:3: filename expected -/usr/lib/libc.so:3: unrecognized file type -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -tcc: undefined symbol '_Unwind_Resume' -tcc: undefined symbol '__gcc_personality_v0' -tcc: undefined symbol '_Unwind_Backtrace' -tcc: undefined symbol '_Unwind_GetIP' -tcc: undefined symbol '_Unwind_GetGR' -tcc: undefined symbol '_Unwind_GetCFA' - -real 0m0.021s +Compiling... +real 0m0.054s user 0m0.008s -sys 0m0.012s -Running... -real 0m0.617s -user 0m0.616s sys 0m0.004s +Running... +real 0m1.956s +user 0m1.216s +sys 0m0.012s ------------------------------------------------- C - tcc - fwrite #include #include @@ -377,115 +206,14 @@ int main (void) } return 0; } -Compiling...tcc: file 'AS_NEEDED' not found -/usr/lib/libc.so:3: filename expected -/usr/lib/libc.so:3: unrecognized file type -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -tcc: undefined symbol '_Unwind_Resume' -tcc: undefined symbol '__gcc_personality_v0' -tcc: undefined symbol '_Unwind_Backtrace' -tcc: undefined symbol '_Unwind_GetIP' -tcc: undefined symbol '_Unwind_GetGR' -tcc: undefined symbol '_Unwind_GetCFA' - -real 0m0.020s -user 0m0.020s -sys 0m0.000s -Running... -real 0m0.560s -user 0m0.556s +Compiling... +real 0m0.048s +user 0m0.008s sys 0m0.004s +Running... +real 0m2.003s +user 0m1.132s +sys 0m0.012s -------------------------------------------------- C - tcc - fputs #include @@ -499,115 +227,14 @@ int main (void) } return 0; } -Compiling...tcc: file 'AS_NEEDED' not found -/usr/lib/libc.so:3: filename expected -/usr/lib/libc.so:3: unrecognized file type -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -tcc: undefined symbol '_Unwind_Resume' -tcc: undefined symbol '__gcc_personality_v0' -tcc: undefined symbol '_Unwind_Backtrace' -tcc: undefined symbol '_Unwind_GetIP' -tcc: undefined symbol '_Unwind_GetGR' -tcc: undefined symbol '_Unwind_GetCFA' - -real 0m0.021s -user 0m0.016s +Compiling... +real 0m0.027s +user 0m0.012s sys 0m0.004s Running... -real 0m0.552s -user 0m0.552s -sys 0m0.000s +real 0m2.016s +user 0m1.212s +sys 0m0.020s ------------------------------------------------ C<<1 - gcc - echo #include "cll1.h" @@ -618,13 +245,13 @@ program echo("stuff\n"); } Compiling... -real 0m0.134s -user 0m0.120s -sys 0m0.012s +real 0m0.891s +user 0m0.424s +sys 0m0.040s Running... -real 0m0.751s -user 0m0.748s -sys 0m0.004s +real 0m2.317s +user 0m1.340s +sys 0m0.020s ------------------------------------------------- C - gcc - printf #include @@ -639,13 +266,13 @@ int main (void) return 0; } Compiling... -real 0m0.057s -user 0m0.044s -sys 0m0.012s +real 0m0.651s +user 0m0.188s +sys 0m0.040s Running... -real 0m0.617s -user 0m0.612s -sys 0m0.004s +real 0m2.099s +user 0m1.176s +sys 0m0.020s --------------------------------------------------- C - gcc - puts #include @@ -660,13 +287,13 @@ int main (void) return 0; } Compiling... -real 0m0.057s -user 0m0.036s -sys 0m0.020s +real 0m0.574s +user 0m0.176s +sys 0m0.040s Running... -real 0m0.683s -user 0m0.684s -sys 0m0.000s +real 0m1.640s +user 0m1.196s +sys 0m0.008s ------------------------------------------------- C - gcc - fwrite #include #include @@ -685,13 +312,13 @@ int main (void) return 0; } Compiling... -real 0m0.066s -user 0m0.064s -sys 0m0.004s +real 0m0.547s +user 0m0.220s +sys 0m0.020s Running... -real 0m0.557s -user 0m0.556s -sys 0m0.000s +real 0m2.138s +user 0m1.072s +sys 0m0.008s -------------------------------------------------- C - gcc - fputs #include @@ -706,10 +333,10 @@ int main (void) return 0; } Compiling... -real 0m0.057s -user 0m0.048s -sys 0m0.008s +real 0m0.319s +user 0m0.184s +sys 0m0.048s Running... -real 0m0.552s -user 0m0.548s -sys 0m0.004s +real 0m2.010s +user 0m1.092s +sys 0m0.020s diff --git a/demos/performance/test-results2 b/demos/performance/test-results2 index 0594c39..856ae89 100644 --- a/demos/performance/test-results2 +++ b/demos/performance/test-results2 @@ -1,4 +1,49 @@ -Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz 1667.000 1667.000 Mhz 3328.81 3325.09 bogomips +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 @@ -21,13 +66,13 @@ int main (void) return 0; } Compiling... -real 0m0.060s -user 0m0.052s -sys 0m0.008s +real 0m0.494s +user 0m0.196s +sys 0m0.036s Running... -real 0m11.579s -user 0m3.428s -sys 0m7.664s +real 1m8.226s +user 0m7.984s +sys 0m19.985s ---------------------------------------------- C - g++ - std::cout #include @@ -42,13 +87,13 @@ int main() return 0; } Compiling... -real 0m0.363s -user 0m0.316s -sys 0m0.044s +real 0m8.042s +user 0m1.176s +sys 0m0.132s Running... -real 0m8.394s -user 0m6.076s -sys 0m2.112s +real 0m33.827s +user 0m11.369s +sys 0m3.908s ------------------------------------------------------------- Perl #!/usr/bin/perl @@ -59,9 +104,9 @@ for ($i=0;$i<10000000;$i++) print ("stuff1"," ","stuff2","\n"); } Running... -real 0m5.748s -user 0m5.700s -sys 0m0.012s +real 0m29.584s +user 0m14.577s +sys 0m0.088s ------------------------------------------------- C - tcc - printf #include @@ -76,115 +121,14 @@ int main (void) } return 0; } -Compiling...tcc: file 'AS_NEEDED' not found -/usr/lib/libc.so:3: filename expected -/usr/lib/libc.so:3: unrecognized file type -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -tcc: undefined symbol '__gcc_personality_v0' -tcc: undefined symbol '_Unwind_Resume' -tcc: undefined symbol '_Unwind_Backtrace' -tcc: undefined symbol '_Unwind_GetIP' -tcc: undefined symbol '_Unwind_GetGR' -tcc: undefined symbol '_Unwind_GetCFA' - -real 0m0.021s -user 0m0.012s +Compiling... +real 0m0.014s +user 0m0.004s sys 0m0.008s Running... -real 0m2.884s -user 0m2.860s -sys 0m0.020s +real 0m11.628s +user 0m5.564s +sys 0m0.064s ------------------------------------------------- C - tcc - fwrite #include @@ -208,115 +152,14 @@ int main (void) } return 0; } -Compiling...tcc: file 'AS_NEEDED' not found -/usr/lib/libc.so:3: filename expected -/usr/lib/libc.so:3: unrecognized file type -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -tcc: undefined symbol '_Unwind_Resume' -tcc: undefined symbol '__gcc_personality_v0' -tcc: undefined symbol '_Unwind_Backtrace' -tcc: undefined symbol '_Unwind_GetIP' -tcc: undefined symbol '_Unwind_GetGR' -tcc: undefined symbol '_Unwind_GetCFA' - -real 0m0.021s -user 0m0.012s -sys 0m0.012s +Compiling... +real 0m0.017s +user 0m0.004s +sys 0m0.004s Running... -real 0m2.583s -user 0m2.576s -sys 0m0.008s +real 0m8.379s +user 0m4.004s +sys 0m0.036s ----------------------------------------------- C<<1 - tcc - print #include "cll1.h" @@ -326,19 +169,14 @@ program repeat(10000000) print("stuff1","stuff2"); } -Compiling...In file included from cll1-print2.c:1: -In file included from cll1.h:42: -In file included from /usr/include/stdlib.h:438: -In file included from /usr/include/sys/types.h:270: -/usr/include/bits/pthreadtypes.h:69: identifier expected - -real 0m0.003s -user 0m0.000s -sys 0m0.004s +Compiling... +real 0m0.029s +user 0m0.024s +sys 0m0.000s Running... -real 0m2.592s -user 0m2.576s -sys 0m0.016s +real 0m16.690s +user 0m6.224s +sys 0m0.040s -------------------------------------------------- C - tcc - fputs #include @@ -355,115 +193,14 @@ int main (void) } return 0; } -Compiling...tcc: file 'AS_NEEDED' not found -/usr/lib/libc.so:3: filename expected -/usr/lib/libc.so:3: unrecognized file type -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -/usr/lib/libc.a: '_nl_category_name_idxs' defined twice -tcc: undefined symbol '_Unwind_Resume' -tcc: undefined symbol '__gcc_personality_v0' -tcc: undefined symbol '_Unwind_Backtrace' -tcc: undefined symbol '_Unwind_GetIP' -tcc: undefined symbol '_Unwind_GetGR' -tcc: undefined symbol '_Unwind_GetCFA' - -real 0m0.021s -user 0m0.016s +Compiling... +real 0m0.016s +user 0m0.008s sys 0m0.008s Running... -real 0m1.493s -user 0m1.484s -sys 0m0.008s +real 0m8.072s +user 0m4.608s +sys 0m0.068s ------------------------------------------------- C - gcc - printf #include @@ -479,13 +216,13 @@ int main (void) return 0; } Compiling... -real 0m0.056s -user 0m0.032s +real 0m0.249s +user 0m0.196s sys 0m0.028s Running... -real 0m2.932s -user 0m2.928s -sys 0m0.004s +real 0m7.017s +user 0m5.368s +sys 0m0.028s ------------------------------------------------- C - gcc - fwrite #include @@ -510,13 +247,13 @@ int main (void) return 0; } Compiling... -real 0m0.069s -user 0m0.060s -sys 0m0.008s +real 0m0.417s +user 0m0.216s +sys 0m0.024s Running... -real 0m2.587s -user 0m2.572s -sys 0m0.016s +real 0m5.814s +user 0m3.960s +sys 0m0.032s ----------------------------------------------- C<<1 - gcc - print #include "cll1.h" @@ -527,13 +264,13 @@ program print("stuff1","stuff2"); } Compiling... -real 0m0.140s -user 0m0.136s -sys 0m0.004s +real 0m0.579s +user 0m0.412s +sys 0m0.056s Running... -real 0m2.622s -user 0m2.612s -sys 0m0.008s +real 0m6.531s +user 0m4.896s +sys 0m0.052s -------------------------------------------------- C - gcc - fputs #include @@ -551,10 +288,10 @@ int main (void) return 0; } Compiling... -real 0m0.091s -user 0m0.076s -sys 0m0.016s +real 0m0.261s +user 0m0.200s +sys 0m0.040s Running... -real 0m1.532s -user 0m1.516s -sys 0m0.008s +real 0m3.596s +user 0m2.784s +sys 0m0.028s -- 2.30.2