Open
Description
Feature request
I would love to have some standardized protobuf.js benchmarks, a hosted version of the benchmarks on jsPerf.com we understand the performance profile on other browsers and low-powered devices.
For the following operations
- .create()
- .from()
- .toObject()
- decoding from bytes
- encoding to bytes
Across Variations
Messages with ints, strings, enums only fields. Mixed fields, arrays, mixed arrays, messages, mixed messages, extensions, and nested protos.
Across Sizes
- small bytes (O(100-500) bytes)
- medium bytes (O(4-5) KB)
- large sized bytes (O(40-50) KB)
- jumbo-sized bytes (400-500 KB)
Stretch goals
- Measure memory used.
- Track historical performance (to avoid regression)
- Track values for standard configuration.
Happy to help collaborate, need to figure out a versioning and hosting story.