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

Issue 11885009: Improve performance of proxy resolver by tracing DNS dependencies. (Closed)

Created:
7 years, 11 months ago by eroman
Modified:
7 years, 10 months ago
Reviewers:
mmenke
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Improve performance of proxy resolver by tracing DNS dependencies. This replaces the multi-threaded V8 proxy resolver implementation, with a faster single-threaded one. The single-threaded version uses some magic to avoid blocking on DNS dependencies, so it is able to handle more parallel requests than the multi-threaded one. Design document: https://docs.google.com/a/chromium.org/document/d/16Ij5OcVnR3s0MH4Z5XkhI9VTPoMJdaBn9rKreAmGOdE/edit This has the benefit of reducing the number of threads that Chrome uses for PAC evaluation, while at the same time speeding up proxy resolving for PAC scripts that do DNS resolving (due to better parallelism). I ran a benchmark to evaluate the effectiveness of this new approach. The benchmark simulates loading the http://www.newyorktimes.com webpage with slow DNS (where each DNS resolve takes 2 seconds), and a maximum DNS resolver parallelism of 10 requests. This webpage resolves the proxy for 221 URLs, across 40 unique hostnames. - Proxy resolving using the old multithreaded code took 24.076 seconds [*] - Proxy resolving using the new code took 8.011 seconds [*] - Without a PAC script, resolving the DNS took 8.003 seconds The new proxy resolving times (8.011s) are much closer to the theoretical best (8.003s)! [*] The PAC script I used for the test was a fairly complex script 20kb (a version of google's corp PAC script modified to always call dnsResolve(host)). I will be adding histograms in a follow-up CL, to measure how often requests need to be restarted, or fall-back to synchronous mode. BUG=119151 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=179714

Patch Set 1 #

Patch Set 2 : Remove GetLoadStateThreadSafe from mac and windows #

Patch Set 3 : Remove unused header file from net.gyp #

Patch Set 4 : retry uploading since last one was corrupt #

Patch Set 5 : Fix a race during cancellation #

Patch Set 6 : Silence a bogus ios compiler warning #

Patch Set 7 : mark cancelled_ as volatile to see if it appeases TSAN #

Patch Set 8 : Fix race for realz, so works even if host resolver deletes callback #

Patch Set 9 : use CancellationFlag instead of raw bool #

Patch Set 10 : try to fix android bot #

Patch Set 11 : rebase off trunk #

Total comments: 54

Patch Set 12 : address some of mmenke comments #

Patch Set 13 : de-inline all the methods of Job #

Patch Set 14 : Reorgnize states and functions for better readability #

Patch Set 15 : whitespace changes #

Total comments: 100

Patch Set 16 : Remove MD5 digest #

Patch Set 17 : Address "most" of mmenkes comments #

Patch Set 18 : rebase on head #

Patch Set 19 : Add CHECKs that all requests are cancelled #

Patch Set 20 : LIKE A BOSS #

Patch Set 21 : MOAR TEST #

Patch Set 22 : that's what she said #

Total comments: 83

Patch Set 23 : Run pending tasks after each test #

Patch Set 24 : Address mmneke comments #

Total comments: 2

Patch Set 25 : but wait, there's more! #

Patch Set 26 : Rebase on head AND add test for dnsResolveEx() failure #

Patch Set 27 : Make sure nothing changed #

Patch Set 28 : re-upload due to failure last time #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2340 lines, -1614 lines) Patch
M build/android/pylib/gtest/single_test_runner.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/net/connection_tester.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/net/proxy_service_factory.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M net/base/capturing_net_log.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +4 lines, -0 lines 0 comments Download
M net/base/capturing_net_log.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 4 chunks +12 lines, -3 lines 0 comments Download
M net/base/mock_host_resolver.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 4 chunks +19 lines, -1 line 0 comments Download
M net/base/mock_host_resolver.cc View 4 chunks +9 lines, -1 line 0 comments Download
A net/data/proxy_resolver_v8_tracing_unittest/dns.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +31 lines, -0 lines 0 comments Download
A net/data/proxy_resolver_v8_tracing_unittest/dns_during_init.js View 1 chunk +14 lines, -0 lines 0 comments Download
A net/data/proxy_resolver_v8_tracing_unittest/error.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +8 lines, -0 lines 0 comments Download
A net/data/proxy_resolver_v8_tracing_unittest/global_sideffects1.js View 1 chunk +14 lines, -0 lines 0 comments Download
A net/data/proxy_resolver_v8_tracing_unittest/global_sideffects2.js View 1 chunk +18 lines, -0 lines 0 comments Download
A net/data/proxy_resolver_v8_tracing_unittest/global_sideffects3.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +13 lines, -0 lines 0 comments Download
A net/data/proxy_resolver_v8_tracing_unittest/global_sideffects4.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +15 lines, -0 lines 0 comments Download
A + net/data/proxy_resolver_v8_tracing_unittest/simple.js View 1 chunk +1 line, -2 lines 0 comments Download
A net/data/proxy_resolver_v8_tracing_unittest/simple_dns.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +8 lines, -0 lines 0 comments Download
A net/data/proxy_resolver_v8_tracing_unittest/too_many_alerts.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +13 lines, -0 lines 0 comments Download
A net/data/proxy_resolver_v8_tracing_unittest/too_many_empty_alerts.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +13 lines, -0 lines 0 comments Download
M net/http/http_network_transaction_spdy2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -6 lines 0 comments Download
M net/http/http_network_transaction_spdy3_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -6 lines 0 comments Download
M net/net.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 5 chunks +4 lines, -8 lines 0 comments Download
M net/net_unittests.isolate View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +11 lines, -0 lines 0 comments Download
M net/proxy/mock_proxy_resolver.h View 1 chunk +0 lines, -2 lines 0 comments Download
M net/proxy/mock_proxy_resolver.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M net/proxy/multi_threaded_proxy_resolver.h View 1 chunk +0 lines, -2 lines 0 comments Download
M net/proxy/multi_threaded_proxy_resolver.cc View 2 chunks +0 lines, -15 lines 0 comments Download
M net/proxy/multi_threaded_proxy_resolver_unittest.cc View 2 chunks +0 lines, -12 lines 0 comments Download
M net/proxy/proxy_resolver.h View 2 chunks +0 lines, -7 lines 0 comments Download
M net/proxy/proxy_resolver_error_observer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +6 lines, -4 lines 0 comments Download
D net/proxy/proxy_resolver_js_bindings.h View 1 chunk +0 lines, -92 lines 0 comments Download
D net/proxy/proxy_resolver_js_bindings.cc View 1 chunk +0 lines, -291 lines 0 comments Download
D net/proxy/proxy_resolver_js_bindings_unittest.cc View 1 chunk +0 lines, -365 lines 0 comments Download
M net/proxy/proxy_resolver_mac.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M net/proxy/proxy_resolver_mac.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M net/proxy/proxy_resolver_perftest.cc View 3 chunks +23 lines, -18 lines 0 comments Download
D net/proxy/proxy_resolver_request_context.h View 1 chunk +0 lines, -31 lines 0 comments Download
M net/proxy/proxy_resolver_v8.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +36 lines, -11 lines 0 comments Download
M net/proxy/proxy_resolver_v8.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 18 chunks +30 lines, -91 lines 0 comments Download
A net/proxy/proxy_resolver_v8_tracing.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +85 lines, -0 lines 0 comments Download
A net/proxy/proxy_resolver_v8_tracing.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +984 lines, -0 lines 0 comments Download
A net/proxy/proxy_resolver_v8_tracing_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +928 lines, -0 lines 0 comments Download
M net/proxy/proxy_resolver_v8_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 6 chunks +35 lines, -29 lines 0 comments Download
M net/proxy/proxy_resolver_winhttp.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M net/proxy/proxy_resolver_winhttp.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M net/proxy/proxy_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +0 lines, -13 lines 0 comments Download
M net/proxy/proxy_service_v8.h View 2 chunks +0 lines, -16 lines 0 comments Download
M net/proxy/proxy_service_v8.cc View 2 chunks +5 lines, -67 lines 0 comments Download
D net/proxy/sync_host_resolver.h View 1 chunk +0 lines, -31 lines 0 comments Download
D net/proxy/sync_host_resolver_bridge.h View 1 chunk +0 lines, -45 lines 0 comments Download
D net/proxy/sync_host_resolver_bridge.cc View 1 chunk +0 lines, -177 lines 0 comments Download
D net/proxy/sync_host_resolver_bridge_unittest.cc View 1 chunk +0 lines, -244 lines 0 comments Download

Messages

Total messages: 53 (0 generated)
eroman
Matt, could you review this for me? =)
7 years, 11 months ago (2013-01-12 00:45:30 UTC) #1
mmenke
On 2013/01/12 00:45:30, eroman wrote: > Matt, could you review this for me? > =) ...
7 years, 11 months ago (2013-01-12 00:51:16 UTC) #2
mmenke
On 2013/01/12 00:51:16, Matt Menke wrote: > On 2013/01/12 00:45:30, eroman wrote: > > Matt, ...
7 years, 11 months ago (2013-01-12 00:52:10 UTC) #3
eroman
No problem, take your time :) Thanks!
7 years, 11 months ago (2013-01-12 01:07:18 UTC) #4
mmenke
On 2013/01/12 01:07:18, eroman wrote: > No problem, take your time :) > Thanks! Patch ...
7 years, 11 months ago (2013-01-15 17:11:00 UTC) #5
eroman
I have re-uploaded to fix corrupt upload in patchset3. Reviewing patchset2 works too. Thanks
7 years, 11 months ago (2013-01-15 23:52:49 UTC) #6
mmenke
On 2013/01/15 23:52:49, eroman wrote: > I have re-uploaded to fix corrupt upload in patchset3. ...
7 years, 11 months ago (2013-01-17 20:55:35 UTC) #7
eroman
Thanks Matt! Actually I think some sort of PAC manager would be a good thing ...
7 years, 11 months ago (2013-01-17 21:10:39 UTC) #8
eroman
oops in previous message "2 threads" should have been "4 threads".
7 years, 11 months ago (2013-01-17 21:11:27 UTC) #9
mmenke
On 2013/01/17 21:11:27, eroman wrote: > oops in previous message "2 threads" should have been ...
7 years, 11 months ago (2013-01-17 21:14:44 UTC) #10
mmenke
On 2013/01/17 21:14:44, Matt Menke wrote: > On 2013/01/17 21:11:27, eroman wrote: > > oops ...
7 years, 11 months ago (2013-01-17 21:15:35 UTC) #11
mmenke
Still have yet to go over the tests. https://codereview.chromium.org/11885009/diff/42002/net/proxy/multi_threaded_proxy_resolver.h File net/proxy/multi_threaded_proxy_resolver.h (right): https://codereview.chromium.org/11885009/diff/42002/net/proxy/multi_threaded_proxy_resolver.h#newcode74 net/proxy/multi_threaded_proxy_resolver.h:74: class ...
7 years, 11 months ago (2013-01-18 19:59:40 UTC) #12
mmenke
https://codereview.chromium.org/11885009/diff/42002/net/proxy/proxy_resolver_v8_tracing.cc File net/proxy/proxy_resolver_v8_tracing.cc (right): https://codereview.chromium.org/11885009/diff/42002/net/proxy/proxy_resolver_v8_tracing.cc#newcode748 net/proxy/proxy_resolver_v8_tracing.cc:748: scoped_refptr<ProxyResolverScriptData> script_data_; On 2013/01/18 19:59:40, Matt Menke wrote: > ...
7 years, 11 months ago (2013-01-18 20:02:39 UTC) #13
eroman
https://codereview.chromium.org/11885009/diff/42002/net/proxy/multi_threaded_proxy_resolver.h File net/proxy/multi_threaded_proxy_resolver.h (right): https://codereview.chromium.org/11885009/diff/42002/net/proxy/multi_threaded_proxy_resolver.h#newcode74 net/proxy/multi_threaded_proxy_resolver.h:74: class NET_EXPORT_PRIVATE MultiThreadedProxyResolver On 2013/01/18 19:59:40, Matt Menke wrote: ...
7 years, 11 months ago (2013-01-23 03:26:02 UTC) #14
mmenke
Sorry again for my extreme slowness in reviewing this. Doing another pass now, but want ...
7 years, 11 months ago (2013-01-23 20:03:05 UTC) #15
mmenke
Sorry for being slow. Think I have a solid grasp of the code in context, ...
7 years, 11 months ago (2013-01-24 21:06:33 UTC) #16
eroman
https://codereview.chromium.org/11885009/diff/42002/net/proxy/proxy_resolver_v8_tracing.cc File net/proxy/proxy_resolver_v8_tracing.cc (right): https://codereview.chromium.org/11885009/diff/42002/net/proxy/proxy_resolver_v8_tracing.cc#newcode532 net/proxy/proxy_resolver_v8_tracing.cc:532: base::MD5Update(&exec_.dns_digest, base::IntToString(op)); On 2013/01/24 21:06:33, Matt Menke wrote: > ...
7 years, 11 months ago (2013-01-24 22:13:58 UTC) #17
eroman
OK I am convinced that you are right, the MD5 is unnecessary. I will remove ...
7 years, 11 months ago (2013-01-24 22:53:00 UTC) #18
mattmenke_gmail.com
On 2013/01/24 22:53:00, eroman wrote: > OK I am convinced that you are right, the ...
7 years, 11 months ago (2013-01-24 22:57:25 UTC) #19
mattmenke_gmail.com
On 2013/01/24 22:57:25, mattmenke wrote: > On 2013/01/24 22:53:00, eroman wrote: > > OK I ...
7 years, 11 months ago (2013-01-24 22:58:24 UTC) #20
mmenke
On 2013/01/24 22:58:24, mattmenke wrote: > On 2013/01/24 22:57:25, mattmenke wrote: > > On 2013/01/24 ...
7 years, 11 months ago (2013-01-24 23:00:10 UTC) #21
eroman
https://codereview.chromium.org/11885009/diff/42002/net/proxy/proxy_resolver_v8_tracing.cc File net/proxy/proxy_resolver_v8_tracing.cc (right): https://codereview.chromium.org/11885009/diff/42002/net/proxy/proxy_resolver_v8_tracing.cc#newcode642 net/proxy/proxy_resolver_v8_tracing.cc:642: return; On 2013/01/24 21:06:33, Matt Menke wrote: > On ...
7 years, 11 months ago (2013-01-24 23:07:15 UTC) #22
mmenke
On 2013/01/24 23:07:15, eroman wrote: > https://codereview.chromium.org/11885009/diff/42002/net/proxy/proxy_resolver_v8_tracing.cc > File net/proxy/proxy_resolver_v8_tracing.cc (right): > > https://codereview.chromium.org/11885009/diff/42002/net/proxy/proxy_resolver_v8_tracing.cc#newcode642 > ...
7 years, 11 months ago (2013-01-24 23:10:41 UTC) #23
eroman
Thanks for your detailed review comments! I have uploaded a patch that addresses most of ...
7 years, 11 months ago (2013-01-25 03:02:01 UTC) #24
mmenke
Just some quick responses. https://codereview.chromium.org/11885009/diff/56001/net/proxy/proxy_resolver_v8_tracing.cc File net/proxy/proxy_resolver_v8_tracing.cc (right): https://codereview.chromium.org/11885009/diff/56001/net/proxy/proxy_resolver_v8_tracing.cc#newcode300 net/proxy/proxy_resolver_v8_tracing.cc:300: Start(SET_PAC_SCRIPT, true /*blocking*/, callback); On ...
7 years, 11 months ago (2013-01-25 05:03:28 UTC) #25
mmenke
https://codereview.chromium.org/11885009/diff/56001/net/proxy/proxy_resolver_v8_tracing_unittest.cc File net/proxy/proxy_resolver_v8_tracing_unittest.cc (right): https://codereview.chromium.org/11885009/diff/56001/net/proxy/proxy_resolver_v8_tracing_unittest.cc#newcode447 net/proxy/proxy_resolver_v8_tracing_unittest.cc:447: } On 2013/01/25 03:02:01, eroman wrote: > On 2013/01/24 ...
7 years, 11 months ago (2013-01-25 05:07:46 UTC) #26
eroman
https://codereview.chromium.org/11885009/diff/56001/net/proxy/proxy_resolver_v8_tracing.cc File net/proxy/proxy_resolver_v8_tracing.cc (right): https://codereview.chromium.org/11885009/diff/56001/net/proxy/proxy_resolver_v8_tracing.cc#newcode300 net/proxy/proxy_resolver_v8_tracing.cc:300: Start(SET_PAC_SCRIPT, true /*blocking*/, callback); On 2013/01/25 05:03:28, Matt Menke ...
7 years, 11 months ago (2013-01-25 21:42:25 UTC) #27
mmenke
On 2013/01/25 21:42:25, eroman wrote: > Developers actually do use alerts(), so it is good ...
7 years, 11 months ago (2013-01-25 21:47:42 UTC) #28
eroman
net-internals and the chrome log On Fri, Jan 25, 2013 at 1:47 PM, <mmenke@chromium.org> wrote: ...
7 years, 11 months ago (2013-01-25 21:48:44 UTC) #29
mmenke
Neither of which is really exposed to developers. This is done deliberately, since net-internals isn't ...
7 years, 11 months ago (2013-01-25 21:52:52 UTC) #30
eroman
Sure, we can continue that discussion on another thread, since I think it is separate ...
7 years, 11 months ago (2013-01-25 22:00:31 UTC) #31
eroman
https://codereview.chromium.org/11885009/diff/42002/net/proxy/proxy_resolver_v8_tracing.h File net/proxy/proxy_resolver_v8_tracing.h (right): https://codereview.chromium.org/11885009/diff/42002/net/proxy/proxy_resolver_v8_tracing.h#newcode45 net/proxy/proxy_resolver_v8_tracing.h:45: ProxyResolverErrorObserver* error_observer, On 2013/01/18 19:59:40, Matt Menke wrote: > ...
7 years, 11 months ago (2013-01-25 22:11:39 UTC) #32
eroman
OK, I added some more cancellation tests, I think the coverage is in pretty good ...
7 years, 11 months ago (2013-01-26 01:13:55 UTC) #33
mmenke
On 2013/01/26 01:13:55, eroman wrote: > OK, I added some more cancellation tests, I think ...
7 years, 11 months ago (2013-01-26 01:37:13 UTC) #34
mmenke
A bunch of comments because I'm picky. Only holding off on signing off because I ...
7 years, 10 months ago (2013-01-29 20:19:08 UTC) #35
eroman
https://codereview.chromium.org/11885009/diff/56001/net/proxy/proxy_resolver_v8_tracing_unittest.cc File net/proxy/proxy_resolver_v8_tracing_unittest.cc (right): https://codereview.chromium.org/11885009/diff/56001/net/proxy/proxy_resolver_v8_tracing_unittest.cc#newcode447 net/proxy/proxy_resolver_v8_tracing_unittest.cc:447: } On 2013/01/29 20:19:08, Matt Menke wrote: > On ...
7 years, 10 months ago (2013-01-29 21:03:21 UTC) #36
mmenke
https://codereview.chromium.org/11885009/diff/56001/net/proxy/proxy_resolver_v8_tracing_unittest.cc File net/proxy/proxy_resolver_v8_tracing_unittest.cc (right): https://codereview.chromium.org/11885009/diff/56001/net/proxy/proxy_resolver_v8_tracing_unittest.cc#newcode447 net/proxy/proxy_resolver_v8_tracing_unittest.cc:447: } On 2013/01/29 21:03:21, eroman wrote: > On 2013/01/29 ...
7 years, 10 months ago (2013-01-29 21:10:46 UTC) #37
eroman
https://codereview.chromium.org/11885009/diff/56001/net/proxy/proxy_resolver_v8_tracing_unittest.cc File net/proxy/proxy_resolver_v8_tracing_unittest.cc (right): https://codereview.chromium.org/11885009/diff/56001/net/proxy/proxy_resolver_v8_tracing_unittest.cc#newcode447 net/proxy/proxy_resolver_v8_tracing_unittest.cc:447: } On 2013/01/29 21:10:47, Matt Menke wrote: > On ...
7 years, 10 months ago (2013-01-29 21:13:34 UTC) #38
eroman
https://codereview.chromium.org/11885009/diff/70002/net/net_unittests.isolate File net/net_unittests.isolate (right): https://codereview.chromium.org/11885009/diff/70002/net/net_unittests.isolate#newcode241 net/net_unittests.isolate:241: 'data/proxy_resolver_v8_tracing_unittest/too_many_empty_alerts.js', On 2013/01/29 20:19:08, Matt Menke wrote: > Mac ...
7 years, 10 months ago (2013-01-29 22:51:23 UTC) #39
mmenke
https://codereview.chromium.org/11885009/diff/70002/net/proxy/proxy_resolver_v8_tracing.cc File net/proxy/proxy_resolver_v8_tracing.cc (right): https://codereview.chromium.org/11885009/diff/70002/net/proxy/proxy_resolver_v8_tracing.cc#newcode338 net/proxy/proxy_resolver_v8_tracing.cc:338: Release(); On 2013/01/29 22:51:23, eroman wrote: > On 2013/01/29 ...
7 years, 10 months ago (2013-01-29 23:10:31 UTC) #40
eroman
https://codereview.chromium.org/11885009/diff/70002/net/proxy/proxy_resolver_v8_tracing.cc File net/proxy/proxy_resolver_v8_tracing.cc (right): https://codereview.chromium.org/11885009/diff/70002/net/proxy/proxy_resolver_v8_tracing.cc#newcode338 net/proxy/proxy_resolver_v8_tracing.cc:338: Release(); On 2013/01/29 23:10:31, Matt Menke wrote: > On ...
7 years, 10 months ago (2013-01-30 01:25:25 UTC) #41
mmenke
LGTM as-is. Worth checking the multiple IP case with *Ex? MockHostResolver supports comma-separated address lists, ...
7 years, 10 months ago (2013-01-30 01:34:20 UTC) #42
mmenke
On 2013/01/30 01:34:20, Matt Menke wrote: > LGTM as-is. > > Worth checking the multiple ...
7 years, 10 months ago (2013-01-30 01:36:39 UTC) #43
eroman
I have tests for where dnsResolveEx() returns multiple values. This is where I mock out ...
7 years, 10 months ago (2013-01-30 01:38:56 UTC) #44
mmenke
On 2013/01/30 01:38:56, eroman wrote: > I have tests for where dnsResolveEx() returns multiple values. ...
7 years, 10 months ago (2013-01-30 01:42:37 UTC) #45
eroman
Ok done. I will also re-run the micro benchmark I referenced in the CL description, ...
7 years, 10 months ago (2013-01-30 01:46:11 UTC) #46
mmenke
On 2013/01/30 01:46:11, eroman wrote: > Ok done. > > I will also re-run the ...
7 years, 10 months ago (2013-01-30 01:50:19 UTC) #47
mmenke
On 2013/01/30 01:50:19, Matt Menke wrote: > On 2013/01/30 01:46:11, eroman wrote: > > Ok ...
7 years, 10 months ago (2013-01-30 01:51:31 UTC) #48
eroman
No, unfortunately there isn't a metric from before to compare against
7 years, 10 months ago (2013-01-30 02:16:19 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/11885009/76157
7 years, 10 months ago (2013-01-30 03:07:18 UTC) #50
commit-bot: I haz the power
Presubmit check for 11885009-76157 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 10 months ago (2013-01-30 03:07:38 UTC) #51
eroman
I will be ignoring those presubmit warnings. The reason I think that is OK to ...
7 years, 10 months ago (2013-01-30 20:28:11 UTC) #52
mmenke
7 years, 10 months ago (2013-01-30 20:43:30 UTC) #53
On 2013/01/30 20:28:11, eroman wrote:
> I will be ignoring those presubmit warnings.
> 
> The reason I think that is OK to do:
> 
>  * The copyright warnings are for test data files -- I actually don't want all
> of those starting with comment lines, since it homogenizes the inputs to the
> test too much. I am not strongly opposed to adding them however.
> 
>  * The scoped AllowScopedIO warning is legitimate. However this CL is not
really
> adding a new bypass, it is simply moving an existing one (before it would have
> been hitting the one in ~MultiThreadedProxyResolver). Since this is not an
> addition, I think it is reasonable to defer the fix to http://crbug.com/69710.
> This CL is already large enough that I don't want to address the additional
> shutdown, cancellation, and leak concerns with trying to move the worker to a
> non-joinable thread.
> 
> I will likely be committing this manually later today.

I agree about the scoped IO.  The copyright warnings I have no strong feelings
about.

Powered by Google App Engine
This is Rietveld 408576698