0

我正在寻找测试各种方案结构以进行比较,并且想知道如何去做。我知道 Ruby 有一个用于此类基准测试的专用模块,而且网络搜索似乎并不容易提供 Scheme 版本。任何人都可以向我指出这样一个设施的方向吗?如果重要的话,我正在使用鸡计划。

4

2 回答 2

1

如果您追求一些非常基本的东西,您可以使用time特殊形式

于 2013-06-11T20:03:24.827 回答
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).

于 2014-08-15T09:36:34.433 回答