在Google基准测试中,iterms_per_seconds的含义是什么?为什么我们需要固定装置?

发布于 2025-02-07 00:46:19 字数 362 浏览 2 评论 0原文

在Google基准中: 有一个ITERMS_PER_SECONDS结果,我们可以使用固定方式测试工作台。

“

  1. Google Bench中ITERMS_PER_SECONDS的含义是什么?它是Throuput吗?
  2. 为什么需要固定装置来测试基准?这样,我们可以更方便吗?

In google benchmark:
there is a Iterms_per_seconds result and we can use the fixture way to test the bench.

enter image description here

enter image description here

  1. What is the meaning of Iterms_per_seconds in google bench? Is it stands the throuput?
  2. Why need the fixture to test benchmark? In this way , can we get more convenience?

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

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

发布评论

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

评论(1

手心的温暖 2025-02-14 00:46:19
  1. 每秒项目是吞吐量。项目由基准作者定义,是完全可选的。如果这更有意义,则基准作者还可以定义每秒处理的字节。

  2. 您不需要固定装置,但是它们提供了一种进行一次性设置和拆卸的方法。

  1. items per second is the throughput. items is defined by the benchmark author and is completely optional. the benchmark author can also define bytes processed for bytes per second, if that is more meaningful.

  2. you don't need fixtures, but they provide a way to do one-off setup and teardown.

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