3 ms·
> on the server, there are java libraries that are much faster than protobufs Be careful not to back broad arguments with outlier benchmarks. In general, it i
by kentonv 7y ago
> on the server, there are java libraries that are much faster than protobufs
Be careful not to back broad arguments with outlier benchmarks.
In general, it is plainly true that JSON is much more computationally difficult to encode and decode than Protobuf. Sure, if you compare a carefully micro-optimized JSON implementation against a less-optimized Protobuf implementation, it might win in some cases. That doesn't mean that Protobuf and JSON perform equivalently in general.
- ec109685 7y agoWhat is the reason not to use the micro optimized JSON implementation if parsing becomes your bottleneck?