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
Na-Na Pang
b028141f01
Change streaming ping pong args and add comment
6 years ago
yang-g
ac3a91edf8
Support accepting external connections.
6 years ago
Guantao Liu
aafa4c48e5
Fix another call of Alarm::experimental()::Set.
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
Guantao Liu
3b5c470bf1
Clang format.
6 years ago
Guantao Liu
a7a380c69b
Delay the creation of Alarm in the callback-based qps client.
...
The alarm is only used in the fixed-load scenarios, but its
construction is a major point of contention in both the closed-loop
and fixed-load scenarios. Delay its creation to when it is going to be
used, which will get rid of the contention in the closed-loop scenarios.
6 years ago
yang-g
5e7e494638
Use milliseconds for test_server timeout
6 years ago
Na-Na Pang
8bf138d799
Add copyright
6 years ago
Vijay Pai
657ab449c6
Make single-argument constructor explicit
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
Yash Tibrewal
156d743c37
Reviewer comments
6 years ago
Arjun Roy
cf9301f964
Removed some unnecessary memset operations in core.
6 years ago
nanahpang
2d37a7a9b7
Add alarm in callback streaming test
...
There aren't the right set of alarms in callback streaming reactor, so it exceeds the attempted qps while testing the fixed load streaming scenarios in synthetic benchmarks.
6 years ago
Yash Tibrewal
f7c8e8be62
clang tidy
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
yang-g
37783d6329
Stop calling ParseCommandLineFlags directly, use wrapper call instead
6 years ago
Karthik Ravi Shankar
4d5a411557
Fix clang errors
6 years ago
Karthik Ravi Shankar
a1493cfa62
Add missing files for build
6 years ago
Juanli Shen
438cb44378
Add fallback-at-startup into xds
6 years ago
Mark D. Roth
ce3ff86763
Convert call_combiner to C++.
6 years ago
Karthik Ravi Shankar
5274deb32b
Fix the rebase and build
6 years ago
Prashant Jaikumar
d20d46e976
Add C++ stress tests on mac
6 years ago
Karthik Ravi Shankar
60bdeef9f4
Move Channel also to impl for now
6 years ago
Karthik Ravi Shankar
e57182ab61
Fix the compile errors for tests and namespace.
6 years ago
Karthik Ravi Shankar
603d014f0e
Changes to fold credentials into grpc_impl from grpc
6 years ago
yang-g
39cfbf9d4a
cast and default initializer
6 years ago
Karthik Ravi Shankar
858b5cca20
Fix clang_format_code.sh issues and move the internal calls to new name
6 years ago
yang-g
41824319fa
Resolve review comments
6 years ago
Yash Tibrewal
4309a98b66
Health checking service name to be passed as a channel arg for now
6 years ago
Yash Tibrewal
70839d966f
Reviewer comments
6 years ago
Karthik Ravi Shankar
f3911e7ff1
Fix the completion queue tests for the new behavior
6 years ago
Nicolas "Pixel" Noble
b9a279c030
Resolving ambiguous call to CreateCustomChannel.
6 years ago
Vijay Pai
20c08dbc7a
Add client-side unary reactor model
6 years ago
Yash Tibrewal
a4036b2d8c
Add tests for health check parsing too
6 years ago
Karthik Ravi Shankar
39816efa3b
Test invoking a callback-based RPC under lock
6 years ago
Arjun Roy
7d946633ea
grpc_slice_refcount devirtualization
6 years ago
Yash Tibrewal
576828696a
Add parsing tests
6 years ago
Yash Tibrewal
116ce0fb24
Use health check parser
6 years ago
Yash Tibrewal
813865acaf
Adding service config parser
6 years ago
Soheil Hassas Yeganeh
2b9448a71c
Revert "Revert "Introduce C++ wrappers for gpr_mu and gpr_cv.""
...
This reverts commit d09c9f8e20
.
6 years ago
yang-g
051d421579
Resolve sanity
6 years ago
yang-g
6929cdd654
initial
6 years ago
Yihua Zhang
ef4508ca0d
fix memory leaks in ssl credential reload.
6 years ago
Mark D. Roth
432c97e1ba
Remove error from connectivity state tracking.
6 years ago
Alexander Polcyn
d09c9f8e20
Revert "Introduce C++ wrappers for gpr_mu and gpr_cv."
...
This reverts commit a26c09dd25
.
6 years ago