Karthik Ravi Shankar
|
b790c24e5c
|
Revert "Start supporting a callback-based RPC under lock"
|
6 years ago |
Jan Tattermusch
|
81a2c849ab
|
regenerate C# protos
|
6 years ago |
Jan Tattermusch
|
1b8418b546
|
only generate full or lite client, never both
|
6 years ago |
Lidi Zheng
|
d835d1bb1f
|
Surface exception from metadata credentails plugin methods
|
6 years ago |
Jan Tattermusch
|
25e3d26e8c
|
C# lite client codegen
|
6 years ago |
Jan Tattermusch
|
8cecf605da
|
add LiteClientBase
|
6 years ago |
HarrisonXi
|
fa6c944f4c
|
remove notification observer to avoid iOS 8 crash
|
6 years ago |
yang-g
|
47dbf1dd26
|
Second approach
|
6 years ago |
Stanley Cheung
|
757aba8f3c
|
PHP: Fix ZTS build error
|
6 years ago |
Muxi Yan
|
2cb1892c77
|
address comments
|
6 years ago |
Arjun Roy
|
14c55dea4a
|
Inline more of md_unref for interned metadata.
In the common case, unref() for interned metadata was performing some
unnecessary branches. This patch reduces the instruction count from about 19 to
12 in the case where an unref() occured but it wasn't the last reference.
This has various speedups for chttp2_hpack, metadata and fullstack pingpong
benchmarks.
As a tradeoff, static/external metadata unref regresses slightly (fraction of a
nanosecond increase in CPU time) while interned improves (roughly 5 nanoseconds
reduction in CPU time).
Examples:
Fullstack:
BM_UnaryPingPong<InProcess, NoOpMutator, NoOpMutator>/8/8 [polls/iter:0 ]
7.12µs ± 4% 6.91µs ± 3% -3.00% (p=0.000 n=20+19)
BM_UnaryPingPong<TCP, NoOpMutator, NoOpMutator>/0/32768
[polls/iter:3.0001 ] 35.3µs ± 2% 34.9µs ± 0% -1.15% (p=0.048 n=8+4)
BM_UnaryPingPong<TCP, NoOpMutator, NoOpMutator>/32768/32768
[polls/iter:3.00014 ] 49.6µs ± 1% 49.0µs ± 1% -1.15% (p=0.017 n=7+3)
HpackParser:
BM_HpackEncoderInitDestroy
274ns ± 0% 254ns ± 0% -7.12% (p=0.000 n=19+19)
BM_HpackParserParseHeader<RepresentativeClientInitialMetadata, UnrefHeader>
173ns ± 0% 140ns ± 0% -19.04% (p=0.000 n=18+16)
BM_HpackParserParseHeader<MoreRepresentativeClientInitialMetadata, UnrefHeader>
751ns ± 1% 702ns ± 2% -6.50% (p=0.000 n=20+20)
BM_HpackParserParseHeader<RepresentativeServerTrailingMetadata, UnrefHeader>
50.6ns ± 0% 46.9ns ± 0% -7.29% (p=0.000 n=14+19)
BM_HpackParserParseHeader<RepresentativeClientInitialMetadata, OnInitialHeader>
486ns ± 1% 455ns ± 0% -6.42% (p=0.000 n=20+19)
BM_HpackParserParseHeader<MoreRepresentativeClientInitialMetadata,
OnInitialHeader>
1.17µs ± 1% 1.12µs ± 1% -4.18% (p=0.000 n=18+20)
BM_HpackParserParseHeader<RepresentativeServerInitialMetadata, OnInitialHeader>
163ns ± 1% 155ns ± 0% -4.52% (p=0.000 n=18+17)
Metadata:
BM_MetadataFromInternedKeyWithBackingStore 7.32ns ± 1%
6.67ns ± 0% -8.89% (p=0.000 n=20+17)
BM_MetadataFromStaticMetadataStringsNotIndexed 77.4ns ± 2%
79.6ns ± 0% +2.86% (p=0.000 n=18+19)
BM_MetadataRefUnrefExternal 1.74ns ± 0%
1.79ns ± 0% +2.65% (p=0.000 n=20+19)
BM_MetadataRefUnrefInterned 18.5ns ± 0%
13.3ns ± 0% -28.00% (p=0.000 n=17+17)
BM_MetadataRefUnrefAllocated 18.5ns ± 0%
13.3ns ± 0% -28.00% (p=0.000 n=17+18)
|
6 years ago |
Arjun Roy
|
7c8d6f6375
|
s/uintptr_t/intptr_t as requested
|
6 years ago |
Muxi Yan
|
7ec6669481
|
address comments
|
6 years ago |
Guantao Liu
|
740c931e23
|
Adjust the order of IOMgr initialization, so as to set up a customized
timer correctly.
Also, change the comment of grpc_timer::heap_index.
|
6 years ago |
Arjun Roy
|
f13abc071c
|
Inlined and saved some ops for grpc_is_binary_header.
Various improvements for parsing/encoding:
BM_HpackEncoderEncodeDeadline 171ns ± 0% 164ns ± 0% -3.74% (p=0.000 n=20+17)
BM_HpackEncoderEncodeHeader<SingleInternedKeyElem>/0/16384 102ns ± 1% 98ns ± 0% -3.28% (p=0.000 n=20+19)
BM_HpackParserParseHeader<AddIndexedSingleStaticElem, UnrefHeader> 177ns ± 1% 165ns ± 1% -6.41% (p=0.000 n=19+18)
BM_HpackParserParseHeader<NonIndexedBinaryElem<1, true>, UnrefHeader> 212ns ± 2% 199ns ± 1% -6.28% (p=0.000 n=20+18)
|
6 years ago |
Arjun Roy
|
0f83755c6e
|
chttp2 hpack encoder: fast-pathed static md/slice ops
|
6 years ago |
Mark D. Roth
|
31ec9a74ae
|
More LB policy API improvements.
|
6 years ago |
Yash Tibrewal
|
3893a6379b
|
Clean up
|
6 years ago |
Srini Polavarapu
|
ec640a53c6
|
Merge pull request #19105 from gnossen/twine_check_artifacts
Produce Python Wheels with a Valid long_description field
|
6 years ago |
Muxi Yan
|
e3c280d613
|
build fix
|
6 years ago |
weiyongji
|
57cc401597
|
typo fix
|
6 years ago |
yang-g
|
384f15ab6e
|
Delay calling plugin_creds callback
|
6 years ago |
Yash Tibrewal
|
886dc10daa
|
Move validate_service_config to a new file
|
6 years ago |
Muxi Yan
|
a1542b5a41
|
clang-format
|
6 years ago |
Muxi Yan
|
155ca4be68
|
Polish scheme configurations
|
6 years ago |
Muxi Yan
|
caa965bd1d
|
Address comments
|
6 years ago |
Muxi Yan
|
1bb3f72abe
|
clang-format
|
6 years ago |
Arjun Roy
|
0a57193dec
|
Replaced gpr_ref with grpc_core::Atomic in call batch struct
|
6 years ago |
Muxi Yan
|
fb1a6b1d48
|
clang-format
|
6 years ago |
Stanley Cheung
|
7967445968
|
Fix PHP extension segfault
|
6 years ago |
Muxi Yan
|
8d058dc020
|
Correct include style
|
6 years ago |
Wayne Zhang
|
edc506849f
|
Expose interop test for others
|
6 years ago |
Muxi Yan
|
2e31120724
|
Fix StressTests on Mac
|
6 years ago |
Karthik Ravi Shankar
|
ccc105f3fd
|
Move GRPC_CLOSURE_RUN to GRPC_CLOSURE_SCHED
- As here we want it to be scheduled for execution later.
|
6 years ago |
Karthik Ravi Shankar
|
035bf8eb14
|
Fix clang errors
|
6 years ago |
ncteisen
|
0f21350b85
|
Gallantly fix typo
|
6 years ago |
Esun Kim
|
90fbdc92f5
|
Roll-forward "Config migration"
This reverts commit 236ae12bb1 .
|
6 years ago |
Richard Belleville
|
5d95bf037d
|
Actually include README.rst in all packages
|
6 years ago |
Karthik Ravi Shankar
|
061dfc911f
|
Bring back the internalization
|
6 years ago |
Richard Belleville
|
cb9e2188ab
|
Add python deprecation notices.
|
6 years ago |
Yash Tibrewal
|
41ae267107
|
Remove unnecessary header
|
6 years ago |
Yash Tibrewal
|
f63dde8e8e
|
Make validation function a global function
|
6 years ago |
Juanli Shen
|
98461b0fa8
|
xds enter fallback mode as long as no child policy is ready
|
6 years ago |
Karthik Ravi Shankar
|
a89b1763af
|
changes
|
6 years ago |
Vijay Pai
|
570bf332bc
|
Memset in channel_filter ctor not needed
and causes compiler warnings. Thanks to @KeithMoyer in #19044 and @soheilhy
|
6 years ago |
Karthik Ravi Shankar
|
03b079499c
|
Move CompletionQueue and Channel
|
6 years ago |
Karthik Ravi Shankar
|
40210d3b8a
|
Move Channel to grpc_impl
|
6 years ago |
Vijay Pai
|
62b422c4ee
|
Grab a ref on fake resolver generator before scheduling a closure
|
6 years ago |
ZhouyihaiDing
|
1d5357d1bb
|
Change persistent log to gpr_log
|
6 years ago |
Karthik Ravi Shankar
|
26ba981dee
|
Fix clang errors
|
6 years ago |