logoalt Hacker News

blanchedyesterday at 9:47 PM1 replyview on HN

That's what the person you replied to is talking about, and they're right. Putting aside the final byte size (where protobuf also wins), protobuf is faster at both encoding and decoding than json. There are numerous benchmarks you can find that show this.

The advantages of json are not related to performance.


Replies

someothherguyytoday at 1:46 AM

doesn't seem universally true, https://github.com/protobufjs/protobuf.js/issues/2114#issue-...

show 1 reply