-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add documentation about performance PRs, add (TBD) section on feature criteria #12372
Conversation
2. Is the code clear, and fits the style of the existing codebase? | ||
|
||
## Performance Improvements |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the new content
|
||
Please ensure any issues you raise contains a rationale and suggested alternative -- it is frustrating to be told "don't do it this way" without any clear reason or alternate provided. | ||
|
||
Some things to specifically check: | ||
|
||
1. Is the feature or fix covered sufficiently with tests (see `Test Organization` below)? | ||
1. Is the feature or fix covered sufficiently with tests (see the [Testing](testing.md) section)? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added link (there is actually no Testing Organization
section anymore below)
- [System level SQL Benchmarks](https://github.com/apache/datafusion/tree/main/benchmarks) | ||
- Microbenchmarks such as those in [functions/benches](https://github.com/apache/datafusion/tree/main/datafusion/functions/benches) | ||
|
||
If there is no suitable existing benchmark, you can create a new one. It helps |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good point, very often reviewing PRs we have to ask showing the actual performance benefit with existing benches or other performance tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks @alamb it looks more clear now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks @alamb This change makes the guide more friendly, especially for newcomers.
Which issue does this PR close?
Related to #12357
Rationale for this change
I think there is some "common knowledge" that is not explicitly written down anywhere
Specifically, that performance improvements should be accompanied by benchmark results (most recently this came up in #12270)
What changes are included in this PR?
Note I am not trying to change anything, only document the current reality.
Are these changes tested?
by doc CI
Are there any user-facing changes?
Docs