TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Compare-perf: CLI tool for simple benchmarking with statistics

1 点作者 pserwylo超过 12 年前

1 comment

pserwylo超过 12 年前
The tool gives more meaningful statistics about test runs during benchmarking, e.g. by running two commands and seeing which performs better.<p>Here is some example output (taken from the slides linked to in the article):<p><pre><code> +------------------------------------------------------------------------------+ | + x | | + x | | + + x x x | | + ++ +++ + x xxx xx x | |++ ++++++++++++++++++ x x x xxx xxx xxxxx | |++ ++++++++++++++++++ +++ + ++ xxxxxxxxxx xxxxxxxxxxxxxxxx xx x xx| | |______MA______| |________A________| | +------------------------------------------------------------------------------+ N Min Max Median Avg Stddev x 57 45.62364 46.437353 45.93506 45.951554 0.19060973 + 57 44.785579 45.534727 45.042576 45.056702 0.16634531 Difference at 95.0% confidence -0.894852 +/- 0.0656777 -1.94738% +/- 0.142928% (Student's t, pooled s = 0.178889)</code></pre>