Craig Tiller
9202b3fdfd
Arena allocator for grpc
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
Craig Tiller
12352b2c5c
Add test of server builder, including channel args
8 years ago
Craig Tiller
e067b6e119
Resolve sanity failures
8 years ago
Craig Tiller
f09ec59222
Fix mac build
8 years ago
Craig Tiller
627a59892a
Prep for splitting bm_fullstack
8 years ago
Craig Tiller
5e3215338f
Move helpers to a common place, use them everywhere
8 years ago
Craig Tiller
295df6da9a
Add a slice type that shares a refcount with a transport stream
8 years ago
Craig Tiller
edbf2b9d13
Add a spinlock type.
...
Useful for situations where we need to repeatedly trylock, not useful
for cases where we need to lock (due to spinning).
Add a variant of sync_test to test it (with the same tests we run for
gpr_mu).
Add a benchmark to bm_closure to demonstrate single threaded performance.
8 years ago
Yuchen Zeng
990d9fe146
Client-side keepalive ping
...
Based on soltanmm-google's #9114
8 years ago
ncteisen
3da3ce3c29
Add error test
8 years ago
Yuchen Zeng
a9d8a157be
Add parse_address_test
8 years ago
David Garcia Quintas
e854357117
Reintroduced golden_file_test
8 years ago
David Garcia Quintas
1f980cf7bb
Removed useless cpp/codegen/golden_file_test
8 years ago
Craig Tiller
8506219a15
Remove internal api canaries: they have never solved anything for us
8 years ago
murgatroid99
1191b7202d
Improve Node and libuv testing and test coverage
...
Allow Node tests to run with or without UV, change default version to 7, add some portability tests. Also make some more core tests work with libuv
8 years ago
David Garcia Quintas
f31f096274
Use call context to propagare LR costs
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
1bb53718bf
Disable writes_per_rpc on Windows
8 years ago
Jan Tattermusch
bd0b0546a6
windows compilation fixes
8 years ago
yang-g
988b47c977
Add metadata_map.h to build.yaml
...
Add missing files to BUILD
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
yang-g
0ed9fd4fef
update submodules
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
Stanley Cheung
b39942f06f
Update boringssl to latest chromium-stable
8 years ago
Jan Tattermusch
1c6a144d69
fix ordering of deps in grpclb_test
8 years ago
ncteisen
9c7a08d250
Simplify cpp stress flags
8 years ago
Yuxuan Li
6fb04d6924
memory usage profiling for client call, client channel, server creation, server call and server channel.
...
fix bug. server: snapshot pass by pointer
8 years ago
Craig Tiller
032baa8308
Fix sanity: check_sources_and_headers
8 years ago
Craig Tiller
d7ee291d5f
Fix tests
8 years ago
Muxi Yan
dc739bd659
Remove packet coalescing testing on chttp2
8 years ago
Craig Tiller
2ef5a647bf
Add a test of finishing buffering with EOS
8 years ago
Craig Tiller
4e6247a23c
Fix sequential write buffering
8 years ago
Muxi Yan
8803ae8c3a
build changes
8 years ago
yang-g
ad32764219
sync test pass
8 years ago
Mark D. Roth
4d2ea02129
Revert "Revert "Revert "Revert "Remove redundant includes from string.h and tmpfile.h""""
8 years ago
Craig Tiller
30268a99e0
Revert "Revert "Revert "Remove redundant includes from string.h and tmpfile.h"""
8 years ago
Craig Tiller
70a85ad617
Revert "Handle (and test) short call deadlines"
8 years ago
David Garcia Quintas
9460166968
Short deadlines: set Status on deadline
8 years ago
David Garcia Quintas
ff3112188b
Renamed google_benchmark submodule to benchmark
8 years ago
Mark D. Roth
2d317fbc57
Revert "Revert "Remove redundant includes from string.h and tmpfile.h""
8 years ago
Mark D. Roth
4eec0041f5
Revert "Remove redundant includes from string.h and tmpfile.h"
8 years ago
Sree Kuchibhotla
f989469fe3
Temporarily enable gpr_slice_* functions to not break api compatibility
8 years ago
Mark D. Roth
2502afbdcb
Fixed build.yaml and ran generate_projects.sh.
8 years ago
Mark D. Roth
8686cab11c
Use the same connector code for both secure and insecure clients.
8 years ago
Craig Tiller
7cdad96fc4
Fix foward declaration duplication
8 years ago
Craig Tiller
64b26567ad
First pass of slice interning facilities
8 years ago
yang-g
979abf6747
regenerate projects
8 years ago