RFR: 8257074 Update the ByteBuffers micro benchmark
Chris Hegarty
chegar at openjdk.java.net
Wed Nov 25 13:36:04 UTC 2020
On Wed, 25 Nov 2020 13:12:34 GMT, Claes Redestad <redestad at openjdk.org> wrote:
> I do wonder if there's some value to at least some of these noisy, allocating variants, though. Could be interesting to zoom in on code where we allocate transient, small buffers, e.g. when encoding/decoding strings. But perhaps that needs to be designed differently and focus on a specific use case.
Yes, that is an interest case, but largely orthogonal to the primary use-case for this particular micro benchmark (or maybe; the primary use-case that I want to use this benchmark for ;-) ). It appears to me that the primary purpose is to evaluate the memory access operations, so I want to keep buffer allocation out of the picture. Of course, we could decide to just create a new benchmark, but then I'm not sure what we'd use the old one for.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1430
More information about the core-libs-dev
mailing list