Skip to content

metrics: move benchmarks to bencher 0.1.5#7011

Merged
alexpyattaev merged 2 commits intoanza-xyz:masterfrom
puhtaytow:metrics-bench-0
Jul 20, 2025
Merged

metrics: move benchmarks to bencher 0.1.5#7011
alexpyattaev merged 2 commits intoanza-xyz:masterfrom
puhtaytow:metrics-bench-0

Conversation

@puhtaytow
Copy link
Copy Markdown

Problem

Our benchmarking setup relies on nightly compiler which is not what we use for actual builds of agave. Using the same compiler (stable) for releases and benches would be preferable #5931

Summary of Changes

Moved benchmarks to bencher 0.1.5.

@mergify mergify Bot requested a review from a team July 17, 2025 04:58
@0xbrw
Copy link
Copy Markdown

0xbrw commented Jul 17, 2025

@kskalski or @alexpyattaev when you get a chance, can you take a look?

Comment thread metrics/benches/metrics.rs Outdated
extern crate test;

use {
bencher::{benchmark_group, benchmark_main, black_box, Bencher},
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

could we use std::hint::black_box ? might be a bit more future-ready

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Sure. Thank you 🙏

@alexpyattaev alexpyattaev self-requested a review July 17, 2025 20:29
@alexpyattaev alexpyattaev added the CI Pull Request is ready to enter CI label Jul 20, 2025
@anza-team anza-team removed the CI Pull Request is ready to enter CI label Jul 20, 2025
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.2%. Comparing base (e9ac77f) to head (a4c60e5).
Report is 26 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #7011   +/-   ##
=======================================
  Coverage    83.2%    83.2%           
=======================================
  Files         853      853           
  Lines      375116   375116           
=======================================
+ Hits       312225   312250   +25     
+ Misses      62891    62866   -25     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown

@alexpyattaev alexpyattaev left a comment

Choose a reason for hiding this comment

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

Thank you

@alexpyattaev alexpyattaev merged commit b024d6b into anza-xyz:master Jul 20, 2025
54 checks passed
puhtaytow added a commit to puhtaytow/agave that referenced this pull request Jul 24, 2025
* move benchmarks to bencher 0.1.5

* use std::hint::black_box where possible
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.

6 participants