This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Benchmarks - update and results of new snapshot


Hi
I've updated the benchmarks, added comparsion script and some
new tests.
It can be found at 
ftp://ftp.ta.jcu.cz/pub/linux/hubicka/experimental/egcs-benchmark2.tgz
Results of latest snapshot are following:
Comparsions are printed in following order:
my_patch previous_snapshot egcs1.0 egcs2.7.2

(there is quite large (60%) improvement in B7 test and small slowdown
(5%) in bzip2 and XaoS internal loop. Other tests are almost unchanged.
Compiler crashes at slalom benchmark. Compared to egcs1.0 there is important
slowdown in quick sort test. It seems to be created by higher register
pressure caused by not using the addresing modes to get array elements.
Other significant slowdown is in Mandelbrot loop using complex numbers.
It seems to be inconvience caused by reg-stack pass after scheduling.
It generates too many xchg instructions.)

Thu Oct 22 10:41:07 CEST 1998
gcc -O2 -pipe

Integer tests
Bell Labs Benchmark B1: Ackerman's function (recursion) (bell-labs/b1.c)
---% ---% ---% ---%    100% 100% 100% 100%     99% 100%  99%  96%     99% 100% 100%  96% 
---% ---% ---% ---%    100% 100% 100% 100%    100% 100% 100% 103%    100% 100%  99% 101% 
Byte benchmarks - Arithmetic test (byte/arith.c)
 99% 103% 114% 105%    100% 102% 109% 109%    101% 103% 109% 106%     99% 100% 101% 101% 
 99% 103% 110% 105%    100% 100% 110% 110%    101% 103% 110% 109%    100% 100% 104% 106% 
Hanoi (tests/hanoi.c)
 95%  97% 101%  98%     99% 102% 103%  96%    102% 101% 104% 105%    102% 101% 106% 105% 
 95%  97% 101%  98%     98% 102% 104%  96%    102% 101% 110% 116%     99% 102% 106% 119% 
Mandelbrot set calculation loop (tests/mset.c)
 97% 100% 102%  93%     97% 100% 110% 103%    100% 100% 104% 111%     96% 100% 104% 102% 
 97% 100% 103%  93%     97% 100% 110% 103%     94% 100% 102% 123%     96% 100% 107% 120% 
Quicksort (tests/qsort.c)
100% 100%  84%  84%    100% 100%  75% 109%     80% 100%  45%  65%    101% 101%  87%  87% 
 98%  99%  83%  83%    100% 100%  75% 109%     80% 100%  45%  65%    100% 100%  86%  87% 
Bressemham line drawing algorithm (tests/bressemham.c)
101% 100% 100% 102%     96% 100%  93%  92%     98% 100% 100% 101%    102% 100%  92%  93% 
101% 100% 100% 102%     96% 100%  93%  92%     98% 100% 100% 101%    102% 100%  92%  93% 
Bell Labs Benchmark B7: (integer statistics) (bell-labs/b7.c)
---% ---% ---% ---%    100% 101% 116% 106%    100% 101% 164% 107%    100% ---% 109% 102% 
---% ---% ---% ---%    100% 101% 116% 106%     99% 101% 116% 109%    100% 141% 151% 109% 
Sieve (Byte benchmarks) (bell-labs/sieve.c)
---% ---% ---% ---%     99% 101% 104% 102%     99%  99%  99% 105%    ---% ---% ---% ---% 
---% ---% ---% ---%     96%  96% 100% 104%     84% 100% 100%  96%    ---% ---% ---% ---% 

Floating point tests
Mandelbrot set calculation loop (tests/mset.c)
100% 100% 103% 113%    100% 100% 103% 113%    100% 100% 100% 113% 
Unrolled mandelbrot set calculation loop (tests/umset.c)
 97% 100% 115% 140%     96% 100% 116% 142%     96% 100% 120% 145% 
Quicksort (tests/qsort.c)
100% 100% 112%  87%    100% 100% 131%  87%    100% 100%  99%  79% 

Complex type tests
Mandelbrot set calculation loop using complex numbers (tests/cmset.c)
103% 100%  76%  76%    103% 100%  76%  76%     97% 100%  80%  72% 
Unrolled mandelbrot set calculation loop using complex numbers (tests/cumset.c)
 84% 100%  75%  74%     84% 100%  76%  76%     82% 100%  89%  77% 

Unsorted tests
Bell Labs benchmark B2 (tree creation) (bell-labs/b2.c):    100% 101% 101% 100% 
Bell Labs benchmark B3 (qsort for strings) (bell-labs/b3.c): 99%  98% 102% 105% 
Bell Labs benchmark B4 (tty driver fragt) (bell-labs/b4.c):  99% 100% 100% 101% 
Bell Labs benchmark B6 (symbol tbl insert) (bell-labs/b5.c):100% 100% 101%  99% 
Bell Labs benchmark B6 (release buffers) (bell-labs/b6.c):   99% 100% 103% 103% 
Dhrystone (dhry/dhry_1.c dhry/dhry_2.c):                    100% 101% 111% 111% 
Palette approximation (tests/pal.c):                        100%  99% 104%  99% 
XaoS internal loop (tests/xaos.c):                           95%  95% 113%  98% 
Bzip2 block sorting loop (tests/bzip2.c):                    98%  96% 100%  92% 
Slalom benchmark (tests/slalom.c):                          ---% ---% ---% ---% 


-- 
                       OK. Lets make a signature file.
+-------------------------------------------------------------------------+
|        Jan Hubicka (Jan Hubi\v{c}ka in TeX) hubicka@freesoft.cz         |
|         Czech free software foundation: http://www.freesoft.cz          |
|AA project - the new way for computer graphics - http://www.ta.jcu.cz/aa |
|  homepage: http://www.paru.cas.cz/~hubicka/, games koules, Xonix, fast  |
|  fractal zoomer XaoS, index of Czech GNU/Linux/UN*X documentation etc.  | 
+-------------------------------------------------------------------------+


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]