thats most of the benchmarking

strange about the puts in soml, hard to see where a factor of 10 would
come from
This commit is contained in:
Torsten Ruger
2015-11-20 23:51:58 +02:00
parent 28836457c5
commit 96972dab29
13 changed files with 115 additions and 30 deletions

View File

@@ -29,6 +29,8 @@ module RuntimeTests
def check ret = nil
load_program
check_remote ret
exit
interpreter = Register::Interpreter.new
interpreter.start @machine.init
count = 0
@@ -59,9 +61,9 @@ module RuntimeTests
return unless box = connected
load_program
file = write_object_file
print "\nfile #{file} "
r_file = file.sub("./" , "salama/")
box.file_upload file , r_file
print "\nfile #{file} "
box.ld "-N", r_file
begin #need to rescue here as rye throws if no return 0
ret = box.aout # and we use return to mean something