epompeii commented on issue #5504:
URL: 
https://github.com/apache/arrow-datafusion/issues/5504#issuecomment-1763385917

   @alamb the port of InfluxDB over to Rust is super cool. Congrats!
   I'm considering using it long term, if/when Bencher needs a supplemental 
backend for results storage.
   
   Before @Smurphy000 goes reinventing the wheel here though, I just wanted to 
point out that Bencher handles all of this out of the box. All you would need 
to do is add a flag to your existing runner to output JSON in the expected 
format, and you're set: https://bencher.dev/docs/explanation/adapters#-json
   Bencher would then handle Step 1 (example of [continuous benchmark 
dogfooding with 
Bencher](https://bencher.dev/perf/bencher?key=true&metric_kind=latency&tab=benchmarks&testbeds=0d991aac-b241-493a-8b0f-8d41419455d2&branches=619d15ed-0fbd-4ccb-86cb-fddf3124da29&benchmarks=3525f177-fc8f-4a92-bd2f-dda7c4e15699%2C1db23e93-f909-40aa-bf42-838cc7ae05f5&start_time=1674950400000&reports_per_page=4&reports_page=1&branches_per_page=8&branches_page=1&testbeds_per_page=8&testbeds_page=1&benchmarks_per_page=8&benchmarks_page=1))
   And the Bencher CLI makes it trivial to handle Step 2: `bencher run 
"./benchmarks/bench.sh data"`
   Then you could also detect performance regressions in CI and even have it 
comment on PRs: https://bencher.dev/docs/explanation/thresholds/
   
   As far as the orchestration of jobs from GitHub -> dedicated VM, this is 
something I am actively exploring making easier to do. I'm looking at creating 
an extension to Bencher for creating GitHub Actions Self-Hosted runners: 
https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners
   I'm also open to other ideas if you all have any!


-- 
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