Set up some basic benchmarks as part of the unit tests
Open
Nobody has claimed this yet.
ci
- Dominant language
- Python
- Stars
- 11.5k
- Forks
- 903
- Avg merge
- 4d 17h
- Merged PRs (30d)
- 18
Description
https://pypi.org/project/pytest-benchmark/ looks great for this.
Here's how to run it as a github action: https://github.com/rhysd/github-action-benchmark/blob/master/examples/pytest/README.md
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the pytest-benchmark project and the linked github-action-benchmark pytest example, then locate Datasette's existing unit-test configuration. Done means basic benchmarks run with the test suite and a GitHub Action reports benchmark results. Confirm the expected command and CI integration from the repository before making changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, python
- Domain
- ci-cd, performance, testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100