benchmark-grpc-protobuf-vs-http-json
benchmark-grpc-protobuf-vs-http-json copied to clipboard
test result
I use your code to test performance between protobuff and http and someing weird were happend that the http takes less resource in my computer. Does it happened regularly?
go tool pprof httpjson.cpu File: benchmark-grpc-protobuf-vs-http-json.test Type: cpu Time: Jun 16, 2023 at 3:23pm (CST) Duration: 1.20s, Total samples = 1.20s (99.83%)
go tool pprof grpcprotobuf.cpu File: benchmark-grpc-protobuf-vs-http-json.test Type: cpu Time: Jun 16, 2023 at 3:21pm (CST) Duration: 2.30s, Total samples = 3.31s (143.71%) Entering interactive mode (type "help" for commands, "o" for options)