Rich-T-kid commented on code in PR #12406:
URL: https://github.com/apache/arrow-rs/pull/12406#discussion_r4660669678


##########
CONTRIBUTING.md:
##########
@@ -336,16 +336,14 @@ If your PR proposes a performance improvement, include a 
summary of the benchmar
 
 A benchmark that improves is not enough on its own. State which part of the 
change produces the gain, for example by removing it and rerunning. Cover both 
well-predicted input (constant lengths, all valid) and poorly predicted input 
(random), because branchless code wins on the second and can lose on the first. 
Name the inputs that get slower and say whether real workloads are likely to 
hit them.
 
-If you need to add new benchmarks to cover your change, add them in a separate 
PR first (for example, [#9729]) or as the first commit of your PR. Either way, 
the automated benchmark runner can compare the change against a revision that 
already has the benchmarks. For a first commit, pass its SHA as the baseline:
+If you need to add new benchmarks to cover your change, add them as the first 
commit of the same PR. This lets reviewers see the benchmark and implementation 
together without requiring a separate benchmark PR. The automated benchmark 
runner can compare the implementation against the first commit by passing its 
SHA as the baseline:

Review Comment:
   we should also make a point to update the agents.md file to include the 
benchmark/ hash info. not strictly needed but it makes it easier



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to