Skip to content

Convert ASV benchmarks to pytest-benchmark#7799

Merged
pavoljuhas merged 17 commits intoquantumlib:mainfrom
pavoljuhas:asv-convert-to-benchmark
Jan 21, 2026
Merged

Convert ASV benchmarks to pytest-benchmark#7799
pavoljuhas merged 17 commits intoquantumlib:mainfrom
pavoljuhas:asv-convert-to-benchmark

Conversation

@pavoljuhas
Copy link
Collaborator

@pavoljuhas pavoljuhas commented Dec 9, 2025

This duplicates ASV benchmarks as follows:

  • circuit_construction.py to circuit_construction_perf.py
  • bench_linalg_decompositions.py to linalg_decompositions_perf.py
  • parameter_resolution.py to parameter_resolution_perf.py
  • randomized_benchmarking.py to randomized_benchmarking_perf.py
  • serialization.py to serialization_perf.py
  • transformers/routing.py to transformers/routing_perf.py
  • transformers/transformer_primitives.py to transformers/transformer_primitives_perf.py

Partially implements #7796

@github-actions github-actions bot added the size: L 250< lines changed <1000 label Dec 9, 2025
@codecov
Copy link

codecov bot commented Dec 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.57%. Comparing base (9aea3ba) to head (3b6cf68).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7799      +/-   ##
==========================================
- Coverage   99.57%   99.57%   -0.01%     
==========================================
  Files        1104     1104              
  Lines       98938    98984      +46     
==========================================
+ Hits        98517    98562      +45     
- Misses        421      422       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pavoljuhas pavoljuhas marked this pull request as ready for review January 16, 2026 00:32
@pavoljuhas pavoljuhas requested review from a team and vtomole as code owners January 16, 2026 00:32
Copy link
Contributor

@mhucka mhucka left a comment

Choose a reason for hiding this comment

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

LGTM

@pavoljuhas pavoljuhas added this pull request to the merge queue Jan 21, 2026
Merged via the queue into quantumlib:main with commit f65e3e9 Jan 21, 2026
40 checks passed
@pavoljuhas pavoljuhas deleted the asv-convert-to-benchmark branch January 21, 2026 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: L 250< lines changed <1000

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants