Skip to content

GH-39666: [C++] Ensure CSV and JSON benchmarks present a bytes/s or items/s metric#39764

Merged
pitrou merged 1 commit intoapache:mainfrom
pitrou:gh39666-json-csv-benchmarks
Jan 23, 2024
Merged

GH-39666: [C++] Ensure CSV and JSON benchmarks present a bytes/s or items/s metric#39764
pitrou merged 1 commit intoapache:mainfrom
pitrou:gh39666-json-csv-benchmarks

Conversation

@pitrou
Copy link
Copy Markdown
Member

@pitrou pitrou commented Jan 23, 2024

Rationale for this change

Some of our microbenchmarks only present an iteration time in (nano,micro...)seconds. That is usually tedious to read and difficult to interpret.

What changes are included in this PR?

Ensure that benchmarks present a items/seconds and/or a bytes/seconds metric where that makes sense.

Are these changes tested?

Manually.

Are there any user-facing changes?

No.

Copy link
Copy Markdown
Contributor

@cyb70289 cyb70289 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't tried but looks good.

@github-actions github-actions bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Jan 23, 2024
@pitrou pitrou merged commit 3fe598a into apache:main Jan 23, 2024
@pitrou pitrou removed the awaiting committer review Awaiting committer review label Jan 23, 2024
@pitrou pitrou deleted the gh39666-json-csv-benchmarks branch January 23, 2024 17:36
@conbench-apache-arrow
Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 5 benchmarking runs that have been run so far on merge-commit 3fe598a.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

dgreiss pushed a commit to dgreiss/arrow that referenced this pull request Feb 19, 2024
…s or items/s metric (apache#39764)

### Rationale for this change

Some of our microbenchmarks only present an iteration time in (nano,micro...)seconds. That is usually tedious to read and difficult to interpret.

### What changes are included in this PR?

Ensure that benchmarks present a items/seconds and/or a bytes/seconds metric where that makes sense.

### Are these changes tested?

Manually.

### Are there any user-facing changes?

No.
* Closes: apache#39666

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[C++] CSV and JSON benchmarks should present a items/s or bytes/s metric

2 participants