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: kpp code #12

Merged
merged 15 commits into from
Jan 6, 2024
Merged

add: kpp code #12

merged 15 commits into from
Jan 6, 2024

Conversation

sshaplygin
Copy link
Owner

@sshaplygin sshaplygin commented Jan 4, 2024

Benchmarks update for inn.

Before PR:

goos: darwin
goarch: arm64
pkg: github.com/sshaplygin/docs-code/inn
BenchmarkGenerate-10                      748188              1575 ns/op             474 B/op         12 allocs/op
BenchmarkGenerateLegal-10                1689828               713.7 ns/op           320 B/op          9 allocs/op
BenchmarkGeneratePhysical-10             1000000              1026 ns/op             512 B/op         10 allocs/op
PASS
ok      github.com/sshaplygin/docs-code/inn     5.040s

After PR:

goos: darwin
goarch: arm64
pkg: github.com/sshaplygin/docs-code/inn
BenchmarkGenerate-10                      427836              2758 ns/op             425 B/op         22 allocs/op
BenchmarkGenerateLegal-10                 407042              2827 ns/op             424 B/op         22 allocs/op
BenchmarkGeneratePhysical-10              580882              2023 ns/op             377 B/op         19 allocs/op
PASS
ok      github.com/sshaplygin/docs-code/inn     4.603s

@sshaplygin sshaplygin merged commit 237ac15 into master Jan 6, 2024
1 check passed
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