Interesting. Without --enable-multiple-threaded-vms I get
------------ TEST 6 (link and execute the code generated)
rm -f mix_.c mix.o mix_.o mix
LD_LIBRARY_PATH=../lib:../gsi:../gsc:/usr/local/ ../gsc/gsc -:~~bin=../bin,~~lib=../lib,~~libimobiledevice/lib:/usr/ local/Gambit/current/lib:/usr/ local/netpbm10/lib:
include=../include -f -warnings
-o mix -exe mix.c
LD_LIBRARY_PATH=../lib:../gsi:../gsc:/usr/local/ ./mix -:m4000 > test6.outlibimobiledevice/lib:/usr/ local/Gambit/current/lib:/usr/ local/netpbm10/lib:
.188 secs elapsed cpu time
heartbeat frequency = 244.68085106382978 Hz
diff test6.ok test6.out && \
rm -f test6.out mix.c mix_.c mix.o mix_.o mix
and
LD_LIBRARY_PATH=../lib:../gsi:../gsc:/usr/local/ ../gsc/gsc -:~~bin=../bin,~~lib=../lib,~~libimobiledevice/lib:/usr/ local/Gambit/current/lib:/usr/ local/netpbm10/lib:
include=../include -f -i test10.scm
------------ TEST 11 (run unit tests)
make ut
make[2]: Entering directory '/home/lucier/programs/gambit/gambit/tests'
LD_LIBRARY_PATH=../lib:../gsi:../gsc:/usr/local/ while with it I getlibimobiledevice/lib:/usr/ local/Gambit/current/lib:/usr/ local/netpbm10/lib:
../gsi/gsi -:tl,~~bin=../bin,~~lib=../lib,~~include=../include -f
./run-unit-tests.scm
[ 122| 0| 0] 100% ########################################## 1.6s
PASSED ALL 122 UNIT TESTS
------------ TEST 6 (link and execute the code generated)
rm -f mix_.c mix.o mix_.o mix
LD_LIBRARY_PATH=../lib:../gsi:../gsc:/usr/local/ ../gsc/gsc -:~~bin=../bin,~~lib=../lib,~~libimobiledevice/lib:/usr/ local/Gambit/current/lib:/usr/ local/netpbm10/lib:
include=../include -f -warnings
-o mix -exe mix.c
LD_LIBRARY_PATH=../lib:../gsi:../gsc:/usr/local/ ./mix -:m4000 > test6.outlibimobiledevice/lib:/usr/ local/Gambit/current/lib:/usr/ local/netpbm10/lib:
.172 secs elapsed cpu time
heartbeat frequency = 203.48837209302326 Hz
*** possible problem: expected heartbeat frequency = 250. Hz
diff test6.ok test6.out && \
rm -f test6.out mix.c mix_.c mix.o mix_.o mix
and
------------ TEST 11 (run unit tests)
make ut
make[2]: Entering directory '/home/lucier/programs/gambit/gambit/tests'
LD_LIBRARY_PATH=../lib:../gsi:../gsc:/usr/local/ [ 122| 0| 0] 100% ##############################libimobiledevice/lib:/usr/ local/Gambit/current/lib:/usr/ local/netpbm10/lib:
../gsi/gsi -:tl,~~bin=../bin,~~lib=../lib,~~include=../include -f
./run-unit-tests.scm
############ 1.8s
PASSED ALL 122 UNIT TESTS
So the timing differences are now small, but the heartbeat frequency is
somewhat off.
So, improvement!
Brad
_______________________________________________
Gambit-list mailing list
Gambit-list@iro.umontreal.ca
https://webmail.iro.umontreal.ca/mailman/listinfo/gambit- list