On Wed, 19 Nov 2025 21:51:32 GMT, Sergey Kuksenko <[email protected]> wrote:
> What is the reason to add a new microbenchmark? We already have enough micros
> covering MLDSA:
>
> org.openjdk.bench.javax.crypto.full.KeyPairGeneratorBench.MLDSA.generateKeyPair
> org.openjdk.bench.javax.crypto.full.SignatureBench.MLDSA.sign
> org.openjdk.bench.javax.crypto.full.SignatureBench.MLDSA.verify
> org.openjdk.bench.javax.crypto.small.KeyPairGeneratorBench.MLDSA.generateKeyPair
> org.openjdk.bench.javax.crypto.small.SignatureBench.MLDSA.sign
> org.openjdk.bench.javax.crypto.small.SignatureBench.MLDSA.verify
I can definitely remove it, got no strong attachment to it.. I did find it
useful during development and thought it might be useful during review to
verify performance.. but the usefulness of it beyond is indeed debatable.
You might notice its a lot more 'granular'; it measures the performance of the
intrinsics themselves, not the ("10-level deep") "wrappers". That said, those
"wrappers" is what actual user will see and what we should be measuring.
This new benchmark is only useful to another intrinsic developer.. (but it
should already be usable by other platforms not just Intel?)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28136#issuecomment-3554793447