Description
The Perf.java performance test can be improved. Notably, it is only useful for testing Decoders at the moment. Upgrading it to run tests more consistently, support both read (Decoder) and write (Encoder) tests, and be more flexible in general will help us performance tune and spot regressions more easily.