0

I am looking to test various Scheme constructs for comparison purposes and was wondering how to go about doing so. I know Ruby has a dedicate module for such benchmarking and a web search does not appear to readily provide a Scheme version. Can Anyone point Me in the direction of such a facility? If it matters, I am using Chicken Scheme.

xuinkrbin.
  • 975
  • 2
  • 7
  • 17

2 Answers2

1

If you're after something really basic, you can use the time special form.

TomasHeran
  • 129
  • 1
  • 6
0

You can compile a program using -profile, then when you run it it will write a profiling file. This can then be analysed with the chicken-profile program.

This is documented in the "using the compiler" section of the manual (search for -profile).

sjamaan
  • 2,282
  • 10
  • 19