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

Enable Preview mode for formatter benchmarks #8944

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

MichaReiser
Copy link
Member

Summary

This PR enables preview mode for the formatter benchmark.

The reasoning for enabling preview mode is that most (significant) changes to the formatter are made to preview mode.
The "stable" style may get smaller bugfixes or we introduce new branching for preview styles. However, neither of these should have a significant impact on performance (a bug fix might, but I consider it less likely).
That's why benchmarking with preview style helps us catch significant regressions before shortly before a release when we promote a style to stable.

Test Plan

Codspeed

@MichaReiser
Copy link
Member Author

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

@MichaReiser MichaReiser added the internal An internal refactor or improvement label Dec 1, 2023
Copy link
Contributor

github-actions bot commented Dec 1, 2023

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@konstin konstin requested a review from zanieb December 1, 2023 08:30
@MichaReiser MichaReiser merged commit 506be68 into main Dec 1, 2023
17 checks passed
@MichaReiser MichaReiser deleted the formatter-benchmark-enable-preview branch December 1, 2023 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal An internal refactor or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants