On Sat, 3 Oct 2026 22:02:22 GMT, Hai-May Chao <[email protected]> wrote:
>> Enhance SSLHandshake benchmark to measure the TLS 1.3 server authentication >> of an ML-DSA-65 server certificate and CertificateVerify, compared with an >> ECDSA P-256 server authentication profile, across classical and hybrid key >> exchange groups. >> >> --------- >> - [X] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > Hai-May Chao has updated the pull request incrementally with one additional > commit since the last revision: > > Benchmark with the updated ECDSA-P256 and ML-DSA-65 profiles > * ECDSA-P256 server leaf and ML-DSA-256 server leaf are issued by the same > RSA CA. > > * Both leaves have matching validity and extensions. > > * The intended variables are the server leaf public key and CertificateVerify > algorithm. > My eyes/brain can only process a small number of characters when comparing > lines of output. Codex agrees: > > The most useful benchmark change would be to shorten the single > `handshakeProfile` value while keeping its three parts recognizable. For > example: > > ``` > Benchmark (profile) (resume) Score Error > SSLHandshake.doHandshake 13/X25519/ECDSA false 404.449 4.465 > SSLHandshake.doHandshake 13/X25519/MLDSA false 506.364 4.522 > SSLHandshake.doHandshake 13/X+K768/ECDSA false 365.153 5.253 > SSLHandshake.doHandshake 13/X+K768/MLDSA false 444.084 3.053 > ``` Good point. Changed ouput to have a more compact 3-parts display value, and suggest keeping the ML-DSA parameter-set size. Also restored the original organization to show (resume) before (tlsProfile), and to show all resume=true rows, then all resume=false rows. Here is the updated output: Benchmark (resume) (tlsProfile) Mode Cnt Score Error Units SSLHandshake.doHandshake true 12/P256/ECDSA thrpt 15 17539.507 ± 110.476 ops/s SSLHandshake.doHandshake true 13/X25519/ECDSA thrpt 15 2655.856 ± 19.283 ops/s SSLHandshake.doHandshake true 13/P256/ECDSA thrpt 15 807.482 ± 2.769 ops/s SSLHandshake.doHandshake true 13/P384/ECDSA thrpt 15 226.067 ± 0.845 ops/s SSLHandshake.doHandshake true 13/X+K768/ECDSA thrpt 15 2232.653 ± 21.511 ops/s SSLHandshake.doHandshake true 13/P256+K768/ECDSA thrpt 15 766.111 ± 6.736 ops/s SSLHandshake.doHandshake true 13/P384+K1024/ECDSA thrpt 15 219.929 ± 1.019 ops/s SSLHandshake.doHandshake true 13/X25519/MLDSA65 thrpt 15 2768.334 ± 19.219 ops/s SSLHandshake.doHandshake true 13/P256/MLDSA65 thrpt 15 806.203 ± 3.129 ops/s SSLHandshake.doHandshake true 13/P384/MLDSA65 thrpt 15 226.152 ± 0.639 ops/s SSLHandshake.doHandshake true 13/X+K768/MLDSA65 thrpt 15 2315.563 ± 15.935 ops/s SSLHandshake.doHandshake true 13/P256+K768/MLDSA65 thrpt 15 765.528 ± 4.598 ops/s SSLHandshake.doHandshake true 13/P384+K1024/MLDSA65 thrpt 15 220.355 ± 0.964 ops/s SSLHandshake.doHandshake false 12/P256/ECDSA thrpt 15 602.105 ± 2.792 ops/s SSLHandshake.doHandshake false 13/X25519/ECDSA thrpt 15 1193.914 ± 11.668 ops/s SSLHandshake.doHandshake false 13/P256/ECDSA thrpt 15 588.628 ± 9.702 ops/s SSLHandshake.doHandshake false 13/P384/ECDSA thrpt 15 202.667 ± 1.889 ops/s SSLHandshake.doHandshake false 13/X+K768/ECDSA thrpt 15 1105.745 ± 7.163 ops/s SSLHandshake.doHandshake false 13/P256+K768/ECDSA thrpt 15 565.778 ± 7.406 ops/s SSLHandshake.doHandshake false 13/P384+K1024/ECDSA thrpt 15 197.621 ± 2.717 ops/s SSLHandshake.doHandshake false 13/X25519/MLDSA65 thrpt 15 1626.920 ± 10.059 ops/s SSLHandshake.doHandshake false 13/P256/MLDSA65 thrpt 15 667.596 ± 4.136 ops/s SSLHandshake.doHandshake false 13/P384/MLDSA65 thrpt 15 213.025 ± 1.223 ops/s SSLHandshake.doHandshake false 13/X+K768/MLDSA65 thrpt 15 1464.398 ± 8.174 ops/s SSLHandshake.doHandshake false 13/P256+K768/MLDSA65 thrpt 15 641.484 ± 3.832 ops/s SSLHandshake.doHandshake false 13/P384+K1024/MLDSA65 thrpt 15 208.622 ± 1.016 ops/s ------------- PR Comment: https://git.openjdk.org/jdk/pull/33111#issuecomment-6959629680
