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

perf(fixer): enhance auto fix #80

Merged
merged 2 commits into from
Sep 30, 2024
Merged

perf(fixer): enhance auto fix #80

merged 2 commits into from
Sep 30, 2024

Conversation

notJoon
Copy link
Contributor

@notJoon notJoon commented Sep 30, 2024

Description

Improve performance and memory usage in Fixer

old version:    9111        113605 ns/op        7812 B/op         138 allocs/op
new version:  10000        104953 ns/op        7317 B/op         133 allocs/op
  • Execution time: 7.6% faster (104953 ns/op vs 113605 ns/op)
  • Memory allocation: 6.3% reduction (7317 B/op vs 7812 B/op)
  • Allocation count: 3.6% fewer allocations (133 allocs/op vs 138 allocs/op)

@notJoon notJoon added L-performance Lint: performance T-fixer Type: Auto fix labels Sep 30, 2024
@notJoon notJoon changed the title perf: enhance auto fix perf(fixer): enhance auto fix Sep 30, 2024
@notJoon notJoon marked this pull request as ready for review September 30, 2024 06:58
@notJoon notJoon merged commit 422dcdb into main Sep 30, 2024
5 checks passed
@notJoon notJoon deleted the perf-auto-fix branch September 30, 2024 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L-performance Lint: performance T-fixer Type: Auto fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant