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

chore(bench): include fixers in linter benchmarks #5307

Merged

Conversation

DonIsaac
Copy link
Contributor

@DonIsaac DonIsaac commented Aug 28, 2024

Fixing code is an important part of linter logic. We want to make sure fixers for each rule, and the code responsible for applying those fixes, are included in benchmarks.

As it currently stands, fixer closures are applied regardless of whether the user wants fixers to be applied. However, this is an implementation detail and is subject to change. I also want to bench the performance of Fixer.

Copy link
Contributor Author

DonIsaac commented Aug 28, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @DonIsaac and the rest of your teammates on Graphite Graphite

@DonIsaac DonIsaac added the A-linter Area - Linter label Aug 28, 2024 — with Graphite App
@DonIsaac DonIsaac marked this pull request as ready for review August 28, 2024 17:55
Copy link

codspeed-hq bot commented Aug 28, 2024

CodSpeed Performance Report

Merging #5307 will not alter performance

Comparing don/08-28-chore_bench_include_fixers_in_linter_benchmarks (270fc53) with main (318479e)

Summary

✅ 29 untouched benchmarks

@DonIsaac DonIsaac added the 0-merge Merge with Graphite Merge Queue label Aug 28, 2024
Copy link

graphite-app bot commented Aug 28, 2024

Merge activity

  • Aug 28, 7:18 PM EDT: The merge label 'merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Aug 28, 7:19 PM EDT: DonIsaac added this pull request to the Graphite merge queue.
  • Aug 28, 7:19 PM EDT: The merge label 'merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Aug 28, 7:24 PM EDT: DonIsaac merged this pull request with the Graphite merge queue.

Fixing code is an important part of linter logic. We want to make sure fixers for each rule, and the code responsible for applying those fixes, are included in benchmarks.

As it currently stands, fixer closures are applied regardless of whether the user wants fixers to be applied. However, this is an implementation detail and is subject to change. I  also want to bench the performance of `Fixer`.
@DonIsaac DonIsaac force-pushed the don/08-28-chore_bench_include_fixers_in_linter_benchmarks branch from d672c06 to 270fc53 Compare August 28, 2024 23:19
@graphite-app graphite-app bot merged commit 270fc53 into main Aug 28, 2024
24 checks passed
@graphite-app graphite-app bot deleted the don/08-28-chore_bench_include_fixers_in_linter_benchmarks branch August 28, 2024 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0-merge Merge with Graphite Merge Queue A-linter Area - Linter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants