【发布时间】:2012-04-01 13:50:54
【问题描述】:
我发现了一些使用标准here 的旧示例。看起来好像早在 2009 年它就支持用于绘制图形的命令行选项。
现在,当我导入标准 0.6 时,将其包装在一个基本应用程序中(以对其进行测试)并说 ./application --help 它只提供很少的可用选项,并且与绘图无关。在我看来,就输出格式和功能而言,2009 年的功能似乎比 2012 年更多?
似乎有一个 criterion-to-html 可以创建基本的 html 报告,但没有什么可以接近例如png 输出显示在上述网站或标准源包的示例目录中。
我在哪里可以找到准确和最新的信息?
./application --help
Usage: application [OPTIONS] [BENCHMARKS]
-h, -? --help print help, then exit
-G --no-gc do not collect garbage between iterations
-g --gc collect garbage between iterations
-I CI --ci=CI bootstrap confidence interval
-l --list print only a list of benchmark names
-o FILENAME --output=FILENAME report file to write to
-q --quiet print less output
--resamples=N number of bootstrap resamples to perform
-s N --samples=N number of samples to collect
-t FILENAME --template=FILENAME template file to use
-u FILENAME --summary=FILENAME produce a summary CSV file of all results
-V --version display version, then exit
-v --verbose print more output
If no benchmark names are given, all are run
Otherwise, benchmarks are run by prefix match
./application -k win
Error: unrecognized option `-k'
Run "application --help" for usage information
【问题讨论】:
-
试试
-k=win?这就是我过去使用的( -
@monadic 进行了编辑。请参见上文。
-
@J Fritsch 此外,IIRC 在构建标准以启用对图形的支持时有标志。尝试检查 cabal 文件
-
好的。 “除非你经历了安装 gtk 和 cairo 的痛苦过程”。我认为这对于每个 Linux 都是一样的。