从条件生成HTML输出 [英] Generating HTML output from criterion
问题描述
在
There is a nice example of HTML output from criterion at http://bos.github.com/criterion/.
哪个命令行选项用于生成此输出?
Which command line option is used to generate this output?
答案到
An answer to a related question asserts that this output exits, but it does not seem to show up in the command line options when using --help
.
推荐答案
好吧,如果您只想要html输出,那么yourBench -o yourReport.html
将生成一些非常合理的输出.如果要使用自己的模板,请查看发行版中的template/report.tpl示例,并使用-t
选项.
Well if you just want html output, then yourBench -o yourReport.html
will generate some perfectly reasonable output. If you want to use your own template, look at the templates/report.tpl example in the distribution and use the -t
option.
这篇关于从条件生成HTML输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!