Commit Graph

9675 Commits

Author SHA1 Message Date
yunjiaw26 0fd05f477a
Merge pull request #19696 from yunjiaw26/chunkedlist
Improve MPMCQueue Performance
2019-07-29 18:39:16 -07:00
yunjiaw26 f14f1dd61d
Merge pull request #19695 from yunjiaw26/bm_threadpool
Add threadpool benchmark and build files
2019-07-29 18:38:22 -07:00
rmstar 7bdf369b89
Merge pull request #19747 from rmstar/cronetexpt
Add C++ Cronet end2end tests
2019-07-29 14:01:58 -07:00
Yunjia Wang 8318e578db SpikyLoad: construct outside 2019-07-29 10:52:32 -07:00
Prashant Jaikumar 232725b99a Add C++ Cronet end2end tests 2019-07-29 10:48:35 -07:00
Yunjia Wang c3c24d089d Use Template 2019-07-29 10:30:09 -07:00
Mark D. Roth db3d8be647 Add MetadataInterface abstraction to LB policy API. 2019-07-27 12:35:38 -07:00
Mark D. Roth 99af46ca64
Merge pull request #19390 from markdroth/lb_policy_connected_subchannel
Second attempt: Hide ConnectedSubchannel from LB policy API.
2019-07-26 08:52:50 -07:00
Srini Polavarapu 71b86f0e71
Merge pull request #19659 from ascherkus/master
Document --noremotedb flag for grpc_cli.
2019-07-25 20:08:40 -07:00
Yunjia Wang 7c10819641 Fix comments 2019-07-25 15:31:26 -07:00
Mark D. Roth 224f0ef837 Second attempt: Hide ConnectedSubchannel from LB policy API. 2019-07-25 13:33:56 -07:00
Juanli Shen c3896fa84d Make Map<> movable 2019-07-25 10:37:22 -07:00
Mark D. Roth e54f788ec4
Merge pull request #19719 from markdroth/grpc_channel_init
Second attempt: Defer grpc shutdown until after channel destruction.
2019-07-24 15:30:22 -07:00
Yunjia Wang d87b5285ca Fix comment 2019-07-24 13:33:24 -07:00
Qiancheng Zhao 29480c4f6b add client idle filter 2019-07-24 10:04:41 -07:00
Yunjia Wang 0161de3a56 Addressing comments 2019-07-23 17:11:45 -07:00
Yunjia Wang efd6946d21 Reformat 2019-07-23 15:35:50 -07:00
apolcyn 162fccdb90
Merge pull request #19693 from apolcyn/control_plane_creds
Add experimental control plane creds C-core API
2019-07-23 10:54:57 -07:00
Yunjia Wang 9242fe122d AddSelf more scenarios 2019-07-23 09:47:26 -07:00
Mark D. Roth 46f706c99b Revert "Merge pull request #19686 from gnossen/revert_breakage"
This reverts commit 1f2398b0d5, reversing
changes made to 99169d811c.
2019-07-23 07:50:27 -07:00
Alexander Polcyn 609107586a Add a way for tests with LeakDetector to free the control plane creds map 2019-07-22 20:40:34 -07:00
Yunjia Wang 8278d3e6a5 Resolving comments 2019-07-22 17:24:09 -07:00
Alexander Polcyn 6898c23a5d Add experimental control plane creds C-core API 2019-07-22 16:03:02 -07:00
Moiz Haidry da85cec0f2 Add condition to avoid duplicate shutdown 2019-07-19 14:19:23 -07:00
Moiz Haidry f4b1182a10 Addressed review comments 2019-07-19 13:48:35 -07:00
Moiz Haidry 7e2c5845e1 Merge branch 'master' of https://github.com/grpc/grpc into fix_mutex 2019-07-19 12:29:31 -07:00
Yunjia Wang 847faf407f Removes unused variable error 2019-07-19 12:10:52 -07:00
Moiz Haidry 6d984166bd Porting Aaron Jacob's unit test that detecting the race 2019-07-19 11:45:33 -07:00
Yunjia Wang 85314b3fcc Re-format 2019-07-19 10:49:35 -07:00
Yunjia Wang f50301fde8 Add LIFO and Chunked List 2019-07-19 10:36:10 -07:00
Yunjia Wang c6bc2b1875 Add threadpool benchmark and build files 2019-07-19 10:23:22 -07:00
Karthik Ravi Shankar f1fc64274a
Merge pull request #19406 from karthikravis/callback-offload-only-not-bg-poller
Run callbacks on same thread if trigerred from background thread
2019-07-19 09:39:07 -07:00
yunjiaw26 1e607d3dc0
Merge pull request #19544 from yunjiaw26/thread_pool
Threadpool
2019-07-18 15:02:59 -07:00
Karthik Ravi Shankar 553eff9cb0 Fix a test failure due to unused variable and formatting 2019-07-18 14:03:19 -07:00
Karthik Ravi Shankar 7461407ad0 Merge branch 'master' into callback-offload-only-not-bg-poller 2019-07-18 14:00:02 -07:00
Richard Belleville 63b4f3d819 Revert "Merge pull request #19673 from markdroth/channel_grpc_init"
This reverts commit 4e21980716, reversing
changes made to 62b8a783fa.
2019-07-18 13:00:24 -07:00
Mark D. Roth 4e21980716
Merge pull request #19673 from markdroth/channel_grpc_init
Defer grpc shutdown until after channel destruction.
2019-07-18 07:19:47 -07:00
apolcyn abe550f8b2
Merge pull request #19661 from apolcyn/lower_dns_re_res_lower_bound
Increase lower bound on DNS re-resolution period to 30 seconds
2019-07-17 16:43:45 -07:00
Mark D. Roth 8cc5b8f680 Defer grpc shutdown until after channel destruction. 2019-07-17 16:35:14 -07:00
Yash Tibrewal d04f883d7c
Merge pull request #19381 from KeithMoyer/classmemaccess
Use struct-defined initialization when available
2019-07-17 14:42:57 -07:00
Alexander Polcyn 37126b5446 Lower min-time-between-resolutions for the goaway server test 2019-07-17 10:53:54 -07:00
Yunjia Wang 603054a29a Modify locality 2019-07-16 18:25:30 -07:00
Andrew Scherkus 4bf0048194 Document --noremotedb flag for grpc_cli.
It's surprising that grpc_cli always attempts to use the reflection
service even when providing local proto files. Document the
existence of a flag that surpresses this behavior.
2019-07-16 13:14:28 -04:00
Alexander Polcyn 3afb0b2635 Fix fallback test breaking on mac bazel 2019-07-15 18:43:01 -07:00
Yunjia Wang 34c76f527d Add default size 1 for thread pool 2019-07-15 17:58:51 -07:00
Arjun Roy b1d73a01f1 Removed duplicate static table from hpack table. Removed an or instruction for
every usage of static grpc metadata. Inlined hpack table lookups for static
metadata.

This leads to faster hpack parser creation:
BM_HpackParserInitDestroy 5.32µs ± 1% 0.06µs ± 1%  -98.91% (p=0.000 n=18+19)

And slightly faster parsing:
BM_HpackParserParseHeader<RepresentativeClientInitialMetadata, OnInitialHeader>
456ns ± 1%              435ns ± 1%   -4.74%        (p=0.000 n=18+19)
BM_HpackParserParseHeader<MoreRepresentativeClientInitialMetadata,
OnInitialHeader>
1.06µs ± 2%             1.04µs ± 2%   -1.82%        (p=0.000 n=19+20)

It also yields a slight (0.5 - 1.0 microsecond) reduction in CPU time for
fullstack unary pingpong:
BM_UnaryPingPong<TCP, NoOpMutator, NoOpMutator>/0/512
[polls/iter:3.0001                         ]            23.9µs ± 2%
23.0µs ± 1%  -3.63%          (p=0.002 n=6+6)
BM_UnaryPingPong<TCP, NoOpMutator, NoOpMutator>/0/32768
[polls/iter:3.00015                        ]            35.1µs ± 1%
34.2µs ± 1%  -2.57%          (p=0.036 n=5+3)
BM_UnaryPingPong<MinTCP, NoOpMutator, NoOpMutator>/8/0
[polls/iter:3.00011                        ]            21.7µs ± 3%
21.2µs ± 2%  -2.44%          (p=0.017 n=6+5)
2019-07-15 15:39:31 -07:00
Yunjia Wang a381dea062 reformat 2019-07-12 17:08:16 -07:00
Yunjia Wang c15d246f6a Add constructor test case 2019-07-12 14:56:07 -07:00
apolcyn 78565bf5bf
Merge pull request #19623 from apolcyn/grpclb_fallback_test
Add a test client for certain grpclb fallback scenarios
2019-07-12 00:54:55 -07:00
Alexander Polcyn 3958a53bf7 Address review comments; fix sanity 2019-07-11 19:08:27 -07:00