nanahpang
|
3a33fccb3a
|
Merge pull request #19499 from nanahpang/fix_typo_cl_255487586
fix typo "transfered" to "transferred"
|
5 years ago |
Arjun Roy
|
80d1aec021
|
Codegen optimizations for hpack_parser on_hdr.
Currently, the log statements for on_hdr clobber some registers even if it is
disabled by default. Additionally, the no-error path is doing some unnecessary
jumps. This PR separates out and un-inlines the logging code, and marks the
no-error case as likely to occur.
This results in slightly faster hpack_parsing, e.g.:
BM_HpackParserParseHeader<IndexedSingleStaticElem, UnrefHeader>
23.8ns ± 0% 19.8ns ± 0% -16.81% (p=0.000 n=17+17)
BM_HpackParserParseHeader<AddIndexedSingleStaticElem, UnrefHeader>
160ns ± 0% 154ns ± 0% -3.18% (p=0.000 n=19+20)
BM_HpackParserParseHeader<KeyIndexedSingleStaticElem, UnrefHeader>
216ns ± 1% 214ns ± 2% -0.70% (p=0.004 n=18+18)
BM_HpackParserParseHeader<IndexedSingleInternedElem, UnrefHeader>
35.4ns ± 0% 34.4ns ± 0% -2.93% (p=0.000 n=16+16)
BM_HpackParserParseHeader<RepresentativeClientInitialMetadata, UnrefHeader>
140ns ± 0% 130ns ± 0% -7.06% (p=0.000 n=17+18)
BM_HpackParserParseHeader<MoreRepresentativeClientInitialMetadata, UnrefHeader>
644ns ± 1% 636ns ± 2% -1.29% (p=0.003 n=17+20)
BM_HpackParserParseHeader<RepresentativeServerInitialMetadata, UnrefHeader>
49.1ns ± 0% 38.7ns ± 0% -21.13% (p=0.000 n=19+18)
BM_HpackParserParseHeader<RepresentativeServerTrailingMetadata, UnrefHeader>
47.1ns ± 0% 43.2ns ± 0% -8.17% (p=0.000 n=20+19)
BM_HpackParserParseHeader<RepresentativeClientInitialMetadata, OnInitialHeader>
452ns ± 1% 417ns ± 1% -7.86% (p=0.000 n=20+20)
BM_HpackParserParseHeader<MoreRepresentativeClientInitialMetadata,
OnInitialHeader>
1.06µs ± 1% 1.02µs ± 2% -3.42% (p=0.000 n=19+20)
BM_HpackParserParseHeader<RepresentativeServerInitialMetadata, OnInitialHeader>
156ns ± 0% 142ns ± 1% -9.08% (p=0.000 n=17+19)
BM_HpackParserParseHeader<SameDeadline, OnHeaderTimeout>
117ns ± 0% 113ns ± 1% -3.98% (p=0.000 n=20+20)
|
5 years ago |
yunjiaw26
|
c83c28167e
|
Merge pull request #19393 from yunjiaw26/extend_thd_stack_size
Extend thread class to accept setting stack size as a option
|
5 years ago |
nanahpang
|
36339f4032
|
fix typo "transfered" to "transferred"
find the typo during import and create this pr to sync up
|
5 years ago |
apolcyn
|
dd5f0fcf48
|
Merge pull request #19482 from qixuanl1/add-pick-first-unary
add pick_first_unary interop test
|
5 years ago |
Muxi Yan
|
a3a9480c49
|
Merge pull request #19492 from grpc/oauth2-uninitialized
Resolve uninitialized warning in oauth2_credentials
|
5 years ago |
Alexander Polcyn
|
0d2c622f9e
|
Fix DNS resolver cooldown
|
5 years ago |
Soheil Hassas Yeganeh
|
3f574aecc9
|
Merge pull request #19493 from soheilhy/fix-cred-test
Fix build failure in credential_test.cc
|
5 years ago |
Yunjia Wang
|
266c919afc
|
Merge remote-tracking branch 'upstream/master' into extend_thd_stack_size
|
5 years ago |
Soheil Hassas Yeganeh
|
dc858eea25
|
Fix build failure in credential_test.cc
|
5 years ago |
Muxi Yan
|
424328b8e7
|
Resolve uninitialized warning
|
5 years ago |
Karthik Ravi Shankar
|
0d2d88fce5
|
Merge pull request #19446 from karthikravis/continue-migration-to-impl
Move more of usage to grpc_impl
|
5 years ago |
Yunjia Wang
|
b95bb89d13
|
Add TODO comment
|
5 years ago |
Vijay Pai
|
858b9117dd
|
Merge pull request #19478 from grpc/vjpai-patch-1
Explain order of callback execution in executor comments
|
5 years ago |
Guantao Liu
|
7610817bc8
|
Also add the missing implementation of grpc_iomgr_run_in_background()
for gevent.
|
5 years ago |
Arjun Roy
|
15e78eb8b5
|
Merge pull request #19485 from arjunroy/hpack_encoder_ensure_space
Slightly better codegen for hpack_encoder.
|
5 years ago |
jboeuf
|
bd8698e8fd
|
Merge pull request #19032 from jboeuf/sts_core_creds_pr
Adding support for STS Token Exchange Creds in core:
|
5 years ago |
Qixuan Li
|
913acf456b
|
fix minor nits
|
5 years ago |
Arjun Roy
|
0fc57d0414
|
Slightly better codegen for hpack_encoder.
hpack_encoder::ensure_space checks to see if we need to allocate to start a
frame or not. The common case is that we don't need to, so we mark that code
branch as the more likely one to occur. This causes the common case to jump
around less.
BM_HpackEncoderEncodeDeadline
152ns ± 0% 149ns ± 0% -1.99% (p=0.000 n=19+17)
BM_HpackEncoderEncodeHeader<EmptyBatch>/0/16384
35.0ns ± 2% 34.6ns ± 0% -1.10% (p=0.000 n=20+17)
BM_HpackEncoderEncodeHeader<EmptyBatch>/1/16384
34.9ns ± 1% 34.7ns ± 1% -0.81% (p=0.007 n=20+19)
BM_HpackEncoderEncodeHeader<SingleStaticElem>/0/16384
50.6ns ± 0% 49.1ns ± 1% -3.06% (p=0.000 n=17+19)
BM_HpackEncoderEncodeHeader<SingleInternedKeyElem>/0/16384
84.9ns ± 1% 82.4ns ± 1% -2.90% (p=0.000 n=20+19)
BM_HpackEncoderEncodeHeader<SingleInternedElem>/0/16384
50.5ns ± 0% 49.2ns ± 1% -2.54% (p=0.000 n=15+19)
BM_HpackEncoderEncodeHeader<SingleInternedBinaryElem<1, false>>/0/16384
50.8ns ± 2% 49.6ns ± 1% -2.46% (p=0.000 n=17+19)
BM_HpackEncoderEncodeHeader<SingleInternedBinaryElem<3, false>>/0/16384
50.9ns ± 2% 49.5ns ± 1% -2.78% (p=0.000 n=20+19)
BM_HpackEncoderEncodeHeader<SingleInternedBinaryElem<10, false>>/0/16384
50.4ns ± 1% 49.2ns ± 1% -2.32% (p=0.000 n=18+19)
BM_HpackEncoderEncodeHeader<SingleInternedBinaryElem<31, false>>/0/16384
50.3ns ± 0% 49.2ns ± 1% -2.16% (p=0.000 n=18+19)
BM_HpackEncoderEncodeHeader<SingleInternedBinaryElem<100, false>>/0/16384
50.4ns ± 1% 49.2ns ± 1% -2.35% (p=0.000 n=19+19)
BM_HpackEncoderEncodeHeader<SingleInternedBinaryElem<1, true>>/0/16384
50.9ns ± 2% 49.4ns ± 1% -2.81% (p=0.000 n=20+19)
BM_HpackEncoderEncodeHeader<SingleInternedBinaryElem<3, true>>/0/16384
50.9ns ± 2% 49.4ns ± 1% -2.91% (p=0.000 n=20+19)
BM_HpackEncoderEncodeHeader<SingleInternedBinaryElem<10, true>>/0/16384
50.2ns ± 0% 49.2ns ± 0% -2.04% (p=0.000 n=17+19)
BM_HpackEncoderEncodeHeader<SingleInternedBinaryElem<31, true>>/0/16384
50.4ns ± 1% 49.2ns ± 1% -2.38% (p=0.000 n=19+19)
BM_HpackEncoderEncodeHeader<SingleInternedBinaryElem<100, true>>/0/16384
50.3ns ± 0% 49.2ns ± 0% -2.06% (p=0.000 n=19+19)
BM_HpackEncoderEncodeHeader<SingleNonInternedElem>/0/16384
91.7ns ± 1% 85.6ns ± 1% -6.64% (p=0.000 n=19+19)
BM_HpackEncoderEncodeHeader<SingleNonInternedBinaryElem<1, false>>/0/16384
116ns ± 1% 112ns ± 1% -3.95% (p=0.000 n=19+18)
BM_HpackEncoderEncodeHeader<SingleNonInternedBinaryElem<3, false>>/0/16384
122ns ± 0% 117ns ± 1% -3.63% (p=0.000 n=18+17)
BM_HpackEncoderEncodeHeader<SingleNonInternedBinaryElem<10, false>>/0/16384
145ns ± 1% 140ns ± 0% -2.89% (p=0.000 n=18+18)
BM_HpackEncoderEncodeHeader<SingleNonInternedBinaryElem<31, false>>/0/16384
233ns ± 1% 231ns ± 1% -1.14% (p=0.000 n=20+19)
BM_HpackEncoderEncodeHeader<SingleNonInternedBinaryElem<100, false>>/0/16384
472ns ± 1% 469ns ± 1% -0.64% (p=0.000 n=20+19)
BM_HpackEncoderEncodeHeader<SingleNonInternedBinaryElem<1, true>>/0/16384
93.2ns ± 1% 87.3ns ± 1% -6.41% (p=0.000 n=20+17)
BM_HpackEncoderEncodeHeader<SingleNonInternedBinaryElem<3, true>>/0/16384
94.2ns ± 1% 88.0ns ± 1% -6.59% (p=0.000 n=20+17)
BM_HpackEncoderEncodeHeader<SingleNonInternedBinaryElem<10, true>>/0/16384
94.1ns ± 2% 87.5ns ± 1% -6.98% (p=0.000 n=20+17)
BM_HpackEncoderEncodeHeader<SingleNonInternedBinaryElem<31, true>>/0/16384
107ns ± 2% 102ns ± 4% -4.30% (p=0.000 n=19+19)
BM_HpackEncoderEncodeHeader<SingleNonInternedBinaryElem<100, true>>/0/16384
106ns ± 1% 100ns ± 1% -5.64% (p=0.000 n=20+17)
BM_HpackEncoderEncodeHeader<SingleNonInternedElem>/0/1
356ns ± 1% 355ns ± 1% -0.47% (p=0.001 n=20+18)
BM_HpackEncoderEncodeHeader<RepresentativeClientInitialMetadata>/0/16384
140ns ± 1% 128ns ± 1% -7.99% (p=0.000 n=20+19)
BM_HpackEncoderEncodeHeader<MoreRepresentativeClientInitialMetadata>/0/16384
237ns ± 1% 218ns ± 1% -7.93% (p=0.000 n=19+19)
BM_HpackEncoderEncodeHeader<RepresentativeServerInitialMetadata>/0/16384
73.7ns ± 1% 69.7ns ± 1% -5.47% (p=0.000 n=20+19)
BM_HpackEncoderEncodeHeader<RepresentativeServerTrailingMetadata>/1/16384
50.7ns ± 0% 49.0ns ± 2% -3.19% (p=0.000 n=18+19)
|
5 years ago |
yang-g
|
7a4b6b7e30
|
Update oauth2 token endpoints
|
5 years ago |
Stanley Cheung
|
57d522eda3
|
Merge pull request #19228 from stanley-cheung/php-add-release-to-matrix
PHP: attempt to add v1.21.4 to interop matrix
|
5 years ago |
Karthik Ravi Shankar
|
bddcb6c906
|
Don't move ServerContext to impl
|
5 years ago |
Soheil Hassas Yeganeh
|
3fc9e00c3f
|
Merge pull request #19480 from grpc/revert-19218-string-view
Revert "Introduce string_view and use it for gpr_split_host_port."
|
5 years ago |
Lidi Zheng
|
25c720f650
|
Merge pull request #19456 from lidizheng/example-auth
[Python] Add authentication extension example
|
5 years ago |
Yunjia Wang
|
5b6c9473cd
|
Merge remote-tracking branch 'upstream/master' into mpmcqueue
|
5 years ago |
Yunjia Wang
|
18fb10cdd6
|
Add some comment
|
5 years ago |
Stanley Cheung
|
e92622eb5b
|
Add PHP back to client_matrix.py
|
5 years ago |
Qixuan Li
|
0e85762b67
|
add pick_first_unary
|
5 years ago |
Soheil Hassas Yeganeh
|
80c177d4c4
|
Revert "Introduce string_view and use it for gpr_split_host_port."
|
5 years ago |
Julien Boeuf
|
189c2c8c30
|
Adding support for STS Token Exchange Creds in core:
- IETF specification is available here:
https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16
|
5 years ago |
Karthik Ravi Shankar
|
748b932d02
|
Fix header guards
|
5 years ago |
hcaseyal
|
e6b29b3693
|
Merge pull request #19463 from hcaseyal/channelz_subchannel
Channelz: SubchannelNode no longer holds a pointer to the Subchannel
|
5 years ago |
Karthik Ravi Shankar
|
2602bdd3e4
|
Address review comments
|
5 years ago |
Prashant Jaikumar
|
4ad6d6d4df
|
Enable CFStream by default on iOS for all wrapped languages
|
5 years ago |
Vijay Pai
|
ef4388b862
|
Explain order of callback execution in executor comments
|
5 years ago |
Jan Tattermusch
|
0454cde111
|
Merge pull request #19242 from jtattermusch/csharp_easier_net45_build
Get rid of workaround to build net45 targets on linux and mac
|
5 years ago |
Nicolas "Pixel" Noble
|
efeb0e7012
|
Fixing up include paths for upb.
|
5 years ago |
Hope Casey-Allen
|
5a05ea0530
|
Format
|
5 years ago |
Soheil Hassas Yeganeh
|
f9516b04d5
|
Merge pull request #19218 from soheilhy/string-view
Introduce string_view and use it for gpr_split_host_port.
|
5 years ago |
Yunjia Wang
|
833bd5c118
|
Change trace flag name, add some comment in test
|
5 years ago |
Lidi Zheng
|
ce41cde908
|
Fix string/bytes problem && lint
|
5 years ago |
Yunjia Wang
|
4e6a113ca2
|
Merge remote-tracking branch 'upstream/master' into mpmcqueue
|
5 years ago |
Yunjia Wang
|
c48eac2dd4
|
Modify variable name for consistency, remove extra test
|
5 years ago |
Karthik Ravi Shankar
|
51626535cd
|
Fix BUILD file
|
5 years ago |
Karthik Ravi Shankar
|
d33c02748f
|
Merge branch 'master' into continue-migration-to-impl
|
5 years ago |
Hope Casey-Allen
|
7f666a25ff
|
Remove GetC/hildSocketUuid and stop storing uuid inside ConnectedSubchannel
|
5 years ago |
Hope Casey-Allen
|
03b063568d
|
Minor fixes
|
5 years ago |
Jan Tattermusch
|
8bfb713c80
|
fix Grpc.Tools build
|
5 years ago |
Jan Tattermusch
|
a827504ffb
|
get rid of workaround to build net45 targets on linux and mac
|
5 years ago |
apolcyn
|
da3784bf89
|
Merge pull request #19397 from apolcyn/fix_ares_windows_tcp
Simplify and fix c-ares TCP path on Windows
|
5 years ago |