Esun Kim
c736cf073c
Added call to grpc::testing::TestEnvironment in more tests
4 years ago
Vijay Pai
1077b3435c
Use range-based for on state rather than state.KeepRunning when possible
5 years ago
Esun Kim
e18ed03c04
Made gRPC inialized after entering main function in microbenchmarks.
6 years ago
ncteisen
40ec89ff67
Support microbenchmarks internally
7 years ago
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
7 years ago
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
7 years ago
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
7 years ago
ncteisen
3039b37a0e
Fix bad merge
7 years ago
Yash Tibrewal
6c26b16fe0
Move ExecCtx to grpc_core namespace. Make exec_ctx a private static in ExecCtx and some minor changes
7 years ago
Yash Tibrewal
75122c2357
Address some PR comments
7 years ago
ncteisen
40737d67ee
Add error string to recv status API
7 years ago
Craig Tiller
be98d24841
clang-format after nullptr changes
7 years ago
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
7 years ago
Yash Tibrewal
3150744c71
Removing more exec_ctx instances
7 years ago
Yash Tibrewal
39aed1ae8b
Remove unnecessary extern Cs
7 years ago
Yash Tibrewal
0ee7574732
Removing instances of exec_ctx being passed around in functions in
...
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
7 years ago
Craig Tiller
89c1428a60
Propagate grpc_millis further
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
ncteisen
91220dc793
Added benchmark to show static vs copied
8 years ago
ncteisen
4b36a3d9ea
Change error_create API to slice
8 years ago
ncteisen
bbb3801e48
Change error get/set API to grpc_slice
8 years ago
ncteisen
ceddd29391
Address github comments
8 years ago
Noah Eisen
a3e5801e2e
s/realloc/gpr_realloc to fix mem bug
8 years ago
Craig Tiller
c945c12b47
Revert "Revert "Split bm_fullstack into pieces, reuse infrastructure across other microbenchmarks""
...
This reverts commit 0cb7fef406
.
8 years ago
Jan Tattermusch
0cb7fef406
Revert "Split bm_fullstack into pieces, reuse infrastructure across other microbenchmarks"
8 years ago
ncteisen
55337bb317
Error arena optimization
8 years ago
Craig Tiller
e4a2419597
Bugfixes
8 years ago
Craig Tiller
5e3215338f
Move helpers to a common place, use them everywhere
8 years ago
ncteisen
2f15e9b456
Add new bm_error test to exercise error_set_xxx
8 years ago
Craig Tiller
5663953cb4
Fix compilation on Linux
8 years ago
Craig Tiller
264307fa3d
Add benchmarks for grpc_error
8 years ago