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
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
David Garcia Quintas
e985cf57c2
Fixed invalid handling of slice data in interop_server
8 years ago
Craig Tiller
7ec4748502
Improve sync streaming benchmark, fix deadlock that can occur sometimes
8 years ago
Jan Tattermusch
bd0b0546a6
windows compilation fixes
8 years ago
yang-g
ded7f8250c
Minor fixes
8 years ago
Robbie Shade
ca7effcdff
Replace timeout/scaling macros with functions.
8 years ago
Dan Zhang
340bb83a59
Change shutdown_test.cc to use credential provider API to test against
...
different credential types.
8 years ago
Yuchen Zeng
8d2d70ca99
Support bidirectional stream RPC
...
Add bidistream test
Add bad request tests
Replace deprecated DynamicMessageFactory constructor
8 years ago
Craig Tiller
9a3997c853
Add a test verifying number of writes per RPC is reasonable
...
Mostly this is code copied from bm_fullstack and rephrased as a test.
I'm resisting the urge to unify it however, as I expect this code will evolve differently over time.
8 years ago
Craig Tiller
cf14a1bd1e
Add other fixtures to pump tests
8 years ago
Craig Tiller
db13ac4084
Add server->client long-lived streaming
8 years ago
Craig Tiller
e44d1a634a
Add client->server long-lived streaming
8 years ago
Sree Kuchibhotla
70d9ca402a
Excluded async_client_sync_server_* tests for poll-cv engine since it
...
sometimes get stuck (or extremely slow).
(https://github.com/grpc/grpc/issues/8545 ) created to debug poll-cv
issues with async_client_sync_server perf tests
8 years ago
Craig Tiller
9128716268
Track writes/RPC in microbenchmark
8 years ago
Mark D. Roth
435f9f23ef
Fix tests.
8 years ago
Craig Tiller
7c70b6c144
Revert "Revert "Metadata handling rewrite""
...
This reverts commit 5e01e2ac97
.
8 years ago
Craig Tiller
5e01e2ac97
Revert "Metadata handling rewrite"
8 years ago
Craig Tiller
ffc843ddcb
Fix test
8 years ago
Craig Tiller
331f705886
clang-format
8 years ago
Craig Tiller
a2f61e3d33
Add large message variants
8 years ago
ncteisen
9c7a08d250
Simplify cpp stress flags
8 years ago
Craig Tiller
62efabf638
Start benchmarking different sizes
8 years ago
Craig Tiller
95beab2284
Uncover the badness
8 years ago
Alexander Polcyn
62a7ca8c95
re-run clang-format.sh
8 years ago
Alexander Polcyn
6ff1ca4871
re-run generate project to build qps json driver
8 years ago
Alexander Polcyn
8a0ef63dea
remove LimitCores in c++ benchmark
8 years ago
Alexander Polcyn
a6e796f58f
ignore core counts and core lists in qps json driver
8 years ago
yang-g
cc5910228d
manual revert of #8901
8 years ago
Eric Gribkoff
c344e87449
Adds HTTP/2 interop test client
8 years ago
Yuxuan Li
ac87a46225
enable uploading server cpu usage data from performance tests to big query
8 years ago
Yuxuan Li
98c0bd7c82
add setting channel args functionality to performance tesing
...
setting channel args --draft
clang-format
8 years ago
Craig Tiller
e4fae4ef9f
clang-format
8 years ago
Craig Tiller
f3ed2bf8ca
Fix interop
8 years ago
Jan Tattermusch
9f89107f17
better qps_json_driver message when QPS_WORKERS env is missing
8 years ago
Alexander Polcyn
4873d30ea2
allow disable core_list setting and override qps server in benchmarks
8 years ago
David Garcia Quintas
855a1063ec
grpclb: skip slash in server uri path if present
8 years ago
Sree Kuchibhotla
7eef316e20
Fix metrics server
8 years ago
Yuchen Zeng
d37f642f35
Support server streaming
...
Skip unparsable input
Add tests for uni-directional stream calls
Simplify client stream handling
8 years ago
Yuchen Zeng
f9329217b1
Support client streaming
8 years ago
Yuchen Zeng
a84cdb8c81
Add parse, tobinary, totext commands
8 years ago
Mark D. Roth
13f3574642
clang-format
8 years ago
Mark D. Roth
473ff83fac
Fix filter_end2end_test.
8 years ago
Mark D. Roth
42663fb20e
Fix bug.
8 years ago
Mark D. Roth
aa1cd14729
Clean up C++ filter API.
8 years ago