edponce commented on a change in pull request #9712:
URL: https://github.com/apache/arrow/pull/9712#discussion_r594603148
##########
File path: docs/source/developers/benchmarks.rst
##########
@@ -103,6 +123,16 @@ expressions.
--suite-filter=compute-aggregate --benchmark-filter=Kernel \
/tmp/arrow-bench*/{WORKSPACE,master}/build
+Instead of rerunning benchmarks on comparison, a JSON file (generated by
+``archery benchmark run``) may be specified for the contender and/or the
+baseline.
+
+.. code-block:: shell
+ archery benchmark run --output=baseline.json $HOME/arrow/cpp/release-build
+ git checkout some-feature
+ archery benchmark run --output=contender.json $HOME/arrow/cpp/release-build
+ archery benchmark diff contender.json baseline.json
+
Review comment:
Thanks for adding this info. I will most likely benefit from the
capability of saving benchmark results in JSON files and being able to compare
them at will.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]