go test doesn't run main(), so you're actually benchmarking the failure case, and for whatever reason, gRPC fails much faster than REST. I've updated the code and added support for over-the-wire benchmarking at https://github.com/anzdaddy/grpc_v_rest.
go testdoesn't runmain(), so you're actually benchmarking the failure case, and for whatever reason, gRPC fails much faster than REST. I've updated the code and added support for over-the-wire benchmarking at https://github.com/anzdaddy/grpc_v_rest.