Craig Tiller
264307fa3d
Add benchmarks for grpc_error
8 years ago
Craig Tiller
4f60fbf104
Add initial metadata benchmarks
8 years ago
Craig Tiller
3a04debe74
Add load reporting
8 years ago
Craig Tiller
c52ba3a03f
Hoist constant setting out of loop - and shave some ns from call creation
8 years ago
Craig Tiller
a25c9b4aa0
Call out no-filter case
8 years ago
Craig Tiller
4bba37c228
Add a no-filter stack for comparison
8 years ago
Craig Tiller
571b7fffb3
Add benchmarks for a good selection of filters
8 years ago
Craig Tiller
fd044b8b22
Call creation benchmark
8 years ago
Craig Tiller
d9bc2107e5
Update microbenchmarking framework for new benchmark
8 years ago
Craig Tiller
7f9184f314
Review feedback
8 years ago
Craig Tiller
5752570b02
Fix memory leak
8 years ago
Craig Tiller
14ae5381af
Add microbenchmark of single-threaded CQ operations
8 years ago
Craig Tiller
ef6d744c23
Include faster networks
8 years ago
Craig Tiller
4cb0a7a5a1
Better test
8 years ago
Craig Tiller
fe5f497f77
Add a test that measures flow control stalls in a deterministic way
8 years ago
Craig Tiller
4dde8b277d
Fix stack corruption
8 years ago
Craig Tiller
96f8728b06
Add a comparison benchmark of acquiring a mutex
8 years ago
Craig Tiller
b3f34b6c2b
Add benchmarks of closures, combiners, exec_ctx primitives
8 years ago
Craig Tiller
e7c60e6282
Make latency traces more useful
8 years ago
Craig Tiller
07e8fb1775
Eliminate CQ freelist
8 years ago
Dan Born
3158f7bb47
API changes
8 years ago
Dan Born
8886a81865
Expand wildcard IP addresses on servers.
8 years ago
Craig Tiller
3845e55981
Add debug macros
8 years ago
Craig Tiller
5634ef6e4a
Make combiners refcounted, to facilitate sharing
8 years ago
Craig Tiller
44cc814bca
Add lots of casts
8 years ago
Craig Tiller
8f1b31530c
Use atomics for memory counters
...
Avoids two mutex acquisitions per allocation in bm_fullstack (where we
also count memory allocations)
8 years ago
David Garcia Quintas
012915045f
Secure naming support for gRPCLB
8 years ago
Harvey Tuch
5f3cfe960f
Fix read from uninitialized memory bug in GrpcBufferWriter.
...
This commit fixes an issue in which the following sequence of operations
leads to use of uninitialized memory:
1. Caller invokes GrpcBufferWriter::Next(), and then makes use of 8191
bytes in the returned buffer (which is 8192 bytes in size).
2. Caller then returns the unused single byte via
GrpcBufferWriter::BackUp(). This method invokes
g_core_codegen_interface->grpc_slice_split_tail(), which causes
backup_slice_ to be a grpc_slice with one byte.
3. At the next invocation of GrpcBufferWriter::Next(), a reference to
the single byte grpc_slice is returned to the caller.
The problem here is that the returned reference is to the inlined buffer
in the grpc_slice, which is resident in slice_, not the location of the
buffer inside slice_buffer_ after
g_core_codegen_interface->grpc_slice_buffer_add() in
GrpcBufferWriter::Next(). As a result, any data the caller writes to the
returned void* data is lost.
The solution is to avoid inlined backup slices.
8 years ago
Craig Tiller
01d7d9b2e5
Add allocations/iteration counters to bm_fullstack
8 years ago
Craig Tiller
b038beb724
Add counters for mutex acquisitions, expose in bm_fullstack
8 years ago
Robbie Shade
49124e7ae1
Adds an exec_ctx argument to orphan_cb in udp_server
8 years ago
Muxi Yan
938f099100
Add Cronet core tests to Jenkins
8 years ago
Sree Kuchibhotla
dfb82e076f
Address code review comments
8 years ago
Sree Kuchibhotla
0b26e27056
cr comments
8 years ago
Sree Kuchibhotla
afaa75196e
Add comment
8 years ago
Sree Kuchibhotla
e3ffd861c9
New microbenchmarks for Streaming Ping pong calls and messages
8 years ago
Craig Tiller
b0fd02ed06
Add examples from fuzzer server
8 years ago
Craig Tiller
d3c8fc005d
Test fixes
8 years ago
Craig Tiller
d72dbec9c5
Fix Windows
8 years ago
Craig Tiller
f5369947a1
Fix Bazel
8 years ago
Craig Tiller
abda919dfb
Fix include guards
8 years ago
Craig Tiller
61eb40ce56
Put files in a better place
8 years ago
Craig Tiller
8b1d59cafa
Add some debug utilities
...
This PR adds a set of debug helpers that are intended for calling only from gdb. They cross abstraction boundaries and allow quickly accessing one thing from another thing.
I expect to grow this library significantly over time to aid debugging tricky problems.
8 years ago
David Garcia Quintas
e985cf57c2
Fixed invalid handling of slice data in interop_server
8 years ago
Mark D. Roth
6c44ff1039
clang-format
8 years ago
Mark D. Roth
6e6c7b5b93
Fix secure_channel_create_test.
8 years ago
Craig Tiller
eb46816470
Fix potential use-after-free
8 years ago
Robbie Shade
c23feddd2c
Add an on_write callback to the UDP server.
8 years ago
Sree Kuchibhotla
5862f76bd1
GRPC_TIMEOUT_MILLIS_TO_DEADLINE now renamed to grpc_timeout_milliseconds_to_deadline
8 years ago
Craig Tiller
7ec4748502
Improve sync streaming benchmark, fix deadlock that can occur sometimes
8 years ago