Closed alandau closed 9 years ago
Generally looks good to me, but I'd like to see @martint comments on the benchmark bits as JMH has a lot of knobs.
I think having benchmark results available is very important for perf changes. I don't mind having them in comments on the pull request rather than in the commit message, but I don't think deleting them is the right approach.
Standalone benchmark numbers are meaningless, but having a before vs after for a given optimization recorded in the commit message is very useful. It's what I normally do myself: https://github.com/airlift/slice/commit/bc86c85ad72c7b6d6eb49b944136c4bb32144b4a
Thanks for the comments! I need to rethink the benchmarks, I will commit the caching diff though.
Merged the cache diff. Updated benchmarks in this pull request for future reference and closing the pull request without committing them.
Serialization benchmarks and a big perf improvement