Soheil Hassas Yeganeh
c060d55cc7
Revert "Introduce grpc_byte_buffer_reader_peek and use it for Protobuf parsing."
6 years ago
Soheil Hassas Yeganeh
509e77a5a3
Introduce grpc_byte_buffer_reader_peek and use it for Protobuf parsing.
...
grpc_byte_buffer_reader_next() copies and references the slice. This
is not always necessary since the caller will not use the slice
after destroying the byte buffer.
A prominent example is the protobuf parser, which
calls grpc_byte_buffer_reader_next() and immediately unrefs the slice
after the call. This ref() and unref() calls can be very expensive
in the hot path.
This commit introduces grpc_byte_buffer_reader_peek() which
essentialy return a pointer to the slice in the buffer, i.e.,
no copies, and no refs.
QPS of 1MiB 1 Channel callback benchmark increases by 5%.
More importantly insructions per cycle is increased by 10%.
Also add tests and benchmarks for byte_buffer_reader_peek()
6 years ago
yang-g
456f748b2f
Revert "Merge pull request #18146 from grpc/revert-17308-shutdown"
...
This reverts commit 9079e98dfc
, reversing
changes made to 76a38bfcc2
.
6 years ago
Yang Gao
4bc2ca4de6
Revert "Move grpc_shutdown internals to a detached thread"
6 years ago
yang-g
545c555d31
Rename new public API
6 years ago
yang-g
233406d450
generate projects
6 years ago
Yihua Zhang
a3d997cbdc
Add a TLS credential surface API (experimental)
6 years ago
ncteisen
693f46841a
Add GetServer to core
6 years ago
Vijay Pai
a46ddf4a09
Remove grpc_use_signal which is no longer relevant
6 years ago
ncteisen
3545d754d5
Channelz get server sockets support
6 years ago
ncteisen
0a650eae58
regenerate projects
6 years ago
Eric Gribkoff
b59d8674d2
Python post-fork handler: exit if grpc shutdown fails
6 years ago
ncteisen
632b58cb82
regenerate projects
6 years ago
Vijay Pai
e84096bbe5
Experimental infrastructure for callback-based CQ
6 years ago
Mark D. Roth
f7e72560b6
Add experimental API for resetting connection backoff.
6 years ago
Sree Kuchibhotla
bdd13cb0ae
Revert "Revert "Restrict the number of threads in C++ sync server""
6 years ago
Nicolas Noble
bea98c3c1b
Revert "Restrict the number of threads in C++ sync server"
6 years ago
ncteisen
864e68e96d
Fix channel trace polymorphism
6 years ago
Sree Kuchibhotla
9bc8ee42c2
generate_projects.sh
6 years ago
ncteisen
b86a744751
Expose GetChannel and GetTopChannels Core API
6 years ago
ncteisen
5fd07bd9ef
Fix sanity and build
6 years ago
ncteisen
018498a06b
Implements subchannel refs for pick_first
6 years ago
Yihua Zhang
c5f1eda10f
implement loca credentials
7 years ago
ncteisen
93a90e6132
Support codegen generic on server side
7 years ago
ncteisen
16280c7398
Remove unused API
7 years ago
Noah Eisen
70f7558a18
re generate project
7 years ago
ncteisen
ec482847b2
re run generate projects
7 years ago
ncteisen
c3c6e064b3
Add basic support for GetChannel
7 years ago
Yihua Zhang
fe2fa0c1c8
Add C++ experimental API extensions for ALTS C stack
7 years ago
Jan Tattermusch
3095e350ac
regenerate projects using tools/buildgen/generate_projects.sh
7 years ago
Ruslan Nigmatullin
99d0cee31b
regenerate projects
7 years ago
ncteisen
3b42f83068
Revert "Revert "Channel Tracing Implementation; Part 1""
...
This reverts commit f2bea3725f
.
7 years ago
Noah Eisen
f2bea3725f
Revert "Channel Tracing Implementation; Part 1"
7 years ago
ncteisen
ee013d25b3
Fix build and sanity
7 years ago
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
7 years ago
Muxi Yan
cda058de8e
build projects
7 years ago
Vijay Pai
d4d0a30c6f
Privatize useful.h and avl.h
7 years ago
Vijay Pai
ae376bf9d9
Privatize host_port.h; was not used in any wrapped language implementation
7 years ago
Vijay Pai
8a99fdb57e
Move cmdline and subprocess from public gpr to test/core/util
7 years ago
Vijay Pai
2b226adf60
Remove alarm from core, implement in C++ layer only
7 years ago
Vijay Pai
195cf1ebfd
Move histogram to test/core/util
7 years ago
Yash Tibrewal
2f921a3f97
Remove grpc_slice_buf_cmp and change public_headers_must_be_c89 to print the addresses of public api functions to check if they can be linked to
7 years ago
Justin Burke
c1d354d7f2
Support SSL server certificate reloading.
7 years ago
Ken Payson
42bd87e376
Adds gRPC Experimental CQ DoThenAsyncNext lambda API
7 years ago
Vizerai
bb7d088ed2
Cleaning up census code.
7 years ago
Muxi Yan
f7a97e19cf
build_project
7 years ago
Muxi Yan
92d1bc11ba
generate_project
7 years ago
Vijay Pai
efce6e1e50
Revert "Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer""
7 years ago
Jan Tattermusch
5432dd8874
Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer"
7 years ago
Vijay Pai
677395558d
Allow SerializationTraits to use grpc::ByteBuffer, not just grpc_byte_buffer
7 years ago