Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Add analysis of single results #1460

Closed
wants to merge 2 commits into from

Conversation

HaoZeke
Copy link
Member

@HaoZeke HaoZeke commented Jan 6, 2025

Closes #370, #1452. Related to #789 but without leaning into the requirement of having to use asv's environment management.

This is still a WIP, clearly it needs to be folded into the Command pattern used throughout ASV (or pending a full switch to click).

@HaoZeke
Copy link
Member Author

HaoZeke commented Jan 9, 2025

Looks a bit like this:

python ../asv/comparer_bench.py .asv/results/rgx1gen11/a0f29428-conda-py3.11.json .asv/results/rgx1gen11/a0f29428-conda-py3.11-numpy.json .asv/results/benchmarks.json
Hello, comparing .asv/results/rgx1gen11/a0f29428-conda-py3.11.json and .asv/results/rgx1gen11/a0f29428-conda-py3.11-numpy.json!

All benchmarks:

| Change   | Before     | After     |   Ratio | Benchmark (Parameter)   |
|----------|------------|-----------|---------|-------------------------|
| +        | 34.0±0.1μs | 94.8±30μs |    2.79 | b [e]                   |
  • Technically benchmark.json is only used to get units which aren't reported (here) but probably should be.
  • The naming should be user defined, parameters need to work
  • Warning on very different samples

@HaoZeke
Copy link
Member Author

HaoZeke commented Jan 19, 2025

Closing in favor of the https://github.com/HaoZeke/asv_spyglass repo where changes can be tracked better.

@HaoZeke HaoZeke closed this Jan 19, 2025
@HaoZeke HaoZeke deleted the resultAnalysis branch January 19, 2025 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Help comparing benchmarks across virtualenvs
1 participant