Wait, what does this actually tell us?

2016-11-08 9:23 GMT+08:00 Bradley Lucier <lucier@math.purdue.edu>:
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/libimobiledevice/lib:/usr/local/Gambit/current/lib:/usr/local/netpbm10/lib:
../gsc/gsc -:~~bin=../bin,~~lib=../lib,~~include=../include -f -warnings
-o mix -exe mix.c
LD_LIBRARY_PATH=../lib:../gsi:../gsc:/usr/local/libimobiledevice/lib:/usr/local/Gambit/current/lib:/usr/local/netpbm10/lib:
./mix -:m4000 > test6.out
.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/libimobiledevice/lib:/usr/local/Gambit/current/lib:/usr/local/netpbm10/lib:
../gsc/gsc -:~~bin=../bin,~~lib=../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/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
[ 122|   0|   0] 100% ##########################################   1.6s
PASSED ALL 122 UNIT TESTS

while with it 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/libimobiledevice/lib:/usr/local/Gambit/current/lib:/usr/local/netpbm10/lib:
../gsc/gsc -:~~bin=../bin,~~lib=../lib,~~include=../include -f -warnings
-o mix -exe mix.c
LD_LIBRARY_PATH=../lib:../gsi:../gsc:/usr/local/libimobiledevice/lib:/usr/local/Gambit/current/lib:/usr/local/netpbm10/lib:
./mix -:m4000 > test6.out
.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/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
[ 122|   0|   0] 100% ##########################################   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