KFORTH, PFE, GFORTH BENCHMARKS ON A MACOSX/PPC SYSTEM The system is Mac OS X 10.4.6 dual-G4 1.42 GHz, 2MB L3 cache per processor, 512 MB RAM. Here, pfe-0.33.60 is built with: ./configure --prefix=$HOME --with-regs=all --with-cflags=-DUNROLL_NEXT --with-opt=3 This defaults to dynamic libraries, which is about 5% slower on this system. user total summary ------------------ kForth-fast 2.68 + 3.06 + 2.39 + 3.98 = 12.11 pfe 1.96 + 2.15 + 1.66 + 2.51 = 8.28 gforth-fast 0.712 + 0.935 + 0.484 + 0.898 = 3.029 kForth/pfe = 12.11 / 8.28 = 1.46 kForth/gforth = 12.11 / 3.029 = 4.00 pfe/gforth = 8.28 / 3.029 = 2.73 ------------------------------ [jost:src/kforth-1.4.x/bench] dnwills% kforth-fast kForth v 1.4.0-fast (Build: 2006-06-14) Copyright (c) 1998--2006 Krishna Myneni Contributions by: dpw gd mu bk abs tn cmb bg dnw Provided under the GNU General Public License. ok bye Goodbye. [jost:src/kforth-1.4.x/bench] dnwills% dobench-fast Wed Jun 21 17:24:50 EDT 2006 USING KFORTH-FAST SIEVE Goodbye. real 2.69 user 2.68 sys 0.00 BUBBLE-SORT Goodbye. real 3.07 user 3.06 sys 0.00 MATRIX-MULT Goodbye. real 2.40 user 2.39 sys 0.00 FIB Goodbye. real 3.99 user 3.98 sys 0.00 ------------------ [jost:~/pfe/bench] dnwills% pfe \ Portable Forth Environment 0.33.60 (Nov 12 2005 08:40:05) Copyright (C) Dirk Uwe Zoller 1993 - 1995. Copyright (C) Tektronix, Inc. 1998 - 2003. ANS/ffa ITC Forth - Please enter LICENSE and WARRANTY. Running on powerpc darwin8.3.0 - to quit say BYE. ok bye Goodbye! [jost:~/pfe/bench] dnwills% dopfebench Wed Jun 21 17:33:50 EDT 2006 USING PFE SIEVE real 1.97 user 1.96 sys 0.00 BUBBLE-SORT "random" is redefined real 2.16 user 2.15 sys 0.00 MATRIX-MULT "random" is redefined real 1.67 user 1.66 sys 0.00 FIB real 2.52 user 2.51 sys 0.00 ----------------- [jost:local/src/gforth-0.6.2] dnwills% gforth-fast Gforth 0.6.2, Copyright (C) 1995-2003 Free Software Foundation, Inc. Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license' Type `bye' to exit bye [jost:local/src/gforth-0.6.2] dnwills% make bench cd engine && make gforth gforth-ditc gforth-fast gforth-itc make[1]: `gforth' is up to date. make[1]: `gforth-ditc' is up to date. make[1]: `gforth-fast' is up to date. make[1]: `gforth-itc' is up to date. cp -p engine/gforth-fast gforth-fast cp -p kernl32b.fi kernl32b.fi~ cp -p kernl32b.fi- kernl32b.fi cp -p gforth gforth~ cp -p engine/gforth gforth cp -p engine/gforth-ditc gforth-ditc Each benchmark takes about 30s on a 486-66 (gcc-2.6.3 -DFORCE_REG) time ./gforth-fast --die-on-signal -p ".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site -forth:/usr/local/lib/gforth/0.6.2:/usr/local/share/gforth/0.6.2 :." siev.fs -e "main bye" real 0m0.723s user 0m0.712s sys 0m0.009s time ./gforth-fast --die-on-signal -p ".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site -forth:/usr/local/lib/gforth/0.6.2:/usr/local/share/gforth/0.6.2 :." bubble.fs -e "main bye" redefined cell redefined list real 0m0.946s user 0m0.935s sys 0m0.010s time ./gforth-fast --die-on-signal -p ".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site -forth:/usr/local/lib/gforth/0.6.2:/usr/local/share/gforth/0.6.2 :." matrix.fs -e "main bye" real 0m0.495s user 0m0.484s sys 0m0.010s time ./gforth-fast --die-on-signal -p ".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site -forth:/usr/local/lib/gforth/0.6.2:/usr/local/share/gforth/0.6.2 :." fib.fs -e "main bye" real 0m0.907s user 0m0.898s sys 0m0.010s ---------------------