Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Issue 787913003: Instrumenting SSL_do_handshake and UpdateServerCert to find jank (Closed)

Created:
6 years ago by vadimt
Modified:
5 years, 12 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Instrumenting SSL_do_handshake and UpdateServerCert to find jank. Last instrumentations showed that: SSL_do_handshake call is 17 jph (I mean janks per startup-hour) This excludes all callbacks that SSL_do_handshake can invoke. SSLClientSocketOpenSSL::UpdateServerCert is 5.8 jph. Adding instrumentations to differentiate the cert from no-cert cases. Also instrumenting SSLClientSocketOpenSSL::UpdateServerCert. BUG=424386 Committed: https://crrev.com/5a24328a073d1cf48b43c33def640c2f3a5dadad Cr-Commit-Position: refs/heads/master@{#309590}

Patch Set 1 #

Total comments: 2

Patch Set 2 : rsleevi@ comment #

Patch Set 3 : Fixing a type #

Total comments: 2

Patch Set 4 : More rsleevi@ comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -6 lines) Patch
M net/socket/ssl_client_socket_openssl.cc View 1 2 3 3 chunks +29 lines, -6 lines 0 comments Download
M net/ssl/openssl_platform_key_win.cc View 1 2 3 3 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (4 generated)
vadimt
rsleevi@, please review
6 years ago (2014-12-23 00:04:45 UTC) #2
Ryan Sleevi
https://codereview.chromium.org/787913003/diff/1/net/socket/ssl_client_socket_openssl.cc File net/socket/ssl_client_socket_openssl.cc (right): https://codereview.chromium.org/787913003/diff/1/net/socket/ssl_client_socket_openssl.cc#newcode928 net/socket/ssl_client_socket_openssl.cc:928: static bool is_first_handshake = true; Not LGTM. SSLClientSocketOpenSSL can ...
6 years ago (2014-12-23 00:12:30 UTC) #3
vadimt
https://codereview.chromium.org/787913003/diff/1/net/socket/ssl_client_socket_openssl.cc File net/socket/ssl_client_socket_openssl.cc (right): https://codereview.chromium.org/787913003/diff/1/net/socket/ssl_client_socket_openssl.cc#newcode928 net/socket/ssl_client_socket_openssl.cc:928: static bool is_first_handshake = true; Done. The logic behind ...
6 years ago (2014-12-23 00:56:13 UTC) #4
Ryan Sleevi
https://codereview.chromium.org/787913003/diff/40001/net/socket/ssl_client_socket_openssl.cc File net/socket/ssl_client_socket_openssl.cc (right): https://codereview.chromium.org/787913003/diff/40001/net/socket/ssl_client_socket_openssl.cc#newcode945 net/socket/ssl_client_socket_openssl.cc:945: } Still Not LGTM. The argument you make for ...
6 years ago (2014-12-23 01:11:25 UTC) #5
Ryan Sleevi
On 2014/12/23 01:11:25, Ryan Sleevi wrote: > https://codereview.chromium.org/787913003/diff/40001/net/socket/ssl_client_socket_openssl.cc > File net/socket/ssl_client_socket_openssl.cc (right): > > https://codereview.chromium.org/787913003/diff/40001/net/socket/ssl_client_socket_openssl.cc#newcode945 ...
6 years ago (2014-12-23 01:22:19 UTC) #6
vadimt
Do we want to differentiate 2 cases: 1. (RsaMethodSign / EcdsaMethodSign) is used 2. (RsaMethodSign ...
6 years ago (2014-12-23 03:12:43 UTC) #7
Ryan Sleevi
On 2014/12/23 03:12:43, vadimt wrote: > Do we want to differentiate 2 cases: > 1. ...
6 years ago (2014-12-23 03:25:37 UTC) #8
Ryan Sleevi
The below will help you distinguish w/ and w/o client certs. We could then dive ...
6 years ago (2014-12-23 03:28:14 UTC) #9
Ryan Sleevi
On 2014/12/23 03:25:37, Ryan Sleevi wrote: > On 2014/12/23 03:12:43, vadimt wrote: > > Do ...
6 years ago (2014-12-23 03:29:12 UTC) #10
vadimt
Cool, I dropped the initialization recognition and added cert / no cert recognition. I also ...
6 years ago (2014-12-23 15:57:53 UTC) #11
Ryan Sleevi
Please rewrite the description to match what you are instrumenting, and then LGTM.
5 years, 12 months ago (2014-12-23 18:56:37 UTC) #12
vadimt
Done
5 years, 12 months ago (2014-12-23 19:21:00 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/787913003/60001
5 years, 12 months ago (2014-12-23 19:21:52 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/10986)
5 years, 12 months ago (2014-12-23 21:15:25 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/787913003/60001
5 years, 12 months ago (2014-12-23 21:49:04 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 12 months ago (2014-12-24 00:26:47 UTC) #20
commit-bot: I haz the power
5 years, 12 months ago (2014-12-24 00:27:42 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5a24328a073d1cf48b43c33def640c2f3a5dadad
Cr-Commit-Position: refs/heads/master@{#309590}

Powered by Google App Engine
This is Rietveld 408576698