HyperLedger Caliper 报告格式问题

发布于 2025-01-12 13:52:08 字数 95 浏览 1 评论 0原文

如何提高 Caliper 报告中最大/最小/平均延迟小数点后的精度?它分别给了我 0.1/0/0 。我需要它是 0.1000/0.0000/0.0000。为了得到一些值来绘制。

how can I increase the precision after the decimal point in Caliper report for max/min/avg latency? it gives me 0.1/0/0 repectively. I need it to be 0.1000/0.0000/0.0000. in order to get some values to plot.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

单挑你×的.吻 2025-01-19 13:52:08

这是一个可配置的属性,默认值在此处定义
https://github.com/hyperledger/caliper/blob/5ee6aaa61176d42f90dadb1970b1a1e4a1bfe2b8/packages/caliper-core/lib/common/config/default.yaml#L49

如何更改这些值记录在此处
https://hyperledger.github.io/caliper/v0.4.2/runtime -config/

但我希望如果您在启动 caliper 时提供以下选项,它也可以

--caliper-report-precision 5

作为示例

It's a configurable property with the default value defined here
https://github.com/hyperledger/caliper/blob/5ee6aaa61176d42f90dadb1970b1a1e4a1bfe2b8/packages/caliper-core/lib/common/config/default.yaml#L49

How to alter these values is documented here
https://hyperledger.github.io/caliper/v0.4.2/runtime-config/

but I would hope that if you supplied the following option when you launch caliper that would also work

--caliper-report-precision 5

as an example

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文