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

Fix/performance #206

Merged
merged 4 commits into from
Sep 17, 2024
Merged

Fix/performance #206

merged 4 commits into from
Sep 17, 2024

Conversation

fujiwara
Copy link
Owner

refs #205

Before

BenchmarkLookupFile-8               3056            374179 ns/op          210225 B/op       2549 allocs/op

After

BenchmarkLookupFile-8               7789            143841 ns/op           89158 B/op        854 allocs/op

goos: linux
goarch: amd64
pkg: github.com/fujiwara/tfstate-lookup/tfstate
cpu: AMD Ryzen 5 3400G with Radeon Vega Graphics
BenchmarkLookupFile-8               3056            374179 ns/op          210225 B/op       2549 allocs/op
PASS
goos: linux
goarch: amd64
pkg: github.com/fujiwara/tfstate-lookup/tfstate
cpu: AMD Ryzen 5 3400G with Radeon Vega Graphics
BenchmarkLookupFile-8               5895            197672 ns/op          109939 B/op       1171 allocs/op
PASS
goos: linux
goarch: amd64
pkg: github.com/fujiwara/tfstate-lookup/tfstate
cpu: AMD Ryzen 5 3400G with Radeon Vega Graphics
BenchmarkLookupFile-8               7789            143841 ns/op           89158 B/op        854 allocs/op
PASS
@fujiwara fujiwara merged commit 4b5e629 into main Sep 17, 2024
4 checks passed
@fujiwara fujiwara deleted the fix/performance branch September 17, 2024 06:22
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.

1 participant