Lidi Zheng
f1dfe791ab
Merge pull request #18842 from lidizheng/respect-interval
...
Respect interval_us setting for TestServicer
6 years ago
Soheil Hassas Yeganeh
b3fb277da6
Reset slices pointer to base_slices when slice_bufer length is 0.
...
Currently, we keep increasing the slice pointer, and
can run out of the inline space or try to realloc the
non-inline space unncessarily.
Simply set slices back to the start of the base_slices,
when we know the length of the slice_buffer is 0.
Note: This will change the behavior of undo_take_first(),
if user tries to grow the slie_buffer, between take_first()
and undo_take_first() calls. That said, it's not legal
to add something to the buffer in between take_first()
and undo_take_first(). So, we shouldn't have any issue.
6 years ago
Soheil Hassas Yeganeh
f5f030e675
Use end - begin instead of GRPC_SLICE_LENGTH().
6 years ago
Lidi Zheng
929ca006ea
Merge pull request #18920 from lidizheng/fix-doc
...
Tiny fix for combiner comment
6 years ago
Esun Kim
ccf4734907
Merge pull request #18799 from veblush/config
...
New config system & migration sample
6 years ago
yang-g
abd97b9170
Merge with head and resolve conflict
6 years ago
yang-g
1775faa595
Fix epoll1 for release fd
6 years ago
Soheil Hassas Yeganeh
4c0c2965fe
Use peek_first instead of mutable_first.
...
Use DEBUG_ASSERT instead of ASSERT.
6 years ago
Karthik Ravi Shankar
5de22c4bd4
Merge branch 'master' into grpc_namespace_completion_queue
6 years ago
Karthik Ravi Shankar
baef4b1d60
Merge branch 'master' into grpc_namespace_channel_new
6 years ago
Karthik Ravi Shankar
549230467b
Merge pull request #18720 from grpc/revert-18717-grpc_namespace_server_revert
...
Revert "Revert "Merge pull request #18458 from grpc/grpc_namespace_server""
6 years ago
Karthik Ravi Shankar
e17ce91d16
Fix make errors
6 years ago
Arjun Roy
238fef6571
Merge pull request #18875 from arjunroy/arena_aligned_alloc_direct
...
Use aligned_alloc directly for grpc_core::Arena
6 years ago
Karthik Ravi Shankar
8e4b4b9403
Fix golden file for test
6 years ago
Karthik Ravi Shankar
3a31b96ef9
Fix error from make
6 years ago
Karthik Ravi Shankar
e060cd7519
Fix formatting errors
6 years ago
Na-Na Pang
e70d507abe
Changes based on comment
6 years ago
Karthik Ravi Shankar
3184fff6b2
Fix BUILD.gn file
6 years ago
Karthik Ravi Shankar
9eec789a4d
Merge branch 'grpc_namespace_channel_new' into grpc_namespace_completion_queue
6 years ago
Esun Kim
1518ecbd76
Added new configuration system to core/grp.
...
More generic configuration system is introduced in order to i) unify the
way how modules access the configurations instead of using low-level
get/setenv functions and ii) enable the customization for where configuration
is stored. This could be extended to support flag, file, etc.
Default configuration system uses environment variables as before so
basically this is expected to work just as it did. This behavior can
change by redefining GPR_GLOBAL_CONFIG_DEFINE_*type* macros.
* Migrated configuration
GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS
GRPC_EXPERIMENTAL_DISABLE_FLOW_CONTROL
GRPC_ABORT_ON_LEAKS
GRPC_NOT_USE_SYSTEM_SSL_ROOTS
6 years ago
Soheil Hassas Yeganeh
5538bb8143
Use compress and decompress slice_buffers only when they are needed.
...
Compression is not used for performance senstiive RPCs, yet
chttp2 always moves buffers in/out of the compressed/decmpressed
buffers. Even initilizing them is costly.
Use the (de)compression buffer and state only when we are using
non-identity compression.
This is part of a larger performance change, and this one buys us 1%-2%
depending on the benchmark.
6 years ago
Soheil Hassas Yeganeh
fd5f787080
Introduce slice_buffer helper methods to avoid copies.
...
take_first(), grpc_undo_first(), ... are very clostly
methods that unnecessarily copy grpc_slice with extra
ref counting requirements.
Introduce alternatives to avoid copies and refs wherever
possible.
This results in 1% improvements in the benchmarks.
6 years ago
John Luo
d74f04680f
Restrict workaround to MSBuild 15.0 and above
6 years ago
Karthik Ravi Shankar
e3a0c85960
Merge branch 'master' into grpc_namespace_channel_new
6 years ago
Na-Na Pang
b028141f01
Change streaming ping pong args and add comment
6 years ago
hcaseyal
e3c80dc35f
Merge pull request #18870 from hcaseyal/callback_stub_doc
...
Add clarification to callback API documentation
6 years ago
Soheil Hassas Yeganeh
01d58cde23
Merge pull request #18921 from soheilhy/tcp-closure-init
...
Initialize TCP write and error closures only once.
6 years ago
Arjun Roy
046e28f77c
Merge pull request #18918 from arjunroy/md_interned_leak_fix
...
Fix regression where we do not properly account for freed interned metadata.
6 years ago
yang-g
ac3a91edf8
Support accepting external connections.
6 years ago
Karthik Ravi Shankar
7bf82de9ed
Merge pull request #18444 from grpc/grpc_namespace_credentials
...
Changes to fold credentials into grpc_impl from grpc
6 years ago
Arjun Roy
22c6e166c4
Use platform align_malloc function when setting custom allocators and no override provided
6 years ago
Arjun Roy
dc148b6a30
Fix regression where we do not properly account for freed interned metadata.
6 years ago
Lidi Zheng
058e90ef16
Tiny fix for combiner comment
6 years ago
Jan Tattermusch
2cb63d859d
split multilang jobs by language
6 years ago
Karthik Ravi Shankar
6b0806eae3
more formatting changes
6 years ago
Soheil Hassas Yeganeh
714a13c193
Initialize TCP write and error closures only once.
...
We are initializing the closures in the hot path on every event.
6 years ago
Richard Belleville
930cec4e27
Revert "Merge pull request #18912 from grpc/revert-bazel-changes"
...
This reverts commit c9a259aa3a
, reversing
changes made to 9c882bc725
.
6 years ago
Karthik Ravi Shankar
5a132b8245
Merge branch 'master' into grpc_namespace_credentials
6 years ago
Karthik Ravi Shankar
bc09c70799
Merge pull request #18454 from grpc/grpc_namespace_channel_arguments
...
Bring ChannelArguments to grpc_impl from grpc
6 years ago
=
f52a743e34
Missed using
6 years ago
John Luo
9073d6d5b5
Migrate interceptor types for server-side interceptors
6 years ago
Richard Belleville
c9a259aa3a
Merge pull request #18912 from grpc/revert-bazel-changes
...
Revert "Merge pull request #18859 from grpc/internal_py_proto_library"
6 years ago
Richard Belleville
50b5240d0a
Revert "Merge pull request #18859 from grpc/internal_py_proto_library"
...
This reverts commit 5b720f19c1
, reversing
changes made to a64ae3c0d5
.
6 years ago
Arjun Roy
e1a96b8347
Fixed non-debug build warning
6 years ago
Arjun Roy
a3fe7c0c90
Renamed macros for memory alignment
6 years ago
Arjun Roy
333ba8feae
Use aligned_alloc directly for grpc_core::Arena
6 years ago
Arjun Roy
9c882bc725
Merge pull request #18894 from arjunroy/arena_create_alloc_coalesce
...
Coalesce arena create/first alloc for grpc_call.
6 years ago
Richard Belleville
5b720f19c1
Merge pull request #18859 from grpc/internal_py_proto_library
...
Remove dependency on pubref/rules_proto.
6 years ago
Yang Gao
a64ae3c0d5
Merge pull request #18906 from yang-g/init_test
...
Use milliseconds for test_server timeout
6 years ago
yang-g
5e7e494638
Use milliseconds for test_server timeout
6 years ago