mapbox / pbf

A low-level, lightweight protocol buffers implementation in JavaScript.
BSD 3-Clause "New" or "Revised" License
801 stars 107 forks source link

Add protobuf.js to benchmarks #90

Closed ember-rose closed 6 years ago

ember-rose commented 6 years ago

I was doing some comparisons on various protocol buffer libraries for JS, and I thought others might benefit from a benchmark comparing pbf and protobuf.js. Pbf seems faster on this data set at encoding, and is on par for decoding. Cheers!

kjvalencik commented 6 years ago

Thanks! I'd be interested in seeing how they stack up against each other since it's been awhile since I looked. I originally switched to pbf because protobuf.js was incredibly slow. It sounds like it's gotten faster!