r7rs-benchmarks icon indicating copy to clipboard operation
r7rs-benchmarks copied to clipboard

chez: precompile before execution

Open rajeevn1 opened this issue 6 years ago • 3 comments

I think for a fairer comparison, chez benchmark should precompile the program and compatibility libraries before execution, as is done with gambit.

rajeevn1 avatar Nov 21 '19 18:11 rajeevn1

What leads you to believe they are not being compiled now?

justinethier avatar Nov 21 '19 18:11 justinethier

chez_comp function, as defined in the bench script, is empty.

rajeevn1 avatar Nov 21 '19 20:11 rajeevn1

AFAIU running a script in Chez at the command-line will compile it. The --compile-imported-libraries flag ensures also that the r7rs support libs are compiled. Given that the time recorded in results.Chez is recorded "inside" the script, there shouldn't be an issue here AFAIU.

wingo avatar Dec 02 '19 09:12 wingo