Yunjia Wang
847faf407f
Removes unused variable error
5 years ago
Yunjia Wang
85314b3fcc
Re-format
5 years ago
Yunjia Wang
c6bc2b1875
Add threadpool benchmark and build files
5 years ago
Richard Belleville
63b4f3d819
Revert "Merge pull request #19673 from markdroth/channel_grpc_init"
...
This reverts commit 4e21980716
, reversing
changes made to 62b8a783fa
.
5 years ago
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
Yunjia Wang
fdc250d618
remove bencharmk
5 years ago
yunjiaw26
b0b81792ee
Delete bm_threadpool.cc
5 years ago
Yunjia Wang
a63cbfb61e
Fix headers order
5 years ago
Yunjia Wang
500cb1f99b
Reformat
5 years ago
Yunjia Wang
093dd768bb
reformat
5 years ago
Yunjia Wang
9421a27a76
Remove extra headers
5 years ago
Yunjia Wang
cac8afa159
Add benchmark
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