如何命名使用 Caliper 在线发送的运行?
我有一个基准测试,需要多次运行来比较结果,因为它需要使用不同的编译器和编译参数进行编译。当我执行它时,运行会通过简单的指示符在线发送:A、B、C 等。
我想配置 Caliper,以便可以为每次运行传递一个名称。这可能吗?
I have a benchmark that requires multiple runs to compare the results, since it needs to be compiled with different compilers and compile parameters. When I execute it, the runs are sent online with simple designators: A, B, C, etc.
I'd like to configure Caliper so that I can pass a name for each run. Is that possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
没有在客户端命名运行的机制。您可以通过查看结果 JSON 文件来确认这一点。我们考虑添加它并决定先等待有人请求。如果您在 Caliper 问题跟踪器中提交错误,我们会再次查看在添加该功能时。
There's no mechanism to name a run on the client side. You can confirm this by looking at the results JSON file. We considered adding it and decided we'd wait for somebody to request it first. If you file a bug in the Caliper issues tracker, we'll take another look at adding the feature.
根据此链接,您可以重命名服务器上运行的结果。但我没有发现任何可能为在机器上运行(卡尺在哪里运行)命名。
According to this link, you can rename results of run on the server. But I didn't found any possibility to give a name for run on machine, where is caliper running.