8000 multithreading benchmarking write-up by ctz · Pull Request #2207 · rustls/rustls · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

multithreading benchmarking write-up #2207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 29, 2024
Merged

multithreading benchmarking write-up #2207

merged 1 commit into from
Nov 29, 2024

Conversation

ctz
Copy link
Member
@ctz ctz commented Nov 12, 2024

Copy link
rustls-benchmarking bot commented Nov 12, 2024

Benchmark results

Instruction counts

Significant differences

There are no significant instruction count differences

Other differences

Click to expand 8000
Scenario Baseline Candidate Diff Threshold
handshake_no_resume_aws_lc_rs_1.2_rsa_aes_server 10405535 10447915 42380 (0.41%) 1.63%
handshake_no_resume_aws_lc_rs_1.3_rsa_chacha_server 10718089 10701891 -16198 (-0.15%) 0.84%
handshake_no_resume_aws_lc_rs_1.3_rsa_aes_server 10724555 10710094 -14461 (-0.13%) 1.00%
handshake_no_resume_ring_1.3_ecdsap256_chacha_client 3620376 3624594 4218 (0.12%) 0.46%
handshake_no_resume_aws_lc_rs_1.3_ecdsap384_aes_client 8612216 8602700 -9516 (-0.11%) 1.04%
handshake_no_resume_ring_1.3_ecdsap256_aes_client 3622873 3618884 -3989 (-0.11%) 0.20%
handshake_no_resume_aws_lc_rs_1.3_ecdsap256_aes_client 3077287 3080182 2895 (0.09%) 0.24%
handshake_no_resume_aws_lc_rs_1.3_ecdsap256_chacha_client 3081961 3082986 1025 (0.03%) 0.26%
handshake_no_resume_aws_lc_rs_1.3_ecdsap256_chacha_server 1176692 1176775 83 (0.01%) 0.20%
handshake_no_resume_aws_lc_rs_1.3_ecdsap384_chacha_client 8585006 8585532 526 (0.01%) 1.00%
handshake_no_resume_aws_lc_rs_1.3_ecdsap384_aes_server 2073856 2073771 -85 (-0.00%) 0.20%
handshake_no_resume_ring_1.3_ecdsap256_chacha_server 1613352 1613375 23 (0.00%) 0.20%
handshake_no_resume_aws_lc_rs_1.2_rsa_aes_client 1717602 1717624 22 (0.00%) 0.20%
handshake_no_resume_aws_lc_rs_1.3_rsa_chacha_client 1932461 1932483 22 (0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_ecdsap256_aes_client 58251176 58250539 -637 (-0.00%) 0.20%
handshake_no_resume_aws_lc_rs_1.3_rsa_aes_client 1925741 1925726 -15 (-0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_ecdsap384_chacha_server 30384826 30385011 185 (0.00%) 0.20%
handshake_no_resume_aws_lc_rs_1.3_ecdsap256_aes_server 1174303 1174310 7 (0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_ecdsap384_aes_client 27858853 27858688 -165 (-0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_rsa_aes_server 30424278 30424169 -109 (-0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_ecdsap384_chacha_client 27799235 27799137 -98 (-0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_ecdsap256_aes_client 27861260 27861162 -98 (-0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_ecdsap384_aes_server 30427639 30427745 106 (0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_rsa_chacha_server 28886316 28886412 96 (0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_rsa_aes_client 27865669 27865585 -84 (-0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_ecdsap256_chacha_server 30384524 30384433 -91 (-0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_ecdsap384_aes_client 28222754 28222675 -79 (-0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_ecdsap384_chacha_server 28889254 28889327 73 (0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_ecdsap384_chacha_client 28192839 28192904 65 (0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_rsa_aes_server 28964907 28964842 -65 (-0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_ecdsap256_aes_server 28967519 28967470 -49 (-0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_rsa_chacha_client 28199774 28199730 -44 (-0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_rsa_aes_client 28229550 28229588 38 (0.00%) 0.20%
handshake_no_resume_ring_1.3_ecdsap256_aes_server 1611985 1611983 -2 (-0.00%) 1.07%
handshake_no_resume_ring_1.3_ecdsap384_chacha_server 7566478 7566470 -8 (-0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_rsa_chacha_client 27805981 27805952 -29 (-0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_ecdsap256_aes_client 28225721 28225693 -28 (-0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_ecdsap256_aes_server 30427230 30427200 -30 (-0.00%) 0.20%
handshake_no_resume_ring_1.3_ecdsap384_chacha_client 35182605 35182582 -23 (-0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_rsa_chacha_server 30381475 30381458 -17 (-0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_ecdsap256_chacha_server 28889052 28889039 -13 (-0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_ecdsap256_chacha_client 27801558 27801547 -11 (-0.00%) 0.20%
handshake_no_resume_ring_1.3_ecdsap384_aes_client 35180665 35180652 -13 (-0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.3_ecdsap384_aes_server 28967606 28967615 9 (0.00%) 0.20%
handshake_no_resume_ring_1.3_ecdsap384_aes_server 7564314 7564316 2 (0.00%) 0.20%
transfer_no_resume_ring_1.2_rsa_aes_server 46389587 46389597 10 (0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.3_ecdsap256_chacha_client 28195930 28195924 -6 (-0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_ecdsap384_aes_server 46456943 46456935 -8 (-0.00%) 0.20%
transfer_no_resume_ring_1.3_ecdsap384_aes_server 46470682 46470690 8 (0.00%) 0.20%
transfer_no_resume_ring_1.3_ecdsap384_aes_client 58348748 58348757 9 (0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_ecdsap384_aes_client 58253412 58253420 8 (0.00%) 0.20%
transfer_no_resume_ring_1.2_rsa_aes_client 58235177 58235170 -7 (-0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_rsa_chacha_server 80661852 80661843 -9 (-0.00%) 0.20%
transfer_no_resume_ring_1.3_rsa_aes_server 46487097 46487102 5 (0.00%) 0.20%
transfer_no_resume_ring_1.3_ecdsap384_chacha_client 92682826 92682835 9 (0.00%) 0.20%
transfer_no_resume_ring_1.3_ecdsap256_aes_server 46467813 46467809 -4 (-0.00%) 0.20%
transfer_no_resume_ring_1.3_rsa_aes_client 58352507 58352502 -5 (-0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_rsa_chacha_client 92720780 92720773 -7 (-0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.2_rsa_aes_client 58191640 58191644 4 (0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.2_rsa_aes_server 46423839 46423836 -3 (-0.00%) 0.20%
transfer_no_resume_ring_1.3_ecdsap384_chacha_server 80540452 80540449 -3 (-0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_ecdsap384_chacha_server 80641262 80641259 -3 (-0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_ecdsap384_chacha_client 92716781 92716778 -3 (-0.00%) 0.20%
transfer_no_resume_ring_1.3_rsa_chacha_server 80554934 80554936 2 (0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_ecdsap256_chacha_server 80648878 80648880 2 (0.00%) 0.20%
transfer_no_resume_ring_1.3_rsa_chacha_client 92684669 92684671 2 (0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_rsa_aes_client 58255491 58255490 -1 (-0.00%) 0.20%
transfer_no_resume_ring_1.3_ecdsap256_aes_client 58341611 58341610 -1 (-0.00%) 0.20%
transfer_no_resume_ring_1.3_ecdsap256_chacha_client 92673767 92673766 -1 (-0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.2_rsa_aes_client 3872695 3872695 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_ecdsap384_aes_server 42065138 420651380 (0.00%) 0.20%
handshake_tickets_ring_1.2_rsa_aes_server 4695330 4695330 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_ecdsap256_aes_server 42064948 42064948 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_ecdsap384_chacha_server 41966108 41966108 0 (0.00%) 0.20%
handshake_no_resume_aws_lc_rs_1.3_ecdsap384_chacha_server 2076810 2076810 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_ecdsap384_aes_client 40289595 40289595 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_rsa_aes_server 41601128 41601128 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_ecdsap256_chacha_server 41965918 41965918 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_ecdsap384_chacha_client 40512717 40512717 0 (0.00%) 0.20%
handshake_session_id_ring_1.2_rsa_aes_server 4230790 4230790 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_rsa_chacha_server 41963018 41963018 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_ecdsap384_aes_client 40586975 40586975 0 (0.00%) 0.20%
handshake_tickets_ring_1.2_rsa_aes_client 4497603 4497603 0 (0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.2_rsa_aes_server 5020364 5020364 0 (0.00%) 0.20%
transfer_no_resume_ring_1.3_ecdsap256_chacha_server 80535648 80535648 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_ecdsap384_chacha_server 41484849 41484849 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_rsa_aes_server 42062048 42062048 0 (0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_ecdsap256_chacha_client 92714539 92714539 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_ecdsap384_aes_server 41603799 41603799 0 (0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_rsa_aes_server 46477538 46477538 0 (0.00%) 0.20%
handshake_no_resume_ring_1.2_rsa_aes_server 11292386 11292386 0 (0.00%) 0.20%
handshake_session_id_ring_1.2_rsa_aes_client 4236939 4236939 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_ecdsap384_chacha_client 40195207 40195207 0 (0.00%) 0.20%
handshake_tickets_aws_lc_rs_1.2_rsa_aes_client 4214929 4214929 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_rsa_aes_client 40296573 40296573 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_ecdsap256_aes_client 40292528 40292528 0 (0.00%) 0.20%
transfer_no_resume_aws_lc_rs_1.3_ecdsap256_aes_server 46464556 46464556 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_rsa_chacha_client 40519970 40519970 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_ecdsap256_aes_client 40590226 40590226 0 (0.00%) 0.20%
handshake_no_resume_ring_1.3_rsa_aes_server 11424773 11424773 0 (0.00%) 0.20%
handshake_no_resume_ring_1.2_rsa_aes_client 2563580 2563580 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_rsa_chacha_client 40202193 40202193 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_ecdsap256_chacha_server 41484771 41484771 0 (0.00%) 0.20%
handshake_session_id_aws_lc_rs_1.2_rsa_aes_server 3870183 3870183 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_ecdsap256_aes_server 41603721 41603721 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_rsa_aes_client 40594220 40594220 0 (0.00%) 0.20%
handshake_no_resume_ring_1.3_rsa_chacha_server 11430729 11430729 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_rsa_chacha_server 41482178 41482178 0 (0.00%) 0.20%
handshake_no_resume_ring_1.3_rsa_aes_client 2655903 2655903 0 (0.00%) 0.20%
handshake_session_id_ring_1.3_ecdsap256_chacha_client 40198148 40198148 0 (0.00%) 0.20%
handshake_tickets_ring_1.3_ecdsap256_chacha_client 40515976 40515976 0 (0.00%) 0.20%
handshake_no_resume_ring_1.3_rsa_chacha_client 2661768 2661768 0 (0.00%) 0.20%

Wall-time

Significant differences

There are no significant wall-time differences

Other differences

Click to expand
Scenario Baseline Candidate Diff Threshold
transfer_no_resume_aws_lc_rs_1.3_ecdsap256_aes 4.42 ms 4.50 ms 0.08 ms (1.74%) 3.87%
transfer_no_resume_aws_lc_rs_1.2_rsa_aes 5.00 ms 5.08 ms 0.08 ms (1.58%) 3.47%
transfer_no_resume_aws_lc_rs_1.3_ecdsap384_aes 5.14 ms 5.22 ms 0.08 ms (1.50%) 3.53%
transfer_no_resume_aws_lc_rs_1.3_rsa_aes 5.07 ms 5.14 ms 0.07 ms (1.46%) 3.60%
handshake_no_resume_aws_lc_rs_1.3_ecdsap256_aes 454.27 µs 460.30 µs 6.03 µs (1.33%) 2.99%
transfer_no_resume_ring_1.3_ecdsap256_aes 6.29 ms 6.37 ms 0.08 ms (1.26%) 2.64%
transfer_no_resume_ring_1.3_rsa_aes 6.78 ms 6.86 ms 0.08 ms (1.20%) 2.66%
handshake_no_resume_aws_lc_rs_1.3_ecdsap256_chacha 453.00 µs 458.31 µs 5.31 µs (1.17%) 2.83%
transfer_no_resume_ring_1.2_rsa_aes 6.71 ms 6.78 ms 0.08 ms (1.14%) 2.61%
handshake_no_resume_ring_1.3_ecdsap256_aes 502.34 µs 507.16 µs 4.82 µs (0.96%) 2.31%
transfer_no_resume_ring_1.3_ecdsap384_aes 9.44 ms 9.53 ms 0.09 ms (0.94%) 1.76%
handshake_no_resume_ring_1.3_ecdsap256_chacha 499.26 µs 503.62 µs 4.36 µs (0.87%) 2.39%
transfer_no_resume_ring_1.3_ecdsap256_chacha 12.92 ms 13.00 ms 0.09 ms (0.66%) 1.24%
transfer_no_resume_aws_lc_rs_1.3_ecdsap256_chacha 12.89 ms 12.97 ms 0.08 ms (0.63%) 1.45%
transfer_no_resume_aws_lc_rs_1.3_ecdsap384_chacha 13.61 ms 13.70 ms 0.09 ms (0.63%) 1.43%
transfer_no_resume_ring_1.3_rsa_chacha 13.43 ms 13.51 ms 0.08 ms (0.60%) 1.18%
transfer_no_resume_aws_lc_rs_1.3_rsa_chacha 13.54 ms 13.62 ms 0.08 ms (0.57%) 1.31%
transfer_no_resume_ring_1.3_ecdsap384_chacha 16.08 ms 16.17 ms 0.09 ms (0.57%) 1.00%
handshake_no_resume_aws_lc_rs_1.3_rsa_chacha 1.10 ms 1.11 ms 0.01 ms (0.53%) 3.19%
handshake_no_resume_ring_1.3_rsa_aes 994.89 µs 999.71 µs 4.82 µs (0.48%) 1.00%
handshake_no_resume_aws_lc_rs_1.3_ecdsap384_aes 1.17 ms 1.18 ms 0.00 ms (0.41%) 1.26%
handshake_no_resume_aws_lc_rs_1.3_ecdsap384_chacha 1.17 ms 1.18 ms 0.00 ms (0.41%) 1.13%
handshake_no_resume_ring_1.2_rsa_aes 991.07 µs 994.83 µs 3.75 µs (0.38%) 1.17%
handshake_no_resume_aws_lc_rs_1.3_rsa_aes 1.09 ms 1.09 ms 0.00 ms (0.34%) 1.97%
handshake_no_resume_ring_1.3_rsa_chacha 995.86 µs 999.04 µs 3.18 µs (0.32%) 1.05%
handshake_tickets_ring_1.2_rsa_aes 1.60 ms 1.61 ms 0.00 ms (0.29%) 1.35%
handshake_no_resume_aws_lc_rs_1.2_rsa_aes 1.06 ms 1.06 ms 0.00 ms (0.25%) 1.67%
handshake_session_id_aws_lc_rs_1.3_rsa_chacha 4.92 ms 4.91 ms -0.01 ms (-0.22%) 1.26%
handshake_tickets_aws_lc_rs_1.3_rsa_aes 5.13 ms 5.14 ms 0.01 ms (0.21%) 1.15%
handshake_session_id_aws_lc_rs_1.3_ecdsap384_chacha 4.98 ms 4.97 ms -0.01 ms (-0.19%) 1.27%
handshake_session_id_aws_lc_rs_1.3_ecdsap256_chacha 4.27 ms 4.26 ms -0.01 ms (-0.16%) 1.41%
handshake_no_resume_ring_1.3_ecdsap384_chacha 3.65 ms 3.66 ms 0.00 ms (0.13%) 1.00%
handshake_session_id_aws_lc_rs_1.2_rsa_aes 1.60 ms 1.60 ms -0.00 ms (-0.13%) 1.60%
handshake_session_id_ring_1.2_rsa_aes 1.52 ms 1.52 ms 0.00 ms (0.12%) 1.03%
handshake_tickets_aws_lc_rs_1.2_rsa_aes 1.77 ms 1.76 ms -0.00 ms (-0.11%) 1.53%
handshake_no_resume_ring_1.3_ecdsap384_aes 3.66 ms 3.66 ms 0.00 ms (0.10%) 1.00%
handshake_tickets_aws_lc_rs_1.3_rsa_chacha 5.13 ms 5.13 ms -0.00 ms (-0.08%) 1.44%
handshake_tickets_aws_lc_rs_1.3_ecdsap384_aes 5.20 ms 5.21 ms 0.00 ms (0.08%) 1.19%
handshake_session_id_aws_lc_rs_1.3_ecdsap256_aes 4.29 ms 4.28 ms -0.00 ms (-0.08%) 1.24%
handshake_tickets_aws_lc_rs_1.3_ecdsap384_chacha 5.19 ms 5.19 ms -0.00 ms (-0.08%) 1.11%
handshake_session_id_aws_lc_rs_1.3_ecdsap384_aes 5.00 ms 5.00 ms -0.00 ms (-0.06%) 1.28%
handshake_tickets_ring_1.3_ecdsap256_aes 6.52 ms 6.52 ms -0.00 ms (-0.05%) 1.00%
handshake_session_id_ring_1.3_rsa_chacha 6.89 ms 6.89 ms -0.00 ms (-0.05%) 1.00%
handshake_session_id_ring_1.3_ecdsap384_aes 9.59 ms 9.59 ms -0.00 ms (-0.05%) 1.00%
handshake_tickets_aws_lc_rs_1.3_ecdsap256_aes 4.49 ms 4.49 ms 0.00 ms (0.04%) 1.23%
handshake_tickets_ring_1.3_rsa_chacha 6.97 ms 6.96 ms -0.00 ms (-0.04%) 1.00%
handshake_session_id_ring_1.3_ecdsap256_aes 6.45 ms 6.45 ms 0.00 ms (0.04%) 1.00%
handshake_tickets_ring_1.3_ecdsap384_chacha 9.62 ms 9.62 ms -0.00 ms (-0.03%) 1.00%
handshake_session_id_ring_1.3_ecdsap256_chacha 6.40 ms 6.40 ms -0.00 ms (-0.03%) 1.00%
handshake_session_id_ring_1.3_rsa_aes 6.95 ms 6.95 ms -0.00 ms (-0.03%) 1.00%
handshake_tickets_ring_1.3_ecdsap256_chacha 6.47 ms 6.47 ms -0.00 ms (-0.02%) 1.00%
handshake_tickets_ring_1.3_rsa_aes 7.02 ms 7.02 ms -0.00 ms (-0.01%) 1.00%
handshake_session_id_aws_lc_rs_1.3_rsa_aes 4.94 ms 4.94 ms -0.00 ms (-0.01%) 1.35%
handshake_session_id_ring_1.3_ecdsap384_chacha 9.55 ms 9.55 ms -0.00 ms (-0.01%) 1.00%
handshake_tickets_aws_lc_rs_1.3_ecdsap256_chacha 4.47 ms 4.47 ms 0.00 ms (0.00%) 1.46%
handshake_tickets_ring_1.3_ecdsap384_aes 9.66 ms 9.66 ms 0.00 ms (0.00%) 1.00%

Additional information

Historical results

Checkout details:

Copy link
codecov bot commented Nov 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.65%. Comparing base (9864dae) to head (88b8e83).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2207   +/-   ##
=======================================
  Coverage   94.65%   94.65%           
=======================================
  Files         102      102           
  Lines       23917    23917           
=======================================
  Hits        22638    22638           
  Misses       1279     1279           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ctz ctz force-pushed the jbp-thr-perf-results branch from f122b4f to c19d1c1 Compare November 13, 2024 12:11
@ctz ctz force-pushed the jbp-thr-perf-results branch from 1e4f979 to 377f09f Compare November 21, 2024 13:55
@djc
Copy link
Member
djc commented Nov 21, 2024

Looks like the charts didn't make it into your PR? (At least they don't show up in the Rendered for me.)

@ctz ctz force-pushed the jbp-thr-perf-results branch from 377f09f to 09040e9 Compare November 21, 2024 15:37
@ctz
Copy link
Member Author
ctz commented Nov 21, 2024

Looks like the charts didn't make it into your PR? (At least they don't show up in the Rendered for me.)

Fixed

@djc
Copy link
Member
djc commented Nov 21, 2024

I think the log-scale x axis made things quite a bit better!

For the right-hand key numbers in those distribution charts you currently show N, min, mean, stddev, 99.9% and max. I think percentiles are generally a better (and the commonly accepted) way of thinking about latencies (which don't usually really follow a normal distribution), so I'd (a) skip N -- which is the same for all implementations anyway and (b) report P5, P50, P75 and P99 (or something like that). Might also be nice to see if you can better align the numbers vertically so that they're easier to vertically compare.

Also, still curious about OpenSSL numbers.

All in all, rustls perf is awesome, great work!

@ctz ctz force-pushed the jbp-thr-perf-results branch 2 times, most recently from 86a01bc to eb64230 Compare November 27, 2024 17:37
@ctz
Copy link
Member Author
ctz commented Nov 27, 2024

I've addressed comments thus far; tomorrow I will regenerate the data at specific versions.

@alex
Copy link
Contributor
alex commented Nov 27, 2024

Oh, should this measure against 3.4.0, since its been out for about a month?

@ctz ctz force-pushed the jbp-thr-perf-results branch 3 times, most recently from 7cdee57 to a71c04d Compare November 28, 2024 18:12
@ctz ctz marked this pull request as ready for review November 28, 2024 18:14
@ctz ctz force-pushed the jbp-thr-perf-results branch from a71c04d to ba4d8f5 Compare November 28, 2024 20:14
Copy link
Member
@djc djc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd still recommend getting rid of min, max (I think these are less relevant to the audience than P5/P99.9) and probably stddev. I'd probably also get rid of P75 and P99 (or P99.9) since these don't seem to add much information over the P50/P99.9 latencies that are already reported.

@ctz
Copy link
Member Author
ctz commented Nov 29, 2024

I'd still recommend getting rid of min, max (I think these are less relevant to the audience than P5/P99.9) and probably stddev. I'd probably also get rid of P75 and P99 (or P99.9) since these don't seem to add much information over the P50/P99.9 latencies that are already reported.

deleted min, max, stddev, P75 and P99.9. added P90. that leaves P5, P50, P90, P99. (this also avoids the formatting looking odd when where are fewer than 4 rows per table, heh)

@ctz ctz force-pushed the jbp-thr-perf-results branch from ba4d8f5 to 2a1d4dc Compare November 29, 2024 12:58
@ctz ctz enabled auto-merge November 29, 2024 13:01
@ctz ctz added this pull request to the merge queue Nov 29, 2024
@ctz ctz removed this pull request from the merge queue due to a manual request Nov 29, 2024
@ctz ctz force-pushed the jbp-thr-perf-results branch from 2a1d4dc to 88b8e83 Compare November 29, 2024 13:21
@ctz ctz enabled auto-merge November 29, 2024 13:26
@ctz ctz added this pull request to the merge queue Nov 29, 2024
Merged via the queue into main with commit 84af4d7 Nov 29, 2024
60 checks passed
@ctz ctz deleted the jbp-thr-perf-results branch November 29, 2024 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0