3 ms·
Any benchmarks against other PB implementations? Would love to see numbers against the JVM, and than against C++ or Rust. My gut feeling is anyway that PB in J
by still_grokking 4y ago
Any benchmarks against other PB implementations? Would love to see numbers against the JVM, and than against C++ or Rust.
My gut feeling is anyway that PB in JS is likely a failure against just using JSON (which the JS runtime implements in efficient native code).
- mnutt 4y agoNo, but anecdotally the others are probably a lot faster. And you can do even better than that with zero-copy serializations. But protobuf has very wide support and is decent enough in js, at least server-to-server. Having a schema is very valuable, and there are substantial size wins over JSON, even with gzip.