RFR: 8270317: Large Allocation in CipherSuite
Clive Verghese
cverghese at openjdk.java.net
Thu Jul 15 17:55:11 UTC 2021
On Wed, 14 Jul 2021 19:30:23 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:
> Hi Clive Verghese,
>
> The performance improve is impressive to me. Would you mind have an additional benchmark for the throughput (@BenchmarkMode(Mode.Throughput))? I guess the throughput should be good as well.
>
> Thanks!
Sure, I'll add the Throughput mode and run the benchmarks.
> The benchmark you provided looks a bit odd... In variant 1 best and worst cases differ by 3 ns, and in variant 2 they differ by 45 ns. The algorithm is supposed to be the same, so... Where does the difference come from?
I'll rerun the benchmarks with larger iterations and investigate a bit further to understand this difference. Thank you for point it out.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4783
More information about the security-dev
mailing list