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 and Disposition at this point only)
- a few optimizations based on tests
Microbenchmark decoding Test on Disposition type
Adding toString on EventImpl
Flow Control Callback
Reverting disposition optimization for a quick test