Yunjia Wang
9242fe122d
AddSelf more scenarios
5 years ago
Mark D. Roth
46f706c99b
Revert "Merge pull request #19686 from gnossen/revert_breakage"
...
This reverts commit 1f2398b0d5
, reversing
changes made to 99169d811c
.
5 years ago
Yunjia Wang
8278d3e6a5
Resolving comments
5 years ago
Moiz Haidry
da85cec0f2
Add condition to avoid duplicate shutdown
5 years ago
Moiz Haidry
f4b1182a10
Addressed review comments
5 years ago
Yunjia Wang
847faf407f
Removes unused variable error
5 years ago
Moiz Haidry
6d984166bd
Porting Aaron Jacob's unit test that detecting the race
5 years ago
Yunjia Wang
85314b3fcc
Re-format
5 years ago
Yunjia Wang
c6bc2b1875
Add threadpool benchmark and build files
5 years ago
Karthik Ravi Shankar
553eff9cb0
Fix a test failure due to unused variable and formatting
5 years ago
Richard Belleville
63b4f3d819
Revert "Merge pull request #19673 from markdroth/channel_grpc_init"
...
This reverts commit 4e21980716
, reversing
changes made to 62b8a783fa
.
5 years ago
Mark D. Roth
8cc5b8f680
Defer grpc shutdown until after channel destruction.
5 years ago
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.
5 years ago
Alexander Polcyn
3afb0b2635
Fix fallback test breaking on mac bazel
5 years ago
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)
5 years ago
Alexander Polcyn
3958a53bf7
Address review comments; fix sanity
5 years ago
Alexander Polcyn
4999420c7d
Add a test client for certain grpclb fallback scenarios
5 years ago
Qiancheng Zhao
444806583d
lazy resolving lb policy creation
6 years ago
yang-g
5779dd935a
Qualify the error code with StatusCode::
6 years ago
Julien Boeuf
109edca971
Adding C++ API and implementation for STS credentials:
...
- marked as experimental.
- also changed the name of a field in the options struct.
6 years ago
Qiancheng Zhao
6de222a6ad
refactor response generator in client_lb_end2end_test
6 years ago
Yunjia Wang
fdc250d618
remove bencharmk
6 years ago
yunjiaw26
b0b81792ee
Delete bm_threadpool.cc
6 years ago
Yunjia Wang
a63cbfb61e
Fix headers order
6 years ago
Yunjia Wang
500cb1f99b
Reformat
6 years ago
Yunjia Wang
093dd768bb
reformat
6 years ago
Yunjia Wang
9421a27a76
Remove extra headers
6 years ago
Yunjia Wang
cac8afa159
Add benchmark
6 years ago
Moiz Haidry
bf994e48d9
Move grpc async, callback and sync implementation to grpc_impl namespace
6 years ago
Moiz Haidry
1c354e7c1f
Move grpc async, callback and sync implementation to grpc_impl namespace
6 years ago
Soheil Hassas Yeganeh
dbf88dd66f
Revert "Revert "Introduce string_view and use it for gpr_split_host_port.""
...
This reverts commit 80c177d4c4
.
6 years ago
Qixuan Li
913acf456b
fix minor nits
6 years ago
Qixuan Li
0e85762b67
add pick_first_unary
6 years ago
Soheil Hassas Yeganeh
80c177d4c4
Revert "Introduce string_view and use it for gpr_split_host_port."
6 years ago
Karthik Ravi Shankar
2602bdd3e4
Address review comments
6 years ago
Karthik Ravi Shankar
514413de70
Clang formatting errors
6 years ago
Karthik Ravi Shankar
c041acb7a7
Fix the unit tests to exercise nesting correctly.
6 years ago
Karthik Ravi Shankar
44160d2b65
Add unit test to check the re-entrancy of callbacks
6 years ago
Moiz Haidry
fbd5957ee8
Sanity and build fixes
6 years ago
Moiz Haidry
63083d4472
Code cleanup
6 years ago
Moiz Haidry
3ce20819cf
Modify codegen to use grpc_impl namespace and other cleanups
6 years ago
Soheil Hassas Yeganeh
ef0f9bf7ec
Introduce string_view and use it for gpr_split_host_port.
6 years ago
Prashant Jaikumar
43628b286f
Update googletest version to v1.8.1
...
Bazel builds of test/cpp/end2end:end2end_test were failing on Mac OS with v1.8.0 due to missing gtest symbols. The issue is not seen in v1.8.1. A WORKSPACE file was added to gtest repo in 1.8.1, so gtest.BUILD can be removed.
6 years ago
Prashant Jaikumar
fbfb93c88f
Fix C++ tests to run on iOS
...
- Define grpc_iomgr_run_in_background in iomgr_posix_cfstream.cc
- Use *_IF_SUPPORTED() for death tests
- Move global test init, teardown to SetUpTestCase, TearDownTestCase as GTMGoogleTestRun doesn't run main()
6 years ago
Yash Tibrewal
56a0153f16
Heap allocate the stream object for other benchmark cases too
6 years ago
Yash Tibrewal
cceca10a8a
Fix data race, heap use-after-free issue in bm_chttp2_transport
6 years ago
Yash Tibrewal
219c3b38aa
Clang-tidy
6 years ago
Yash Tibrewal
90f1c32b85
Sanity checks and return value
6 years ago
Muxi Yan
f5551f1138
Revert " Added some Objective C tests and minor bug fixes."
6 years ago
Yash Tibrewal
94e7edad99
Add Delegating Channel
6 years ago