Commit Graph

2387 Commits

Author SHA1 Message Date
Sree Kuchibhotla 752be9ceeb clang format code 2017-03-03 14:36:02 -08:00
Sree Kuchibhotla 1dbd981cf8 Prefix grpc_cq_polling_type enums with GRPC_CQ_ 2017-03-03 14:27:44 -08:00
Sree Kuchibhotla 9f71b17707 Fix clang formatting issues 2017-03-03 12:54:58 -08:00
Craig Tiller cc928d6b71 Cleanup 2017-03-03 11:06:40 -08:00
Sree Kuchibhotla 2c7ab675c3 Merge branch 'master' into cq_create_api_changes 2017-03-03 10:57:07 -08:00
Craig Tiller 52bd441b25 Get back trickle 2017-03-03 10:52:22 -08:00
Craig Tiller 12d22e472b Further splitting 2017-03-03 10:14:20 -08:00
Craig Tiller 62ac65b183 Split bm_fullstack unary ping pong out 2017-03-03 09:57:43 -08:00
Craig Tiller 627a59892a Prep for splitting bm_fullstack 2017-03-03 09:47:21 -08:00
Craig Tiller e4a2419597 Bugfixes 2017-03-03 08:53:52 -08:00
Craig Tiller 5e3215338f Move helpers to a common place, use them everywhere 2017-03-03 08:50:25 -08:00
Craig Tiller c9bf9ba7a7 Merge pull request #9930 from ctiller/call_create_fixtures
Add fixtures for call creation benchmarks
2017-03-03 07:58:52 -08:00
Sree Kuchibhotla 982a6f2b1c C++ code changes in response to grpc_completion_queue_create() API change 2017-03-03 02:19:31 -08:00
Eric Gribkoff 11a4ed80d6 refactor client 2017-03-01 22:22:38 -08:00
Eric Gribkoff caf7ea53be Enable C++ negative http2 test 2017-03-01 22:22:38 -08:00
Craig Tiller 4883fd8a20 Merge github.com:grpc/grpc into call_create_fixtures 2017-03-01 13:32:33 -08:00
ncteisen 2316b80875 Merge branch 'master' of https://github.com/grpc/grpc into to-grpc-err-is-human 2017-03-01 11:52:32 -08:00
Craig Tiller 9ef6fc8d0e Merge github.com:grpc/grpc into stream_owned_slice 2017-03-01 11:30:03 -08:00
Craig Tiller 295df6da9a Add a slice type that shares a refcount with a transport stream 2017-03-01 11:28:24 -08:00
Craig Tiller 2bfc3bcf8d Add fixtures for call creation benchmarks 2017-03-01 07:54:20 -08:00
Vijay Pai 24992060c8 Finish streams that error. Don't histogram failed ops.
Fail on failed write
2017-02-28 15:39:22 -08:00
David G. Quintas 9ccebc3a45 Merge pull request #9773 from dgquintas/build_files
Test BUILD file assortment
2017-02-28 14:41:36 -08:00
Craig Tiller 6517333d17 Merge pull request #9881 from ctiller/spinlock
Add a spinlock type.
2017-02-28 12:57:01 -08:00
Craig Tiller 4d92a49fc0 Merge github.com:grpc/grpc into cpp_bazelness 2017-02-28 08:43:06 -08:00
Craig Tiller cd232f64c6 Merge pull request #9753 from ctiller/zalloc
Add zalloc, convert a bunch of files to use it
2017-02-27 15:58:23 -08:00
Craig Tiller a10f00c711 Merge github.com:grpc/grpc into spinlock 2017-02-27 15:56:16 -08:00
Craig Tiller 79ccb81b48 Merge pull request #9882 from ctiller/cqbm
Add more cq benchmarks
2017-02-27 15:55:06 -08:00
Yang Gao dc720ca6bf Merge pull request #9846 from yang-g/max_message_size
Stop receiving and add an error to batch when there is an error from lower level.
2017-02-27 12:40:04 -08:00
Craig Tiller b843ff2ce4 Add more cq benchmarks 2017-02-27 07:34:07 -08:00
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.
2017-02-27 07:24:00 -08:00
Craig Tiller 312fdba350 Merge github.com:grpc/grpc into bm_meta 2017-02-24 17:03:20 -08:00
Craig Tiller f30194f157 Merge branch 'bm_meta' of github.com:ctiller/grpc into bm_meta 2017-02-24 17:00:42 -08:00
Craig Tiller 510f38a711 Merge branch 'bm_chttp2' into bm_meta 2017-02-24 17:00:19 -08:00
Craig Tiller 2363cadb3e Merge branch 'cpp_bazelness' of github.com:ctiller/grpc into cpp_bazelness 2017-02-24 16:24:07 -08:00
Craig Tiller bf515b6f7f Merge github.com:grpc/grpc into cpp_bazelness 2017-02-24 16:23:50 -08:00
Craig Tiller 3d72d71c7c Merge github.com:grpc/grpc into zalloc 2017-02-24 15:30:51 -08:00
Sree Kuchibhotla defc69670a Merge pull request #9774 from sreecha/surface_test_bazel
Bazel BUILD files tests under `test/core/surface` and `test/cpp/end2end`
2017-02-24 10:46:54 -08:00
yang-g 23f777df08 When there is an error from filters (such as max recv message size too
large), add an error to the batch to avoid emitting new rpc on the
server side in C++.
2017-02-23 15:34:21 -08:00
Craig Tiller 681507aa24 Fix memory leak 2017-02-23 13:17:29 -08:00
Craig Tiller b82b3d0e52 Fixes for zalloc 2017-02-23 12:50:05 -08:00
ncteisen b307fdeb6e Merge branch 'bm_error' of https://github.com/ctiller/grpc into to-grpc-err-is-human 2017-02-23 11:21:12 -08:00
Craig Tiller b92d5a2f70 Merge branch 'bm_error' into bm_meta 2017-02-23 10:12:35 -08:00
Craig Tiller 523d54beeb Refine to just be a HPACK benchmark 2017-02-23 08:52:38 -08:00
Craig Tiller 0db30f3dd0 HPACK parsing benchmarks 2017-02-23 08:48:34 -08:00
Craig Tiller 01aadcd9ff Merge github.com:grpc/grpc into bm_error 2017-02-23 06:37:44 -08:00
Craig Tiller d82c18894a Merge pull request #9737 from ctiller/bm_call_create
Call creation/destruction benchmark
2017-02-22 19:08:46 -08:00
Craig Tiller 5cd989e95a Basic parsing tests 2017-02-22 17:08:00 -08:00
Craig Tiller 29dd982487 ... 2017-02-22 16:49:47 -08:00
Sree Kuchibhotla 43bca1be48 Add BUILD file for end2end tests too 2017-02-22 16:37:27 -08:00
Craig Tiller 2f792d9d16 Initial http2 benchmarks 2017-02-22 16:26:33 -08:00
Craig Tiller 11468c0c2a Merge branch 'bm_call_create' into bm_error 2017-02-22 14:24:48 -08:00
Craig Tiller 385b00932c Cleanup 2017-02-22 13:45:01 -08:00
Sree Kuchibhotla e8a1a50465 Merge branch 'master' into surface_test_bazel 2017-02-22 10:45:13 -08:00
Craig Tiller 2ec37e1bdb Fix memory leak 2017-02-22 10:26:52 -08:00
David G. Quintas 81f81c26f6 Merge pull request #9783 from dgquintas/bazel_gflags
add gflags to bazel
2017-02-22 10:19:58 -08:00
Craig Tiller eb022becae Fix compile 2017-02-22 08:08:53 -08:00
Craig Tiller 1d77399656 Fix copyright 2017-02-21 16:36:51 -08:00
Craig Tiller 21dd43a1cd Merge github.com:grpc/grpc into bm_call_create 2017-02-21 16:06:13 -08:00
Craig Tiller 8b01e8f5e6 Merge pull request #9708 from ctiller/bm_cq
Add microbenchmark of single-threaded CQ operations
2017-02-21 16:05:50 -08:00
David Garcia Quintas 388b24d5a1 Added gflags dependency to test_config 2017-02-21 14:58:32 -08:00
David Garcia Quintas e854357117 Reintroduced golden_file_test 2017-02-21 10:44:02 -08:00
Craig Tiller 7f4d30a032 Separate CAS/ADD RMWs 2017-02-21 10:24:00 -08:00
Craig Tiller f3dec9c995 Add counters for rmw atomic operations to microbenchmarks 2017-02-21 10:02:31 -08:00
Sree Kuchibhotla fac16f6d3d Merge branch 'master' into surface_test_bazel 2017-02-21 08:50:31 -08:00
Craig Tiller c92290329f Merge github.com:grpc/grpc into we-have-better-methods-now 2017-02-18 15:13:59 -08:00
Yang Gao 36ffc6e0f7 Merge pull request #9205 from yang-g/health
C++ default health checking service.
2017-02-17 21:42:55 -08:00
Sree Kuchibhotla a3bc1efe4f BUILD files for end2end tests 2017-02-17 21:05:54 -08:00
David Garcia Quintas 1f980cf7bb Removed useless cpp/codegen/golden_file_test 2017-02-17 16:43:26 -08:00
ncteisen 2f15e9b456 Add new bm_error test to exercise error_set_xxx 2017-02-17 16:29:22 -08:00
Craig Tiller b32ffb9145 Fixes 2017-02-17 15:47:59 -08:00
Craig Tiller 76793fe8dd Merge branch 'build_files' of github.com:dgquintas/grpc into cpp_bazelness 2017-02-17 15:45:33 -08:00
Craig Tiller 181d420e04 Merge branch 'build_files' of github.com:dgquintas/grpc into cpp_bazelness 2017-02-17 15:44:54 -08:00
David Garcia Quintas eb4c47e006 test/cpp/codegen 2017-02-17 15:41:20 -08:00
Craig Tiller f4ea01b71a Complete microbenchmarks 2017-02-17 15:21:11 -08:00
Craig Tiller 19f3ea2c20 Start bringing microbenchmarks to Bazel 2017-02-17 15:17:05 -08:00
Craig Tiller bbc1eb00a8 Finish test/cpp/common 2017-02-17 14:40:40 -08:00
Craig Tiller 3a48847182 qps BUILD progress 2017-02-17 14:35:26 -08:00
Craig Tiller 221edc1e5b Remove dead code 2017-02-17 13:58:19 -08:00
Craig Tiller 05fbe3c518 Get gtest building with Bazel, add first test in test/cpp/common/BUILD 2017-02-17 13:27:21 -08:00
Nicolas "Pixel" Noble abd887012f Initial test/cpp/util/BUILD file. 2017-02-17 21:56:10 +01:00
yang-g 55c6ebfd7a Merge branch 'master' into health 2017-02-17 09:55:03 -08:00
Craig Tiller 2bc4cc4237 Merge github.com:grpc/grpc into bm_call_create 2017-02-17 06:55:55 -08:00
Craig Tiller f422cc77ba Merge github.com:grpc/grpc into bm_cq 2017-02-17 06:51:47 -08:00
Paul Marks 69c0437e75 Merge pull request #9634 from pmarks-net/master
Connect to "localhost" from interop clients.
2017-02-16 16:34:42 -08:00
Craig Tiller b8e2bca4eb Add a benchmark for metadata primitives 2017-02-16 16:26:51 -08:00
Craig Tiller 985736358c Merge github.com:grpc/grpc into bm_cq 2017-02-16 09:45:17 -08:00
Craig Tiller 2f201bd351 Merge branch 'bm_call_create' into bm_error 2017-02-16 09:25:29 -08:00
Craig Tiller be42e1cb6a Fix missing header 2017-02-16 09:25:23 -08:00
Craig Tiller 5663953cb4 Fix compilation on Linux 2017-02-16 09:10:22 -08:00
Craig Tiller 264307fa3d Add benchmarks for grpc_error 2017-02-16 09:07:45 -08:00
Craig Tiller d3b8cd6617 Merge github.com:grpc/grpc into bm_closure 2017-02-15 23:55:31 -08:00
Craig Tiller 03eec51790 Merge pull request #9697 from ctiller/bm_trickle
Add a test that measures flow control stalls in a deterministic way
2017-02-15 23:52:46 -08:00
Craig Tiller 4f60fbf104 Add initial metadata benchmarks 2017-02-15 23:50:36 -08:00
Craig Tiller 3a04debe74 Add load reporting 2017-02-15 23:01:47 -08:00
Craig Tiller c52ba3a03f Hoist constant setting out of loop - and shave some ns from call creation 2017-02-15 22:57:43 -08:00
Craig Tiller a25c9b4aa0 Call out no-filter case 2017-02-15 17:19:22 -08:00
Craig Tiller 4bba37c228 Add a no-filter stack for comparison 2017-02-15 17:16:44 -08:00
Craig Tiller 571b7fffb3 Add benchmarks for a good selection of filters 2017-02-15 17:10:53 -08:00
Craig Tiller fd044b8b22 Call creation benchmark 2017-02-15 16:15:48 -08:00
Craig Tiller 872e932b09 Merge github.com:grpc/grpc into bm_call_create 2017-02-15 13:08:43 -08:00
Craig Tiller 1f8c55835d Merge branch 'bm_closure' into bm_cq 2017-02-15 08:34:49 -08:00
Craig Tiller 2b085f9923 Merge branch 'bm_trickle' into bm_closure 2017-02-15 08:26:37 -08:00
Craig Tiller 22482a41b6 Merge branch 'bm_trickle' of github.com:ctiller/grpc into bm_trickle 2017-02-15 08:25:09 -08:00
Craig Tiller d9bc2107e5 Update microbenchmarking framework for new benchmark 2017-02-15 08:24:55 -08:00
Craig Tiller 7f9184f314 Review feedback 2017-02-14 22:39:47 -08:00
Craig Tiller 5752570b02 Fix memory leak 2017-02-14 21:58:46 -08:00
Craig Tiller 14ae5381af Add microbenchmark of single-threaded CQ operations 2017-02-14 12:43:50 -08:00
Craig Tiller ef6d744c23 Include faster networks 2017-02-13 19:23:09 -08:00
Craig Tiller 4cb0a7a5a1 Better test 2017-02-13 17:14:20 -08:00
Craig Tiller fe5f497f77 Add a test that measures flow control stalls in a deterministic way 2017-02-13 16:26:27 -08:00
Craig Tiller 4dde8b277d Fix stack corruption 2017-02-13 12:44:14 -08:00
Craig Tiller 96f8728b06 Add a comparison benchmark of acquiring a mutex 2017-02-13 12:39:12 -08:00
Craig Tiller b3f34b6c2b Add benchmarks of closures, combiners, exec_ctx primitives 2017-02-13 10:29:33 -08:00
Craig Tiller e7c60e6282 Make latency traces more useful 2017-02-13 08:56:36 -08:00
Craig Tiller 7dd42bf3d8 Merge pull request #9522 from ctiller/bm_perf
Update latency profiler to use (more appropriate) microbenchmarks
2017-02-08 13:57:09 -08:00
David G. Quintas 5ef95a96ab Merge pull request #9194 from dgquintas/lb_secure_naming_3
Secure naming support for gRPCLB.
2017-02-07 21:00:59 -08:00
David Garcia Quintas 012915045f Secure naming support for gRPCLB 2017-02-07 17:41:57 -08:00
Paul Marks 3a5bba0a20 Connect to "localhost" from interop clients.
This is for compatibility with IPv6-only environments; see the Google
bug b/32531998.

Note that InteropClient.cs and http2_client.cc don't appear to be tested
by our internal branch, but I've included them for consistency.
2017-02-07 16:28:09 -08:00
Craig Tiller ea2c59420c Merge pull request #9619 from ctiller/bm_counters
Add counters for important metrics to bm_fullstack
2017-02-07 15:16:40 -08:00
yang-g 076bac017b Remove async 2017-02-07 13:50:36 -08:00
yang-g 13a537bcae merge with head 2017-02-07 13:13:20 -08:00
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.
2017-02-07 15:45:44 -05:00
Craig Tiller d52b76de44 Merge github.com:grpc/grpc into bm_perf 2017-02-07 10:30:58 -08:00
Sree Kuchibhotla 3d4f443527 Merge pull request #9590 from sreecha/micro_bm
Add Streaming ping-pong micro-benchmarks
2017-02-07 10:21:44 -08:00
Craig Tiller 01d7d9b2e5 Add allocations/iteration counters to bm_fullstack 2017-02-07 08:39:05 -08:00
Craig Tiller b038beb724 Add counters for mutex acquisitions, expose in bm_fullstack 2017-02-07 08:28:51 -08:00
Yang Gao f4c45d7532 Merge pull request #9419 from danzh2010/shutdowntest
Change shutdown_test.cc to use credential provider API to test against  different credential types
2017-02-06 22:27:13 -08:00
Sree Kuchibhotla dfb82e076f Address code review comments 2017-02-03 21:05:01 -08:00
Sree Kuchibhotla 0b26e27056 cr comments 2017-02-03 20:41:00 -08:00
Sree Kuchibhotla afaa75196e Add comment 2017-02-03 19:43:47 -08:00
Sree Kuchibhotla e3ffd861c9 New microbenchmarks for Streaming Ping pong calls and messages 2017-02-03 19:39:31 -08:00
Craig Tiller c40b34745a Merge branch 'bwest' into assert_writes 2017-02-03 11:54:26 -08:00
Craig Tiller bc335df49d Merge github.com:grpc/grpc into bwest 2017-02-03 09:12:07 -08:00
David G. Quintas f538e15ca5 Merge pull request #9572 from dgquintas/interop_server_mac_slice_crash
Fixed invalid handling of slice data in interop_server
2017-02-03 08:04:07 -08:00
Sree Kuchibhotla fbe0cf27f1 Merge pull request #9487 from ctiller/bm_stream
One-way streaming microbenchmarks
2017-02-02 22:27:51 -08:00
David Garcia Quintas e985cf57c2 Fixed invalid handling of slice data in interop_server 2017-02-02 19:19:01 -08:00
Craig Tiller 6c5d08f3ac Merge branch 'bm_stream' into bm_perf 2017-02-02 12:02:37 -08:00
Craig Tiller 5395aba78b Merge github.com:grpc/grpc into bwest 2017-02-02 10:29:04 -08:00
Jan Tattermusch 26623b3d77 Merge pull request #9456 from jtattermusch/cmake_convenience_targets
Big improvements to CMake build
2017-02-02 09:26:17 -08:00
Yang Gao afe67c0b85 Merge pull request #9545 from yang-g/fix
Minor fixes
2017-02-01 21:35:29 -08:00
Craig Tiller 7ec4748502 Improve sync streaming benchmark, fix deadlock that can occur sometimes 2017-02-01 16:54:51 -08:00
Craig Tiller 3a63d4c005 Merge github.com:grpc/grpc into bwest 2017-02-01 15:27:24 -08:00
Craig Tiller 6c1d43bdd2 Merge github.com:grpc/grpc into bm_stream 2017-02-01 15:26:14 -08:00
Jan Tattermusch bd0b0546a6 windows compilation fixes 2017-02-02 00:01:09 +01:00
yang-g ded7f8250c Minor fixes 2017-02-01 10:49:51 -08:00
Craig Tiller 27ffc9b551 Merge github.com:grpc/grpc into bwest 2017-02-01 09:29:56 -08:00
Sree Kuchibhotla 03370d31a8 Merge branch 'master' into poll-cv-disable 2017-02-01 08:33:33 -08:00
Yang Gao c9f9c1e95b Merge pull request #9364 from rjshade/sanitizer_slowdown
Replaces macros with methods for test timeout scaling
2017-01-31 21:19:26 -08:00
Craig Tiller a5b1a89779 Merge github.com:grpc/grpc into bwest 2017-01-31 15:56:57 -08:00
Craig Tiller 520cca9f7d Merge github.com:grpc/grpc into bm_stream 2017-01-31 15:53:47 -08:00
Sree Kuchibhotla 6687cb8297 Merge branch 'master' into poll-cv-disable 2017-01-31 15:50:05 -08:00
Craig Tiller f7af2a9a05 Update latency profiler to use (more appropriate) microbenchmarks 2017-01-31 15:08:31 -08:00
Robbie Shade ca7effcdff Replace timeout/scaling macros with functions. 2017-01-31 15:40:20 -05:00
Dan Zhang 340bb83a59 Change shutdown_test.cc to use credential provider API to test against
different credential types.
2017-01-31 15:20:09 -05:00
Yuchen Zeng 08a215f72c Merge pull request #8066 from y-zeng/cli_main_fork
gRPC CLI stream RPC support
2017-01-31 10:34:04 -08:00
Yuchen Zeng 8d2d70ca99 Support bidirectional stream RPC
Add bidistream test

Add bad request tests

Replace deprecated DynamicMessageFactory constructor
2017-01-30 14:31:24 -08:00
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.
2017-01-30 13:22:33 -08:00
yang-g edcde054c6 Merge remote-tracking branch 'upstream/master' into health 2017-01-30 09:58:46 -08:00
Sree Kuchibhotla 6b446b601e Merge branch 'master' into poll-cv-disable 2017-01-30 09:17:12 -08:00
Craig Tiller cf14a1bd1e Add other fixtures to pump tests 2017-01-27 17:19:03 -08:00
Craig Tiller db13ac4084 Add server->client long-lived streaming 2017-01-27 17:11:38 -08:00
Craig Tiller e44d1a634a Add client->server long-lived streaming 2017-01-27 17:06:16 -08:00
Craig Tiller 5e308087bc Merge branch 'bm_msgsz' into bm_countwrites 2017-01-27 12:11:49 -08:00
Craig Tiller 8a8021a2ad Merge github.com:grpc/grpc into bm_msgsz 2017-01-27 12:11:25 -08:00
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
2017-01-27 10:54:05 -08:00
Craig Tiller 68bb6a8453 Merge github.com:grpc/grpc into rollfwd 2017-01-27 06:52:13 -08:00
Craig Tiller 9128716268 Track writes/RPC in microbenchmark 2017-01-26 14:44:25 -08:00
Craig Tiller c2e85bf9f6 Merge branch 'maxmsgsz' into bm_msgsz 2017-01-26 13:51:24 -08:00
Craig Tiller 4edd56751f Merge github.com:grpc/grpc into maxmsgsz 2017-01-26 13:50:14 -08:00
yang-g a7198021a6 merge with head 2017-01-26 13:23:52 -08:00
Craig Tiller afceb2edbd Merge github.com:grpc/grpc into rollfwd 2017-01-26 12:21:28 -08:00
Mark D. Roth 435f9f23ef Fix tests. 2017-01-25 12:53:54 -08:00
Craig Tiller 7c70b6c144 Revert "Revert "Metadata handling rewrite""
This reverts commit 5e01e2ac97.
2017-01-23 07:48:42 -08:00
Craig Tiller 5e01e2ac97 Revert "Metadata handling rewrite" 2017-01-20 18:11:52 -08:00
Craig Tiller f8ea95786f Merge branch 'maxmsgsz' into bm_msgsz 2017-01-20 15:58:57 -08:00
Craig Tiller ffc843ddcb Fix test 2017-01-20 15:54:45 -08:00
Craig Tiller b7b7486c4b Merge github.com:grpc/grpc into metadata_filter 2017-01-20 11:31:47 -08:00
Craig Tiller 331f705886 clang-format 2017-01-19 11:52:20 -08:00
ncteisen c51f19d62a Merge branch 'master' of https://github.com/grpc/grpc into cpp_stress_flags 2017-01-19 11:49:07 -08:00
Craig Tiller a2f61e3d33 Add large message variants 2017-01-19 09:53:07 -08:00
ncteisen 9c7a08d250 Simplify cpp stress flags 2017-01-18 16:58:33 -08:00
Craig Tiller f593d88c78 Merge github.com:grpc/grpc into metadata_filter 2017-01-18 15:45:43 -08:00
Craig Tiller 62efabf638 Start benchmarking different sizes 2017-01-18 15:45:30 -08:00
apolcyn 44e907af0e Merge pull request #9322 from apolcyn/deprecate_benchmark_core_lists
Don't configure core lists in in benchmark driver
2017-01-17 17:30:41 -08:00
Craig Tiller 9d4fc31da4 Merge github.com:grpc/grpc into metadata_filter 2017-01-12 14:08:50 -08:00
Craig Tiller 95beab2284 Uncover the badness 2017-01-12 13:41:52 -08:00
Alexander Polcyn 62a7ca8c95 re-run clang-format.sh 2017-01-12 11:32:15 -08:00
lyuxuan def69b3075 Merge pull request #8816 from lyuxuan/cpu_usage2
sending cpu load latency performance test results to big query
2017-01-12 06:27:19 -08:00
lyuxuan 3cdf729eb0 Merge pull request #8770 from lyuxuan/channel_args1
configurable channel args for performance benchmarking
2017-01-11 23:36:52 -08:00
Eric Gribkoff ebb3d5d4fc Merge pull request #9139 from ericgribkoff/http2_client
Add HTTP/2 interop test client

Known failures: https://github.com/grpc/grpc/issues/8629
2017-01-11 17:45:30 -08:00
Alexander Polcyn 6ff1ca4871 re-run generate project to build qps json driver 2017-01-11 14:25:55 -08:00
Alexander Polcyn 8a0ef63dea remove LimitCores in c++ benchmark 2017-01-11 13:52:01 -08:00
Alexander Polcyn a6e796f58f ignore core counts and core lists in qps json driver 2017-01-11 13:49:43 -08:00
yang-g 8a7a4462b1 merge with head 2017-01-11 13:13:23 -08:00
yang-g cc5910228d manual revert of #8901 2017-01-11 11:10:43 -08:00
Eric Gribkoff c344e87449 Adds HTTP/2 interop test client 2017-01-11 09:14:28 -08:00
Yuxuan Li ac87a46225 enable uploading server cpu usage data from performance tests to big query 2017-01-11 10:01:16 +00:00
Yuxuan Li 98c0bd7c82 add setting channel args functionality to performance tesing
setting channel args --draft

clang-format
2017-01-11 08:01:40 +00:00
Craig Tiller e4fae4ef9f clang-format 2017-01-10 17:01:51 -08:00
Craig Tiller f3ed2bf8ca Fix interop 2017-01-10 17:01:26 -08:00
yang-g 35674af901 make test robust 2016-12-29 15:15:12 -08:00
yang-g a3c95529c7 async works 2016-12-29 12:10:52 -08:00
yang-g 8e708b12cb WIP 2016-12-29 11:44:36 -08:00
yang-g 50993b7a4c async first take 2016-12-29 10:00:27 -08:00
yang-g 9bef0740a4 Add test for explicit option 2016-12-27 15:37:59 -08:00
yang-g b74cf429fd test pass 2016-12-27 15:37:59 -08:00
yang-g ad32764219 sync test pass 2016-12-27 15:37:59 -08:00
Craig Tiller ef6938477b Merge branch 'slice_with_exec_ctx' into metadata_filter 2016-12-27 08:59:00 -08:00
Craig Tiller 0704727c2d Merge github.com:grpc/grpc into slice_with_exec_ctx 2016-12-27 08:38:35 -08:00
Jan Tattermusch 9f89107f17 better qps_json_driver message when QPS_WORKERS env is missing 2016-12-21 12:20:37 +01:00
Alexander Polcyn 4873d30ea2 allow disable core_list setting and override qps server in benchmarks 2016-12-20 19:24:43 -08:00
David G. Quintas 89f33bfd91 Merge pull request #9143 from sreecha/fix_metrics_server
Fix metrics server
2016-12-19 16:07:27 -08:00
David Garcia Quintas 855a1063ec grpclb: skip slash in server uri path if present 2016-12-16 13:13:56 -08:00
Sree Kuchibhotla 7eef316e20 Fix metrics server 2016-12-16 11:30:35 -08:00
Yuchen Zeng d37f642f35 Support server streaming
Skip unparsable input

Add tests for uni-directional stream calls

Simplify client stream handling
2016-12-15 16:10:37 -08:00
Yuchen Zeng f9329217b1 Support client streaming 2016-12-15 15:54:39 -08:00
Mark D. Roth f290686a10 Merge remote-tracking branch 'upstream/master' into cpp_filter_api_cleanup 2016-12-15 09:48:38 -08:00
Craig Tiller 9a66ba5fe9 Merge branch 'slice_with_exec_ctx' into metadata_filter 2016-12-15 07:13:35 -08:00
Craig Tiller 6997c3473b Merge github.com:grpc/grpc into slice_with_exec_ctx 2016-12-15 07:12:39 -08:00
Yuchen Zeng a84cdb8c81 Add parse, tobinary, totext commands 2016-12-14 15:41:18 -08:00
Mark D. Roth 13f3574642 clang-format 2016-12-14 12:39:03 -08:00
Ronak Jain a3f8097b34 replaced protobuf tag in compile_test_golden 2016-12-14 22:52:38 +05:30
Mark D. Roth 473ff83fac Fix filter_end2end_test. 2016-12-14 08:21:12 -08:00
Mark D. Roth 42663fb20e Fix bug. 2016-12-12 10:51:01 -08:00
Mark D. Roth aa1cd14729 Clean up C++ filter API. 2016-12-12 10:24:59 -08:00
Craig Tiller 1b0d2f008b Merge branch 'slice_with_exec_ctx' into metadata_filter 2016-12-12 07:19:55 -08:00
Craig Tiller b995e8bcda Merge github.com:grpc/grpc into slice_with_exec_ctx 2016-12-12 06:36:43 -08:00
Craig Tiller 9e90d22ab7 Fixes 2016-12-09 12:36:39 -08:00
Craig Tiller e7b74698f9 Merge branch 'slice_interning' into metadata_filter 2016-12-09 08:44:39 -08:00
Craig Tiller 7ae081b9f0 Merge github.com:grpc/grpc into slice_with_exec_ctx 2016-12-09 08:37:48 -08:00
yang-g 6c8de363ca Use user provided method name when using binary files in cli 2016-12-08 23:05:50 -08:00
Craig Tiller f658bf0e1b Start resolving memory issues in C++ metadata 2016-12-08 14:11:47 -08:00
apolcyn ad13e597e5 Merge pull request #8969 from apolcyn/fix_netperf_quit_job_timeout
handle empty string for qps workers in driver and dont quit them after netperf test
2016-12-08 14:04:48 -08:00
Craig Tiller 18348a3bfb Fix C++ test compilation 2016-12-07 09:58:31 -08:00
Craig Tiller 385dd9a462 Merge branch 'slice_interning' into metadata_filter 2016-12-06 20:27:38 -08:00
David Garcia Quintas ff3112188b Renamed google_benchmark submodule to benchmark 2016-12-06 17:44:57 -08:00
Craig Tiller 25910a2896 Fix compilation 2016-12-06 17:39:45 -08:00
Alex Polcyn fcf09ea42e handle empty string for qps workers in driver and dont quit them on netperf 2016-12-06 04:00:05 +00:00
Craig Tiller 76b7ab431a Interop test might take a little longer to start up (esp. w/tsan) 2016-12-05 15:55:18 -08:00
Craig Tiller 032ca47012 Merge pull request #8944 from dgquintas/interop_server_atm
Fix data race with atomic for interop c++
2016-12-05 11:31:04 -08:00
Craig Tiller 9b1ad661ba Merge pull request #8955 from ctiller/fixit26
Update server_crash_test to account for longer reconnect timeouts
2016-12-05 11:30:33 -08:00
Mark D. Roth bf25e240bc Fix test name conflict in import. Also use low-thread-count variant for asan. 2016-12-05 09:39:01 -08:00
Craig Tiller fbcd9a7344 Update server_crash_test to account for longer reconnect timeouts 2016-12-05 08:47:02 -08:00
Mark D. Roth d101e14211 Revert "Renamed google_benchmark submodule to benchmark" 2016-12-05 08:04:22 -08:00
Mark D. Roth 746578ac9c Merge pull request #8851 from dgquintas/rename_gbench
Renamed google_benchmark submodule to benchmark
2016-12-05 07:43:17 -08:00
David Garcia Quintas 7fa08e24b0 Fix data race with atomic for interop c++ 2016-12-04 22:12:01 -08:00
Craig Tiller 36b3135929 Merge branch 'slice_interning' into metadata_filter 2016-11-30 13:41:53 -08:00
David G. Quintas 71cf7b39da Merge pull request #8908 from dgquintas/grpclb_test_deflake
Deflake grpclb test
2016-11-30 13:20:06 -08:00
David Garcia Quintas 3c5a868a1b PR comments #2 2016-11-30 11:26:58 -08:00
David Garcia Quintas 523a4aa0a0 PR comments 2016-11-30 10:50:39 -08:00
David Garcia Quintas 033c51e8c8 Deflake grpclb test 2016-11-30 00:49:29 -08:00
David Garcia Quintas a0a3c411d1 Merge branch 'master' of github.com:grpc/grpc into json_localhost_carnage 2016-11-29 17:31:07 -08:00
David Garcia Quintas d6936b6bee PR comments 2016-11-29 17:22:48 -08:00
Craig Tiller 3b45b8d60b Revert "Test credentials provider update" 2016-11-29 12:31:14 -08:00
Yang Gao fbc598a6a9 Merge pull request #8838 from yang-g/test_credentials
Test credentials provider update
2016-11-29 10:48:51 -08:00
Craig Tiller 9178ba2924 Merge pull request #8867 from ctiller/fixit6
Reduce pre-generated key count
2016-11-29 10:47:46 -08:00
Craig Tiller eadbe86cb9 Merge pull request #8890 from ctiller/fixit12
Unique-ify uds address between concurrent bm_fullstack runs
2016-11-29 10:47:00 -08:00
Mark D. Roth 0d8c9cf1d5 Merge pull request #8868 from markdroth/fixit_qps
Improve subproccess cleanup in json_run_localhost.
2016-11-29 09:53:02 -08:00
Craig Tiller b37e5ceaac Merge pull request #8878 from ctiller/fixit9
Limit outstanding rpc count for synchronous {client,server} tsan tests
2016-11-29 09:13:06 -08:00
Craig Tiller 9564cf9f0a Take into account all the configs 2016-11-29 09:12:48 -08:00
Craig Tiller d04c822b58 Unique-ify uds address between concurrent bm_fullstack runs 2016-11-29 08:54:36 -08:00
Craig Tiller e89e54f4b6 clang-format code 2016-11-29 08:20:05 -08:00
Mark D. Roth c56d3ebd7e Improve logging. 2016-11-29 07:32:39 -08:00
David Garcia Quintas 6deadf5b88 Propagate termination signals to subprocesses 2016-11-28 18:02:37 -08:00
Craig Tiller c991e80e07 Limit outstanding rpc count for synchronous {client,server} tsan tests 2016-11-28 16:18:07 -08:00
David Garcia Quintas d449003fe6 Shutdown grpc for fullstack benchmark 2016-11-28 16:10:57 -08:00
Craig Tiller ab34b12e50 Make a better educated guess about CPU costs of a benchmark 2016-11-28 13:19:12 -08:00
Craig Tiller f739c058b7 Make a better educated guess about CPU costs of a benchmark 2016-11-28 13:04:51 -08:00
Mark D. Roth 37d5f9b4e5 Add debug logging for process termination state. 2016-11-28 10:45:00 -08:00
Craig Tiller 6d74225615 Reduce pre-generated key count
Doesn't affect benchmark accuracy, but makes startup time substantially
faster, and hopefully eliminates occurences like this:
https://grpc-testing.appspot.com/job/gRPC_master_linux/642/testReport/junit/(root)/c++_linux_dbg/bins_dbg_bm_fullstack_GRPC_POLL_STRATEGY_epoll/
2016-11-28 10:04:50 -08:00
David Garcia Quintas 7d03df3f44 Renamed google_benchmark submodule to benchmark 2016-11-23 19:47:04 -08:00
yang-g b9d57ed665 ! 2016-11-23 13:19:21 -08:00
yang-g a7ef49bf6a Support custom credential type in interop 2016-11-23 10:55:03 -08:00
Craig Tiller 7ce0bcdf0f Add a test of sending MANY metadata elements 2016-11-23 09:51:53 -08:00
yang-g 8e9fc9bd0e Test credentials provider update 2016-11-22 23:12:49 -08:00
Craig Tiller 3b05e1da91 Move from cmp --> eq, and provide a good implementation for interning 2016-11-21 13:46:31 -08:00
Craig Tiller 73ee7dc559 C++ compiles 2016-11-21 09:12:18 -08:00
David Garcia Quintas 1a2e40e0ce clang-format 2016-11-18 13:05:53 -08:00
David Garcia Quintas c2e6254984 Merge branch 'master' of github.com:grpc/grpc into grpclb_reworked_conn_state 2016-11-17 21:20:02 -08:00
David G. Quintas 405503be43 Merge pull request #8758 from dgquintas/lb_token_nullness
Added more testing for grpclb tokens
2016-11-17 21:19:06 -08:00
David Garcia Quintas 149f09da97 Rewrote connectivity status logic for gRPC LB 2016-11-17 21:07:43 -08:00
Mark D. Roth ed92f7bc04 Merge pull request #8617 from markdroth/service_config_json
Use JSON tree for service config channel arg.
2016-11-17 11:13:54 -08:00
Craig Tiller f69369741d Review feedback 2016-11-16 15:03:53 -08:00
Craig Tiller 1016d9feca Merge github.com:grpc/grpc into bm_fullstack 2016-11-16 14:56:34 -08:00
Mark D. Roth 863113a0d9 Merge remote-tracking branch 'upstream/master' into service_config_json 2016-11-16 14:18:28 -08:00
Yuchen Zeng 7647b2eb0a Merge pull request #8761 from y-zeng/fix_conflict
Fix symbol conflicts in grpc_tool_test
2016-11-15 21:17:00 -08:00
Yuchen Zeng 0377f7a6f7 Fix symbol conflict 2016-11-15 18:50:19 -08:00
David Garcia Quintas 0133a1b902 No more gcc 4.4! 2016-11-15 15:42:37 -08:00
David Garcia Quintas 850cbaaac4 Added more testing for grpclb tokens 2016-11-15 15:19:33 -08:00
Yuchen Zeng 5c1f55af23 Merge pull request #8335 from y-zeng/tos
Add grpc_socket_mutator
2016-11-11 15:05:14 -08:00
Vijay Pai aaefa958d7 Merge pull request #8638 from vjpai/conform
Improve C++11 conformance
2016-11-10 14:57:05 -08:00
Mark D. Roth 4bbdda4444 Allow getting LB policy name and service config in C++ API. 2016-11-09 14:40:22 -08:00
Yuchen Zeng 7810898658 Add grpc_socket_mutator_compare 2016-11-08 14:28:03 -08:00
lyuxuan 3b51f0b492 Merge pull request #8313 from lyuxuan/cpu_usage2
Get server cpu usage info and search for offered_load value that achieves targeted cpu usage
2016-11-08 12:15:15 -08:00
Mark D. Roth 0ace62f832 Merge pull request #8618 from markdroth/channel_info_api
Add API for getting arbitrary state back from a channel
2016-11-08 10:45:21 -08:00
Craig Tiller cd78879c56 Fix test 2016-11-08 08:56:18 -08:00
Craig Tiller 13fda37dee Merge branch 'bm_random_metadata' into bm_fullstack 2016-11-08 08:49:08 -08:00
Craig Tiller 5910eee262 Merge github.com:grpc/grpc into bm_fullstack 2016-11-08 08:48:23 -08:00
Craig Tiller b720b609ea Merge github.com:grpc/grpc into grpc_slice 2016-11-08 07:20:27 -08:00
Vijay Pai ef22989484 Merge branch 'master' into conform 2016-11-07 14:40:22 -08:00