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

json.marshall faster #18

Open
0penMax opened this issue Jul 10, 2023 · 0 comments
Open

json.marshall faster #18

0penMax opened this issue Jul 10, 2023 · 0 comments

Comments

@0penMax
Copy link

0penMax commented Jul 10, 2023

golang 1.19
goarch: amd64
pkg: structhash
cpu: AMD Ryzen 7 1700 Eight-Core Processor
BenchmarkSimpleJSON-16 1894560 628.8 ns/op
BenchmarkSimpleDump-16 499706 2418 ns/op
BenchmarkFullJSON-16 299988 3937 ns/op
BenchmarkFullDump-16 79993 14874 ns/op
BenchmarkTagsJSON-16 2727174 441.4 ns/op
BenchmarkTagsDump-16 480078 2418 ns/op

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

No branches or pull requests

1 participant