ecraven / r7rs-benchmarks

Benchmarks for various Scheme implementations. Taken with kind permission from the Larceny project, based on the Gabriel and Gambit benchmarks.
270 stars 32 forks source link

chez: precompile before execution #48

Closed rajeevn1 closed 1 month ago

rajeevn1 commented 4 years ago

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

justinethier commented 4 years ago

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

rajeevn1 commented 4 years ago

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

wingo commented 4 years ago

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.