Skip to content

Multiple files #603

Answered by epompeii
yanpitangui asked this question in Q&A
Apr 5, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hey @yanpitangui , thank you for using Bencher and for the question. There are two ways to handle multiple benchmark result files:

  1. Invoke bencher run once for each result file.

If two reports have the same branch and hash, they will be considered to be from the same commit.
https://bencher.dev/docs/explanation/branch-selection/#--hash-hash

Two different reports will still be created, but the results will be tied to the same code version.

This option is recommended if you are using a built-in benchmark harness adapter.

  1. Hand-roll a parser for your benchmark results, aggregate those results, output the aggregate results in Bencher Metric Format, and finally pass the output to a single i…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yanpitangui
Comment options

Answer selected by yanpitangui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants