Mark D. Roth
8cc5b8f680
Defer grpc shutdown until after channel destruction.
5 years ago
Arjun Roy
b1d73a01f1
Removed duplicate static table from hpack table. Removed an or instruction for
...
every usage of static grpc metadata. Inlined hpack table lookups for static
metadata.
This leads to faster hpack parser creation:
BM_HpackParserInitDestroy 5.32µs ± 1% 0.06µs ± 1% -98.91% (p=0.000 n=18+19)
And slightly faster parsing:
BM_HpackParserParseHeader<RepresentativeClientInitialMetadata, OnInitialHeader>
456ns ± 1% 435ns ± 1% -4.74% (p=0.000 n=18+19)
BM_HpackParserParseHeader<MoreRepresentativeClientInitialMetadata,
OnInitialHeader>
1.06µs ± 2% 1.04µs ± 2% -1.82% (p=0.000 n=19+20)
It also yields a slight (0.5 - 1.0 microsecond) reduction in CPU time for
fullstack unary pingpong:
BM_UnaryPingPong<TCP, NoOpMutator, NoOpMutator>/0/512
[polls/iter:3.0001 ] 23.9µs ± 2%
23.0µs ± 1% -3.63% (p=0.002 n=6+6)
BM_UnaryPingPong<TCP, NoOpMutator, NoOpMutator>/0/32768
[polls/iter:3.00015 ] 35.1µs ± 1%
34.2µs ± 1% -2.57% (p=0.036 n=5+3)
BM_UnaryPingPong<MinTCP, NoOpMutator, NoOpMutator>/8/0
[polls/iter:3.00011 ] 21.7µs ± 3%
21.2µs ± 2% -2.44% (p=0.017 n=6+5)
5 years ago
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