Commit Graph

2191 Commits

Author SHA1 Message Date
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
David Garcia Quintas eb4c47e006 test/cpp/codegen 2017-02-17 15:41:20 -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