Added micro benchmarking comparing raw parsing of a decoder that's reading directly out of the buffer without any framework weight versus the Decoder framework
This is possibly the target of optimizations for the Decoder and we could approximate the number after further testing.
You can compare the performance of the Decoder at this commit, and then at the subsequent optimization for comparisons.
optimizations on Decoder:
- Avoiding multiple instances
- stateless Decoder/Encoder (can always reuse the same instance now)
- avoiding intermediate Lists when possible (done on Transfer at this point only)
- a few optimizations based on tests
Removing unused stuff
Adding toString on EventImpl