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

Add more comprehensive documentation on testing and benchmarking to CONTRIBUTING.md #5478

Merged
merged 3 commits into from
Mar 7, 2024

Conversation

monkwire
Copy link
Contributor

@monkwire monkwire commented Mar 6, 2024

Which issue does this PR close?

This does not address an issue.

Rationale for this change

This change will hopefully help new contributors run more comprehensive tests and benchmarks.

What changes are included in this PR?

This PR adds additional testing and benchmarking examples to CONTRIBUTING.md.

Are there any user-facing changes?

No, this PR does not change any code.

Copy link
Contributor

@tustvold tustvold left a comment

Choose a reason for hiding this comment

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

Looks good to me, thank you

@@ -134,6 +155,21 @@ Search for `allow(clippy::` in the codebase to identify lints that are ignored/a
- If you have several lints on a function or module, you may disable the lint on the function or module.
- If a lint is pervasive across multiple modules, you may disable it at the crate level.

## Running Benchmarks
Copy link
Contributor

Choose a reason for hiding this comment

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

You could also mention the ability to do

git checkout master

cargo bench --bench parse_time -- --save-baseline master

git checkout feature

cargo bench --bench parse_time -- --baseline master

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks! Just added that.

@tustvold tustvold merged commit c6ba0f7 into apache:master Mar 7, 2024
9 checks passed
@tustvold
Copy link
Contributor

tustvold commented Mar 7, 2024

Thanks again

@monkwire monkwire deleted the updatecontributingfile branch March 7, 2024 17:30
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.

2 participants