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
Karthik Ravi Shankar
196b0aa3a3
Revert "Revert "Start supporting a callback-based RPC under lock""
6 years ago
Karthik Ravi Shankar
b790c24e5c
Revert "Start supporting a callback-based RPC under lock"
6 years ago
Karthik Ravi Shankar
b18faa6c95
Fix tsan error
6 years ago
Karthik Ravi Shankar
d2c8eb94c9
Fix microbenchmark failures
6 years ago
Karthik Ravi Shankar
e1f62278e3
Fix clang error
6 years ago
Karthik Ravi Shankar
4f7f561564
Add synchronization to bm test
...
- since we made the callback run on another thread, add synchronization
in bm tests as well
6 years ago
Karthik Ravi Shankar
40210d3b8a
Move Channel to grpc_impl
6 years ago
Karthik Ravi Shankar
772a74aced
Revert changes to Channel
6 years ago
Na-Na Pang
a02c76dfb9
Cancel predefine number of streaming
6 years ago
Na-Na Pang
87d75d2a88
Add explicit and fix error
6 years ago
Na-Na Pang
a2daa4ff08
Clean format'
6 years ago
Na-Na Pang
1ea651aee3
Add assertion
6 years ago
Na-Na Pang
762e58b574
Change client context allocation
6 years ago
Na-Na Pang
070902b871
Merge bm_callback_cq to bm_cq
6 years ago
Na-Na Pang
3fc702510f
Reuse reactor to send new RPC
6 years ago
Na-Na Pang
2d5a9750a0
Manually add echo.proto to pass Portability build test
6 years ago
Na-Na Pang
1ba5f5c701
Modify build file
6 years ago
Na-Na Pang
32e10e618a
address the reference arguments
6 years ago
Na-Na Pang
714e13b426
Delete log
6 years ago
Na-Na Pang
c905f76a5b
Clang format
6 years ago
Na-Na Pang
2787dedd70
Modify dependency of callback_test_service
6 years ago
Na-Na Pang
927c2f2c61
Change format
6 years ago
Na-Na Pang
5748665bc5
Add callback completion queue and modify callback streaming ping pong
6 years ago
Esun Kim
e18ed03c04
Made gRPC inialized after entering main function in microbenchmarks.
6 years ago
Na-Na Pang
25128d18c1
Modify unary ping pong to send next rpc in callback function
6 years ago
Na-Na Pang
7d3fdec445
Add microbenchmark for callback completion queue
6 years ago
Na-Na Pang
e70d507abe
Changes based on comment
6 years ago
Na-Na Pang
b028141f01
Change streaming ping pong args and add comment
6 years ago
Na-Na Pang
8bf138d799
Add copyright
6 years ago
Na-Na Pang
875d2df399
Modify build file
6 years ago
Na-Na Pang
bbd4eb5028
Add microbenchmark for callback unary ping pong and bidistreaming ping pong
6 years ago
Yash Tibrewal
9345b7e276
s/atleast/at\ least
6 years ago
Arjun Roy
8ce42f67b2
Shrink arena size by 40 bytes and add additional
...
alignment options (for cache-alignment).
We shrink by:
1) Removing an unnecessary zone pointer.
2) Replacing gpr_mu (40 bytes when using pthread_mutex_t) with
std::atomic_flag.
We also header-inline the fastpath alloc (ie. when not doing a zone
alloc) and move the malloc() for a zone alloc outside of the mutex
critical zone, which allows us to replace the mutex with a spinlock.
We also cache-align created arenas.
6 years ago
Yash Tibrewal
a2316142b2
Reviewer comments
6 years ago
Mark D. Roth
ce3ff86763
Convert call_combiner to C++.
6 years ago
Karthik Ravi Shankar
858b5cca20
Fix clang_format_code.sh issues and move the internal calls to new name
6 years ago
Yash Tibrewal
4309a98b66
Health checking service name to be passed as a channel arg for now
6 years ago
Nicolas "Pixel" Noble
b9a279c030
Resolving ambiguous call to CreateCustomChannel.
6 years ago
Yash Tibrewal
116ce0fb24
Use health check parser
6 years ago
Karthik Ravi Shankar
973fa6950e
Fold Channel into grpc_impl from grpc namespace
6 years ago
Karthik Ravi Shankar
dad3f34207
Revert "Revert "Revert "Folding the Channel class into the grpc_impl namespace."""
6 years ago
Guantao Liu
872d2787a0
Avoid using grpc_core::Executor when the background poller is available.
...
Instead, run closures in the background poller. This will generally
avoid the thread hop in the gRPC runtime.
6 years ago
Karthik Ravi Shankar
4e0923e802
Fix errors from clang_format_code.sh
6 years ago
Soheil Hassas Yeganeh
1014fe507f
Use const ref for grpc_slice.
...
We are copying the slice on every call creation, which is hurting
ping/pong traffic.
6 years ago
Bill Feng
d93959853f
Enabled Windows Bazel build for cpp tests
6 years ago
Karthik Ravi Shankar
4260fe1147
More fixes
6 years ago
Soheil Hassas Yeganeh
ad1b3e5094
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()
This commit reaplies 509e77a5a3
6 years ago
Karthik Ravi Shankar
2a8f3f79ab
Fix more namespace stuff
6 years ago