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

Config and proof-of-concept benchmarks with airspeed #443

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

wllgrnt
Copy link

@wllgrnt wllgrnt commented Mar 3, 2023

Motivation and Context

Airspeed (https://asv.readthedocs.io/en/stable/) is used by SciPy, NumPy etc to track the performance of each commit and catch perf regressions. They host their results online (https://pv.github.io/numpy-bench/) and run as part of the CI process but out of the box airspeed lets you serve a local html file.

This PR contains config and a basic set of benchmarks which, when run on the last 20 dev commits, generate the following:
image

(This is mostly for demo/discussion purposes, I could modify lots of our existing pytest suite to get more useful tracking and also look at remote hosting for the HTML if this is something we think would be useful.)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Adds a benchmarks/ folder with speed and memory tests
which we can use with airspeed to track perf over time.
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.

1 participant