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

Update benchmark for gogen-avro v10 #31

Open
actgardner opened this issue Oct 11, 2021 · 0 comments
Open

Update benchmark for gogen-avro v10 #31

actgardner opened this issue Oct 11, 2021 · 0 comments

Comments

@actgardner
Copy link

Hi! I'm the maintainer of gogen-avro. Thanks for putting together this comparison, it motivated me to make some performance improvements I've been thinking of for a while. The new v10 release includes these changes.

Running your benchmark locally on v9:

cpu: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
BenchmarkGoGenAvroDecode-12    	  493148	      2171 ns/op	     728 B/op	      45 allocs/op
BenchmarkGoGenAvroEncode-12    	 1618570	       739.8 ns/op	     256 B/op	       3 allocs/op
PASS
ok  	github.com/actgardner/gogen-avro/v9/test/benchmark	3.056s

Running your benchmark locally on v10:

cpu: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
BenchmarkGoGenAvroDecode-12    	  768646	      1401 ns/op	     320 B/op	      11 allocs/op
BenchmarkGoGenAvroEncode-12    	 1633623	       756.5 ns/op	     256 B/op	       3 allocs/op
PASS
ok  	github.com/actgardner/gogen-avro/v10/test/benchmark	3.085s
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