Commit Graph

2883 Commits

Author SHA1 Message Date
Craig Tiller f0721657ff Merge github.com:grpc/grpc into truebin 2017-04-12 08:41:29 -07:00
Craig Tiller c20fa90c60 Merge github.com:grpc/grpc into cpparena 2017-04-12 06:44:00 -07:00
Sree Kuchibhotla d7a1b8f856 Functionality complete 2017-04-11 19:43:07 -07:00
Craig Tiller 75bfb97548 Finish hybrid server stuff, ensure it gets tested 2017-04-11 17:55:12 -07:00
Makarand Dharmapurikar 220bc643f9 enable cacheable_unary test 2017-04-11 16:24:17 -07:00
Makarand Dharmapurikar e1b238458f modified caching test
added logic to test that cached response is specific to request payload.
Removed trailing '\0' from query parameter
2017-04-11 16:18:40 -07:00
yang-g eceec8eaf6 Add helper function to supply and parse error_details from Status. 2017-04-11 16:07:24 -07:00
Craig Tiller 440df1048a Merge github.com:grpc/grpc into minimal_test 2017-04-11 09:55:16 -07:00
Craig Tiller fb75b8d429 Merge github.com:grpc/grpc into epex3 2017-04-11 09:54:07 -07:00
Muxi Yan 81addac3ce Merge remote-tracking branch 'upstream/master' into lazy-deframe 2017-04-11 09:22:52 -07:00
Craig Tiller d6255951dc Add a benchmark of repeatedly adding an fd to a pollset 2017-04-10 23:51:42 +00:00
Sree Kuchibhotla 48e6e2a651 Merge branch 'master' into cq_lockfree 2017-04-10 13:36:12 -07:00
Sree Kuchibhotla f2b949b94a Merge branch 'master' into cq_create_api_changes 2017-04-10 13:35:50 -07:00
Yang Gao 6e863977cd Merge pull request #10524 from yang-g/error_details
Support C++ (binary) error_details
2017-04-10 10:38:35 -07:00
Sree Kuchibhotla 8ab60cf5b3 Merge branch 'master' into cq_create_api_changes 2017-04-10 08:49:07 -07:00
Sree Kuchibhotla 921b896873 Merge pull request #10531 from sreecha/bm_cq_asan
Fix asan bug in bm_cq_multiple_threads
2017-04-09 17:34:19 -07:00
Sree Kuchibhotla 399abd00e0 Merge branch 'bm_cq_asan' into cq_lockfree 2017-04-09 15:28:57 -07:00
Sree Kuchibhotla 3f1fe7f025 Merge branch 'master' into cq_create_api_changes 2017-04-09 15:10:19 -07:00
Sree Kuchibhotla 4f7f5dfd2f Merge branch 'master' into cq_lockfree 2017-04-09 15:09:27 -07:00
apolcyn 47b49ce9c4 Merge pull request #10509 from apolcyn/json_driver_rpc_logger
create a grpc client qps test logging reporter
2017-04-09 09:53:44 -07:00
Sree Kuchibhotla 1f0c827114 Fix asan and tsan bugs. Simplify the code 2017-04-08 16:25:58 -07:00
Alexander Polcyn 2018a4060d create a grpc client qps test logging reporter 2017-04-08 13:01:49 -07:00
Sree Kuchibhotla 93b60e05a0 Fix asan bug 2017-04-07 18:50:32 -07:00
Craig Tiller d9c36b6d09 Merge github.com:grpc/grpc into minimal_test 2017-04-07 16:25:21 -07:00
yang-g f4c8addded support C++ error_details 2017-04-07 15:52:16 -07:00
Yuchen Zeng 4c40161d75 Merge pull request #10432 from alenkacz/patch-1
Print out some cli error message for getservices
2017-04-07 15:03:40 -07:00
Craig Tiller 7f5fac9054 minor optimizations 2017-04-07 21:47:41 +00:00
Sree Kuchibhotla dc0b8a60d3 change cq_create to cq_create_for_next 2017-04-07 13:55:46 -07:00
Sree Kuchibhotla 7b9f97bfb8 Merge branch 'master' into cq_create_api_changes 2017-04-07 13:44:34 -07:00
Muxi Yan 848073f77d Clean up unused variables and funcs 2017-04-07 10:53:15 -07:00
Muxi Yan a3fda8fdc9 Fix bm_chttp2_transport memory leak 2017-04-07 10:34:33 -07:00
Muxi Yan 3a0b8477c2 Merge remote-tracking branch 'upstream/master' into lazy-deframe 2017-04-07 09:48:14 -07:00
Craig Tiller 5f399d173b Merge github.com:grpc/grpc into minimal_test 2017-04-07 06:46:08 -07:00
Muxi Yan 97a0ded7c5 Fix bm_chttp2_transport 2017-04-07 00:34:19 -07:00
Sree Kuchibhotla 93aa1e7995 Merge pull request #10467 from sreecha/bm_cq_multi_threads
Microbenchmark for measuring impact of multiple threads calling cq_next
2017-04-06 22:22:02 -07:00
Sree Kuchibhotla a6ff103446 Merge branch 'master' into cq_create_api_changes 2017-04-06 13:09:17 -07:00
Sree Kuchibhotla 631e78c349 Print items/sec metric at the end 2017-04-06 10:44:45 -07:00
Craig Tiller 3bd7a2111e Fixup code 2017-04-06 09:04:18 -07:00
Craig Tiller a24b971214 Rename compress_filter --> message_compress_filter 2017-04-06 09:03:21 -07:00
Sree Kuchibhotla 084c51e888 Merge branch 'master' into bm_cq_multi_threads 2017-04-05 17:17:54 -07:00
Craig Tiller 52ee5a368f Merge github.com:grpc/grpc into truebin 2017-04-05 14:46:01 -07:00
Craig Tiller ff558bac5c Fix trickle 2017-04-05 14:44:42 -07:00
Craig Tiller 41f46ab665 Merge github.com:grpc/grpc into cpparena 2017-04-05 14:05:38 -07:00
Craig Tiller 88455ca010 Merge github.com:grpc/grpc into dynamic_tcp_sizing 2017-04-05 14:03:30 -07:00
Craig Tiller 0a902958af Merge branch 'minimal_bm' into minimal_test 2017-04-05 12:29:25 -07:00
Craig Tiller 0357187b4e Merge github.com:grpc/grpc into minimal_test 2017-04-05 12:24:25 -07:00
Craig Tiller 3aa7e1bd3b Merge pull request #10469 from ctiller/xyz
Add profiling annotations
2017-04-05 12:09:08 -07:00
Sree Kuchibhotla f7c673a8c7 minor change 2017-04-04 22:52:44 -07:00
Craig Tiller 85a747ed06 better representative output 2017-04-04 17:20:29 -07:00
Craig Tiller 5de46568ce Merge github.com:grpc/grpc into cpparena 2017-04-04 17:08:12 -07:00
Yuchen Zeng e4e763265b Add UpdateActions to the interop client helper 2017-04-04 16:28:59 -07:00
Craig Tiller e76a0ecc03 Update hpack benchmarks for true binary 2017-04-04 16:24:20 -07:00
Sree Kuchibhotla 2c3e7e80bd use wallclock 2017-04-04 16:21:52 -07:00
Craig Tiller ee787caf0e Merge github.com:grpc/grpc into truebin 2017-04-04 15:54:40 -07:00
Muxi Yan b3cec5df24 Merge remote-tracking branch 'upstream/master' into lazy-deframe 2017-04-04 15:03:19 -07:00
Craig Tiller 5bdffab426 Add profiling annotations 2017-04-04 14:24:53 -07:00
Sree Kuchibhotla 3c754e4716 Microbenchmark for measuring impact of multiple threads calling cq_next 2017-04-04 13:58:02 -07:00
Craig Tiller 7949527333 Actually instantiate minstack 2017-04-04 13:36:47 -07:00
Craig Tiller 1d77b44c00 Add representative benchmarks of minimal stacks on chttp2 2017-04-04 13:23:09 -07:00
Craig Tiller eb0e34f736 Convert everything to new encode API 2017-04-04 08:46:47 -07:00
Craig Tiller 2a7ce4f282 Merge github.com:grpc/grpc into dynamic_tcp_sizing 2017-04-04 08:01:32 -07:00
Craig Tiller 29ebc57554 Merge branch 'minimal' into minimal_test 2017-04-04 08:00:55 -07:00
Craig Tiller ad286c35da Merge github.com:grpc/grpc into minimal 2017-04-04 07:58:50 -07:00
Craig Tiller 82c7fec59c Merge pull request #9949 from ctiller/new_transport_op
Convert stream ops to a control + payload structure
2017-04-04 07:25:31 -07:00
Craig Tiller e3593d912b Fix sanity 2017-04-03 14:51:02 -07:00
Craig Tiller 3be7dd0e79 Optionalize deadline checking 2017-04-03 14:30:03 -07:00
Vijay Pai 45a9abae95 Add option to limit # of messages per stream with tests 2017-04-03 14:24:53 -07:00
Craig Tiller af76743e33 Optionalize compress, gather all the http2 filter bits together in ext/ 2017-04-03 13:54:31 -07:00
Craig Tiller 9b3648a28e Optionalize message_size_filter 2017-04-03 12:25:19 -07:00
Craig Tiller 7a8232d773 review feedback 2017-04-03 10:59:42 -07:00
Alena Varkockova 7b9cb834ff Print out some cli error message for getservices
Currently, when you cann grpc_cli ls on an endpoint that does not have service reflection, the cli just silently ends without printing out any error or message.

This PR should fix that.
2017-04-02 22:02:09 +02:00
Sree Kuchibhotla c1a32fa46e Merge branch 'master' into cq_create_api_changes 2017-04-01 17:36:15 -07:00
Craig Tiller 5f95f1a4ca Merge github.com:grpc/grpc into cpparena 2017-04-01 07:42:20 -07:00
Craig Tiller 9eb0fdec00 Reorganize ext tree
- filters live under filters
- lb_policy, resolver implementations (being part of client_channel) live under client_channel
2017-03-31 16:59:30 -07:00
Craig Tiller a0f3abd925 Review feedback: bikeshedding round 2017-03-31 15:42:16 -07:00
Craig Tiller e431b52f0b Fix crashes 2017-03-31 15:21:04 -07:00
Craig Tiller 84a2ac885c Merge github.com:grpc/grpc into new_transport_op 2017-03-31 15:03:39 -07:00
Craig Tiller 5aebfa0af1 Merge branch 'atomic-timers' into dynamic_tcp_sizing 2017-03-31 13:06:02 -07:00
Craig Tiller dd36b15315 Call ref/unref, bugfixes 2017-03-31 08:27:28 -07:00
Craig Tiller 5e17020d61 Fix compile 2017-03-31 07:30:35 -07:00
Craig Tiller 83643bd5cb Fix build on mac 2017-03-31 06:02:57 -07:00
Sree Kuchibhotla 08bbdb8801 Fix cq creation code after merge 2017-03-30 13:25:06 -07:00
Sree Kuchibhotla e04906dc54 Merge branch 'master' into cq_create_api_changes 2017-03-30 13:20:00 -07:00
Sree Kuchibhotla bea49665d4 Merge pull request #10348 from sreecha/init-free-cq
Do not call grpc_init() for per-call-completion-queues created by a C++ sync server
2017-03-30 13:17:32 -07:00
Craig Tiller 75b6908748 Merge github.com:grpc/grpc into new_transport_op 2017-03-30 12:25:43 -07:00
Nicolas Noble 6ee38a7e51 Merge pull request #9780 from ctiller/cpp_bazelness
More C++ Bazel support
2017-03-30 10:21:11 -07:00
Craig Tiller 387c3a4f56 Merge pull request #10329 from ctiller/b64mb
Add benchmarks of chttp2 performance for -bin headers
2017-03-30 08:18:34 -07:00
Craig Tiller 57178eff19 fixes 2017-03-29 20:08:49 -07:00
Craig Tiller b1320705b8 Merge github.com:grpc/grpc into new_transport_op 2017-03-29 17:19:16 -07:00
Sree Kuchibhotla 359ffd83e0 Merge branch 'master' into cq_create_api_changes 2017-03-29 16:18:55 -07:00
Vijay Pai c7cbbaf80f Merge pull request #10331 from vjpai/async
Make sure that we hold contents of async operation until completion
2017-03-29 15:47:30 -07:00
Craig Tiller 220861eb56 Merge github.com:grpc/grpc into new_transport_op 2017-03-29 14:08:56 -07:00
Craig Tiller 61c317b624 Fix leak 2017-03-29 13:56:24 -07:00
Sree Kuchibhotla 8dbd9677ef Add a benchmark 2017-03-29 10:58:21 -07:00
Nicolas "Pixel" Noble 0dac09e724 Merge branch 'master' of https://github.com/grpc/grpc into cpp_bazelness 2017-03-29 19:46:48 +02:00
Sree Kuchibhotla 14ab588166 Merge branch 'master' into cq_create_api_changes 2017-03-28 12:37:00 -07:00
Craig Tiller b6090a697b Merge github.com:grpc/grpc into new_transport_op 2017-03-28 10:13:07 -07:00
Vijay Pai 0ff932cf08 Make sure that we hold contents of async operation until completion. 2017-03-27 16:16:52 -07:00
Yuxuan Li 8fd581ecdb Merge branch 'master' into stream_corked_pr 2017-03-27 15:56:13 -07:00
Yuxuan Li 978c34f6ea Merge branch 'master' into stream_corked_pr 2017-03-27 15:47:58 -07:00
Craig Tiller 0d04e0697b Add a benchmark of base16 encoding 2017-03-27 14:55:08 -07:00
Nicolas "Pixel" Noble 6f7dcd0ade Clang-format. 2017-03-27 18:51:55 +02:00
Nicolas "Pixel" Noble 8e0684b5d4 Merge branch 'master' of https://github.com/grpc/grpc into cpp_bazelness 2017-03-27 18:50:04 +02:00
Muxi Yan 9e760da81a Fix c++ test 2017-03-24 17:45:00 -07:00
Sree Kuchibhotla 79441baed9 Merge branch 'master' into cq_create_api_changes 2017-03-24 15:01:23 -07:00
Nicolas "Pixel" Noble b02dd01584 Fixing qps & benchmark. 2017-03-24 21:56:51 +01:00
Yuchen Zeng ac4a7283ee Merge pull request #10262 from y-zeng/set_user_agent
Replace the existing user agent string in SetUserAgentPrefix
2017-03-24 13:43:55 -07:00
Sree Kuchibhotla 5bec133ba0 clang format 2017-03-24 10:03:22 -07:00
Sree Kuchibhotla 6ac703d1fd Fix after merge with master 2017-03-24 09:53:01 -07:00
Sree Kuchibhotla 7b81147cc9 Merge branch 'master' into cq_create_api_changes 2017-03-24 09:52:02 -07:00
Noah Eisen 55837563c9 Merge pull request #10109 from ncteisen/error-slice-optimization
Error slice optimization
2017-03-22 18:48:00 -07:00
Yuchen Zeng 9f0a115f05 Test if the user agent string is copied correctly 2017-03-22 18:03:06 -07:00
Noah Eisen 3d194ad7a3 Merge branch 'master' of https://github.com/grpc/grpc into error-slice-optimization 2017-03-22 14:40:28 -07:00
Craig Tiller 48fda550ac Merge pull request #10189 from ctiller/call_cases
Expand benchmark coverage to isolated grpc_call scenarios against a dummy filter stack
2017-03-22 14:27:44 -07:00
Sree Kuchibhotla 12081c0304 Merge branch 'cq_create_api_changes' into cq_create_api_changes_with_factory 2017-03-22 13:00:18 -07:00
Sree Kuchibhotla e414d6cf00 Merge branch 'master' into cq_create_api_changes 2017-03-22 13:00:04 -07:00
Nicolas "Pixel" Noble ddab452096 Merge branch 'master' of https://github.com/grpc/grpc into cpp_bazelness 2017-03-22 18:30:44 +01:00
Craig Tiller b14ab80cd8 Fixes for new APIs 2017-03-22 08:53:39 -07:00
Craig Tiller eeb3b24f7e Merge pull request #10238 from ctiller/bm_chttp2_top
Add benchmark suite for chttp2
2017-03-22 08:46:47 -07:00
Sree Kuchibhotla f2c32150ef Update C++ code 2017-03-22 03:01:24 -07:00
Nicolas "Pixel" Noble 0a6d30bc4c Buildifier. 2017-03-22 00:51:51 +01:00
Craig Tiller 31041c9e12 Merge github.com:grpc/grpc into call_cases 2017-03-21 15:16:14 -07:00
Sree Kuchibhotla 36c370793b Merge branch 'master' into cq_create_api_changes 2017-03-21 10:28:40 -07:00
Craig Tiller 3e9e2fd5d1 Merge pull request #10200 from ctiller/bad_tracking
Fix tracking of writes: we dont need TrackCounters for bm_fullstack since the fixture does it
2017-03-21 08:49:57 -07:00
Craig Tiller 18f09a01f6 Add benchmark suite for chttp2 2017-03-21 08:15:19 -07:00
Yuxuan Li 0574b58869 merge master and fix conflict on bm_fullstack 2017-03-20 12:19:34 -07:00
Craig Tiller 444c223c17 Merge github.com:grpc/grpc into new_transport_op 2017-03-20 09:36:17 -07:00
Yuchen Zeng 40a947ef93 Merge pull request #9889 from y-zeng/channel_arg
Destroy pointer args when destructing a ChannelArguments
2017-03-17 11:38:44 -07:00
Craig Tiller 8c7444576f Fix tracking of writes: we dont need TrackCounters for bm_fullstack since the fixture does it 2017-03-17 09:57:31 -07:00
Craig Tiller c627664511 Merge github.com:grpc/grpc into call_arena 2017-03-16 13:34:29 -07:00
Craig Tiller b7f35a658b Expand benchmark coverage to isolated grpc_call scenarios against a dummy filter stack 2017-03-16 13:29:05 -07:00
Craig Tiller 22b182ba9c Merge github.com:grpc/grpc into new_transport_op 2017-03-16 10:56:58 -07:00
Craig Tiller 0e0149d3f3 Restore missing benchmarks 2017-03-16 10:20:28 -07:00
Craig Tiller 9f6b9aba88 Merge github.com:grpc/grpc into call_arena 2017-03-16 09:01:52 -07:00
Vijay Pai c6a4539f80 Merge pull request #9786 from vjpai/heldplace
Eliminate a "using namespace"
2017-03-16 08:59:57 -07:00
Craig Tiller 6f8ddd6183 Merge github.com:grpc/grpc into call_arena 2017-03-16 08:37:14 -07:00
Vijay Pai 98e282a585 Eliminate std::placeholders 2017-03-16 04:47:38 -07:00
Craig Tiller 41373d0457 Merge pull request #10122 from ctiller/arena
Arena allocator for grpc
2017-03-15 16:16:30 -07:00
ncteisen 1a3f24dc1e Merge branch 'master' of https://github.com/grpc/grpc into error-slice-optimization 2017-03-15 11:06:12 -07:00
Yang Gao cedfa76471 Merge pull request #10000 from yang-g/grpc_pb_h
Include x.pb.h instead of x.grpc.pb.h for message-only protos
2017-03-15 10:33:03 -07:00
Craig Tiller 5279370314 Fix compilation 2017-03-15 08:38:24 -07:00
Craig Tiller 4e8c9895ee Merge github.com:grpc/grpc into call_arena 2017-03-14 21:13:51 -07:00
Craig Tiller e1523e95c1 Track calls to gpr_now() 2017-03-14 21:10:42 -07:00
Yuchen Zeng 4564b8cde7 Copy value at SetPointerWithVtable 2017-03-14 11:40:56 -07:00
yang-g 90f43d4fa4 add missing header 2017-03-14 10:58:44 -07:00
Craig Tiller fc830f2c09 Fix compilation 2017-03-14 09:32:21 -07:00
ncteisen 6fd36b575b Merge branch 'master' of https://github.com/grpc/grpc into error-slice-optimization 2017-03-14 08:44:32 -07:00
Craig Tiller ff23f801c5 Fix crash 2017-03-14 07:50:56 -07:00
ncteisen 91220dc793 Added benchmark to show static vs copied 2017-03-13 21:18:58 -07:00
ncteisen 4b36a3d9ea Change error_create API to slice 2017-03-13 20:19:47 -07:00
Craig Tiller 37bbbd770f Merge pull request #9984 from ctiller/poll-wakeup
Add some pollset benchmarks
2017-03-13 13:38:48 -07:00
Craig Tiller 9202b3fdfd Arena allocator for grpc 2017-03-12 22:30:38 -07:00
ncteisen bbb3801e48 Change error get/set API to grpc_slice 2017-03-10 22:25:25 -08:00
Craig Tiller a08b11f33a Dont track allocations if we are not going to use them 2017-03-10 20:34:08 -08:00
Yuxuan Li 0aac9d06e2 change last_message bit to be in C++ layer only 2017-03-10 14:34:59 -08:00
Craig Tiller bf3dce2381 Merge branch 'poll-wakeup' of github.com:ctiller/grpc into poll-wakeup 2017-03-10 14:16:34 -08:00
Craig Tiller a2d11d7bb4 Merge github.com:grpc/grpc into poll-wakeup 2017-03-10 14:14:57 -08:00
Vijay Pai 9a514b58bd Merge pull request #9807 from vjpai/rq
Finish streams that error. Don't histogram failed ops.
2017-03-10 11:23:01 -08:00
Noah Eisen 5dc79eb5aa Merge pull request #9963 from ncteisen/error-arena-optimization
Error arena optimization
2017-03-10 10:12:54 -08:00
Craig Tiller e7fe7f2b45 Merge pull request #10067 from ctiller/less_counters
Dont use memory counters unless counters mode is on
2017-03-10 09:49:31 -08:00
Craig Tiller 833adc2028 Merge pull request #10068 from ctiller/zalloc_bench
Track zalloc times in microbenchmark
2017-03-10 07:14:35 -08:00
Craig Tiller eb41e6438f Merge github.com:grpc/grpc into poll-wakeup 2017-03-09 21:57:42 -08:00
Craig Tiller 89addaedc0 Merge pull request #10039 from ctiller/server_channel_args
Server channel args
2017-03-09 21:51:55 -08:00
Craig Tiller e5dd4797b5 Merge pull request #9996 from ctiller/bm_channel
Add a test of creating a call on a lame channel in C++
2017-03-09 21:50:47 -08:00
ncteisen ceddd29391 Address github comments 2017-03-09 19:02:31 -08:00
Craig Tiller 2b182c2b4b Make ASAN happy 2017-03-09 16:19:58 -08:00
Craig Tiller af11581260 Merge github.com:grpc/grpc into cpp_bazelness 2017-03-09 15:09:34 -08:00
ncteisen b3eee5c8c7 Merge branch 'master' of https://github.com/grpc/grpc into to-grpc-err-is-human 2017-03-09 11:16:25 -08:00
Noah Eisen a3e5801e2e s/realloc/gpr_realloc to fix mem bug 2017-03-09 10:54:07 -08:00
Noah Eisen a885d00a38 Merge branch 'master' of https://github.com/grpc/grpc into error-arena-optimization 2017-03-09 10:13:34 -08:00
Craig Tiller 7710823850 Add speed of light measures 2017-03-09 10:04:50 -08:00
Craig Tiller e667aaf9f9 clang-format 2017-03-09 08:12:21 -08:00
Craig Tiller d720d5dd0a Track zalloc times in microbenchmark
This forms our speed of light for call creation: at some point call
creation is dominated by zeroing memory and all we can do is reduce the
size of the call... let's track where that point is.
2017-03-09 08:10:17 -08:00
Craig Tiller 71c286466a Dont use memory counters unless counters mode is on 2017-03-09 08:03:27 -08:00
ncteisen 55337bb317 Error arena optimization 2017-03-08 15:38:34 -08:00
Sree Kuchibhotla 89da88c7b4 Merge branch 'master' into cq_create_api_changes 2017-03-08 14:45:23 -08:00
Craig Tiller 3fd238a2c6 Merge github.com:grpc/grpc into poll-wakeup 2017-03-08 12:54:57 -08:00
Craig Tiller e83edbfc2f Merge github.com:grpc/grpc into bm_channel 2017-03-08 12:52:39 -08:00
Craig Tiller 808d19e834 Merge pull request #9977 from ctiller/fssplit
Split bm_fullstack into pieces, reuse infrastructure across other microbenchmarks
2017-03-08 12:52:02 -08:00
Yuxuan Li bdc76ab37b bug fix 2017-03-08 10:59:31 -08:00
Yuxuan Li 34894e4b1c Implemented stream coalescing design
(RFC:https://github.com/grpc/proposal/pull/3). Add necessary
microbenchmarks to show reduced writes/iter for short streams. Add
necessary end2end test to test out newly added apis. Filter those tests
using *WithCoalescingApi*.
2017-03-08 10:59:31 -08:00
Craig Tiller 111f2d4817 Merge github.com:grpc/grpc into server_channel_args 2017-03-08 09:08:43 -08:00
Craig Tiller 12352b2c5c Add test of server builder, including channel args 2017-03-08 09:08:22 -08:00
Sree Kuchibhotla a53808c2d4 Merge remote-tracking branch 'upstream/master' into cq_create_api_changes 2017-03-07 15:19:10 -08:00
Craig Tiller 1ffda9f292 Merge branch 'fssplit' into bm_channel 2017-03-06 14:37:51 -08:00
Craig Tiller 111db946b7 Add a test of creating a call on a lame channel in C++ 2017-03-06 14:36:17 -08:00
yang-g d0084c220e Include x.pb.h instead of x.grpc.pb.h for message-only protos 2017-03-06 11:23:35 -08:00
Yang Gao d62742193a Merge pull request #8407 from jronak/fixtag
replaced protobuf tag
2017-03-04 20:13:16 -08:00
Craig Tiller 055abd65fb Fix linux 2017-03-03 17:20:36 -08:00
Craig Tiller ab314ee9a6 Add some pollset benchmarks 2017-03-03 17:18:20 -08:00
Craig Tiller 656a1ab01f Merge branch 'fssplit' into poll-wakeup 2017-03-03 16:53:07 -08:00
Craig Tiller f09ec59222 Fix mac build 2017-03-03 16:52:37 -08:00
Craig Tiller 1128d462c3 Pollset benchmark 2017-03-03 16:46:54 -08:00
Sree Kuchibhotla 189eb4adbe Merge branch 'master' into cq_create_api_changes 2017-03-03 15:47:53 -08:00
Craig Tiller 8c3eaf2f15 Merge pull request #9939 from ctiller/stream_owned_slice
Add a slice type that shares a refcount with a transport stream
2017-03-03 15:38:14 -08:00
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
Myungjun Kim f17d163a9b Fix typos
unkown -> unknown
fix unnecessary spacing
2017-02-23 01:55:44 +09: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
Yuxuan Li 12df928362 fixing override 2016-11-07 13:22:18 -08:00
Craig Tiller 206efc7866 Benchmarks for unary metadata 2016-11-07 12:55:40 -08:00
Yuxuan Li 8114153015 Merge branch 'master' into cpu_usage2 2016-11-07 11:43:11 -08:00
Mark D. Roth 0e44a258cb Fix C++ filter API and add test for it. 2016-11-07 11:26:05 -08:00
Craig Tiller 314f43991c Increase test timeouts
These tests are failing when run as a batch, but passing when run in
isolation.

Suspect something more is up, but this will at least make our builds
much greener until we figure that out.
2016-11-04 15:34:42 -07:00
Vijay Pai 56540ba9f9 clang-format 2016-11-04 10:02:31 -07:00
Vijay Pai 1b87ddee0a One more NULL->nullptr 2016-11-04 09:09:58 -07:00
Mark D. Roth 0b48db4bac Merge pull request #8537 from markdroth/remove_fake_resolver
Change tests to use channel args instead of fake_resolver query args.
2016-11-04 08:52:08 -07:00
Craig Tiller 7a4ac73d5b Merge github.com:grpc/grpc into bm_fullstack 2016-11-04 08:44:50 -07:00
Craig Tiller 32df467f11 Merge github.com:grpc/grpc into grpc_slice 2016-11-04 08:21:56 -07:00
Craig Tiller 453d56317a Merge github.com:grpc/grpc into microbench 2016-11-04 08:07:20 -07:00
Vijay Pai b0a6be2b8f Remove some unnecessary new/delete patterns 2016-11-04 07:51:25 -07:00
Vijay Pai f4671bfaef Remove a namespace and start using a lambda for a small function 2016-11-04 07:51:25 -07:00
Vijay Pai c01958bf55 Cleanup unneeded namespace 2016-11-04 07:51:25 -07:00
Vijay Pai d75e7fec01 Fix a comment 2016-11-04 07:51:25 -07:00
Vijay Pai f2764e76f9 clang-format 2016-11-04 07:51:24 -07:00
Vijay Pai 90102c2bfc Eliminate unnecessary uses of new[]/delete[] that can be replaced
with vector

Also start eliminating uses of plain-old delete that are not helpful
2016-11-04 07:51:24 -07:00
Mark D. Roth d3f25b3dfe Merge remote-tracking branch 'upstream/master' into remove_fake_resolver 2016-11-03 09:23:47 -07:00
Vijay Pai a189b7b9f1 Make new file compliant with new standards 2016-11-02 17:49:42 -07:00
Yuchen Zeng 64d518e3b0 Merge remote-tracking branch 'upstream/master' into tos 2016-11-02 16:27:49 -07:00
Vijay Pai 739a93e47f Merge branch 'master' into turn_it_to_11 2016-11-02 16:00:52 -07:00
Mark D. Roth 6c8492de8a Merge remote-tracking branch 'upstream/master' into remove_fake_resolver 2016-11-02 08:42:49 -07:00
Mark D. Roth 57f30d1518 Merge pull request #8523 from markdroth/lb_policy_name_channel_arg
Allow setting LB policy name via the C++ API
2016-11-02 08:42:23 -07:00
David G. Quintas 105b39450a Merge pull request #8568 from dgquintas/grpclb_leaks_fix
gRPC LB fixes from end two end testing
2016-11-02 08:12:52 +01:00
Vijay Pai 320ed13d3e Deprecate grpc::thread and sync in favor of std::thread,mutex,etc 2016-11-01 17:16:55 -07:00
Vijay Pai e140d5c60d Regenerate all projects 2016-11-01 16:53:21 -07:00
David G. Quintas 00bbb4122a Merge pull request #8548 from dgquintas/lb-tokens-length
Made LB token dynamic size <= 50 bytes
2016-11-02 00:35:38 +01:00
Vijay Pai 713c7b87e1 clang-format 2016-11-01 16:33:18 -07:00
Vijay Pai c0b2acb1a0 Use C++11 final and override 2016-11-01 16:31:56 -07:00
Craig Tiller ff8e43aa6c Fix memory corruption 2016-11-01 15:13:31 -07:00
Craig Tiller b4d883bfc2 Make ASAN pass 2016-11-01 15:10:22 -07:00
Craig Tiller 63ec293d73 Integrate resource quotas 2016-11-01 15:00:41 -07:00
Craig Tiller 7213aa78da Merge branch 'microbench' into bm_fullstack 2016-11-01 14:55:00 -07:00
Craig Tiller ac119ba887 Merge github.com:grpc/grpc into microbench 2016-11-01 14:27:25 -07:00
David Garcia Quintas cbc059eb7e Merge branch 'master' of github.com:grpc/grpc into grpclb_leaks_fix 2016-11-01 12:44:49 -07:00
David Garcia Quintas 7ec291330c PR comments 2016-10-31 22:31:51 -07:00
Yuchen Zeng 0df7d349b7 Merge pull request #8380 from y-zeng/reflection_header
Remove generated pb files
2016-10-31 15:27:48 -07:00
Mark D. Roth 6e3e39fe3b Merge branch 'lb_policy_name_channel_arg' into remove_fake_resolver 2016-10-31 14:44:19 -07:00
Craig Tiller 41fd9f2343 Merge github.com:grpc/grpc into grpc_slice 2016-10-31 14:42:53 -07:00
Mark D. Roth 3f265857f4 Fix memory leak. 2016-10-31 14:42:22 -07:00
Mark D. Roth 6df607591c Fix portability problems. 2016-10-31 14:39:45 -07:00
Mark D. Roth fd635add1c clang-format 2016-10-31 14:20:56 -07:00
Mark D. Roth 7e0c2f8301 Merge remote-tracking branch 'upstream/master' into lb_policy_name_channel_arg 2016-10-31 14:20:01 -07:00
Sree Kuchibhotla 1e088b4219 Merge branch 'master' into rpc_mgr 2016-10-28 17:34:55 -07:00
Noah Eisen 393526334c Merge pull request #8552 from ncteisen/cpp_unimplemented_service
Implemenet New Interop Test: Cpp Unimplemented Service
2016-10-28 16:08:40 -07:00
Noah Eisen 45ebd355cd Fix clang format 2016-10-28 16:08:04 -07:00
Yuxuan Li d68ea95f30 fixing conflicts with new upstream master 2016-10-28 14:39:41 -07:00
Yuxuan Li c9ca0a9e70 clang-format for recently changed files. merged upstream master 2016-10-28 14:08:36 -07:00
Yuxuan Li 5a991e227b Merge branch 'master' into cpu_usage2 2016-10-28 14:04:41 -07:00
Noah Eisen e7223afdd5 Use default Empty ctor instead of Empty::default_instance 2016-10-28 13:39:06 -07:00
Craig Tiller b7982319c9 Merge github.com:grpc/grpc into grpc_slice 2016-10-28 07:22:08 -07:00
Noah Eisen c02bd2d31d Merge branch 'master' of https://github.com/grpc/grpc into cpp_unimplemented_service 2016-10-27 20:44:50 -07:00
David Garcia Quintas 0baf1dc569 Made LB token dynamic size <= 50 bytes 2016-10-28 04:51:28 +02:00
Noah Eisen ca5cdf454c Add unimplemented_service test case for cpp interop client 2016-10-27 18:01:37 -07:00
Craig Tiller 86cb138ee9 Handle failed calls in sync client 2016-10-27 15:29:49 -07:00
Sree Kuchibhotla 612ca22ff3 Merge branch 'master' into rpc_mgr 2016-10-27 15:14:08 -07:00
Mark D. Roth e127a39f45 Change tests to use channel args instead of fake_resolver query args. 2016-10-27 08:27:15 -07:00
Craig Tiller 28b72428a8 clang-format 2016-10-26 21:15:29 -07:00
Craig Tiller 618e67d655 s/GPR_SLICE/GRPC_SLICE/g 2016-10-26 21:08:10 -07:00
Craig Tiller 6e080a3651 Merge branch 'buffer_pools_for_realsies' into grpc_slice 2016-10-26 21:00:53 -07:00
Craig Tiller 3d357d901c Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-26 20:52:03 -07:00
Craig Tiller b37d53ebc0 Bulk update #includes 2016-10-26 16:16:35 -07:00
Craig Tiller d41a4a720f s/gpr_slice/grpc_slice, and move around tests, impls 2016-10-26 16:16:06 -07:00
Mark D. Roth 452287607f Add test for setting LB policy via C++ API. 2016-10-26 14:54:56 -07:00
Yuxuan Li 1a9a0d8da8 fix logging problem 2016-10-26 11:12:16 -07:00
Mark D. Roth fb809b7850 Merge remote-tracking branch 'upstream/master' into resolver_channel_args 2016-10-26 09:12:25 -07:00
Craig Tiller 1d0fce9d60 Add some endpoint pair tests 2016-10-26 08:26:22 -07:00
Craig Tiller 93d802b986 Add full stack microbenchmark 2016-10-25 21:05:49 -07:00
Craig Tiller d3cd017f5d Initial google_benchmark integration: source changes 2016-10-25 17:02:20 -07:00
Sree Kuchibhotla 14b701c114 Use nullptr instead of NULL. Move test to grpc namespace so that when using gcc4.4, we use nullptr definition in grpc++/impl/codegen/config.h 2016-10-25 14:29:10 -07:00
Yuxuan Li aa7411da04 minor fix for usage_timer.cc 2016-10-25 13:23:44 -07:00
murgatroid99 dc393537fb Merge branch 'master' into uv_core_transport 2016-10-25 12:35:21 -07:00
Sree Kuchibhotla cb4cd3dc5d make gcc4.4 happy 2016-10-25 12:06:04 -07:00
Sree Kuchibhotla 3a96ee3444 Merge branch 'master' into rpc_mgr 2016-10-25 10:04:14 -07:00
makdharma b40a8fa95b Merge pull request #8437 from makdharma/stress_test_options
modify stress_test command line options
2016-10-25 09:30:12 -07:00
Sree Kuchibhotla 3fc578345d Change std::atomic_int to gpr_atm since gcc4.4 is complaining 2016-10-24 16:18:13 -07:00
Craig Tiller fe8c5012d3 Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-24 14:49:18 -07:00
Mark D. Roth e3a21005bf Fix propagation of channel args for insecure channels. 2016-10-24 13:29:05 -07:00
Yuchen Zeng d30699c7be Merge remote-tracking branch 'upstream/master' into reflection_header 2016-10-24 13:00:10 -07:00
Sree Kuchibhotla 1e31973842 Merge branch 'master' into rpc_mgr 2016-10-24 12:42:53 -07:00
Sree Kuchibhotla 069c12de23 Fix thread_manager_test 2016-10-24 12:36:52 -07:00
Sree Kuchibhotla 85399f0824 clang formatting fixes 2016-10-24 09:41:20 -07:00
Yuxuan Li 60d55f80c4 Change flag precision to flag stride, better description.
Add flag error_tolerence to define the search stopping criteria.
Move the equal condition in the binary search to smaller than condition.
Wrap get_cpu_usage(), so on non-linux platform, the compiler won't
complain and will get cpu usage to be 0.
2016-10-21 18:18:29 -07:00
murgatroid99 b516cadc2a Merge branch 'master' into uv_core_transport 2016-10-21 15:54:42 -07:00
Mark D. Roth 99e61f884d Merge pull request #8418 from markdroth/interop_flags
Allow specifying extra flags for C++ interop server.
2016-10-21 15:07:28 -07:00
Mark D. Roth d9cbec465d Merge pull request #8095 from markdroth/rename_client_config
Rename client_config directory to client_channel.
2016-10-21 14:48:19 -07:00
Sree Kuchibhotla c5fb957e50 Merge branch 'master' into rpc_mgr 2016-10-21 14:38:21 -07:00
Makarand Dharmapurikar f01f7b6d6c clang-format fixes 2016-10-21 09:07:06 -07:00
Craig Tiller 8f67b647fd Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-20 15:53:04 -07:00
Vijay Pai 9243c74868 Merge pull request #8365 from vjpai/fc_1dstream
Support request separation of server-side streamed RPC
2016-10-20 14:31:14 -07:00
murgatroid99 ab71dfbbf0 Merge branch 'master' into uv_core_transport 2016-10-20 12:57:16 -07:00
Noah Eisen 74b731e42f Merge pull request #8423 from ncteisen/interop_client_naming
Interop Client Naming Conventions
2016-10-20 12:00:50 -07:00
Sree Kuchibhotla 042aec990a Merge branch 'master' into rpc_mgr 2016-10-20 11:18:07 -07:00
Sree Kuchibhotla 6135535ca7 Minor changes and called generate_projects.sh again 2016-10-20 11:17:22 -07:00
Makarand Dharmapurikar e3dd1d7d11 modify stress_test command line options
Modify command line options to be consistent with interop_client.
2016-10-20 10:37:39 -07:00
Vijay Pai 5ee07978bd Merge branch 'master' into fc_1dstream 2016-10-20 09:41:33 -07:00
Sree Kuchibhotla 920ed0c418 Modify Thread manager test 2016-10-19 17:02:16 -07:00
Mark D. Roth eb35a1d16b Merge remote-tracking branch 'upstream/master' into rename_client_config 2016-10-19 14:53:42 -07:00
murgatroid99 59f347e125 Merge branch 'master' into uv_core_transport 2016-10-19 13:53:21 -07:00
Craig Tiller 6952b213b7 Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-19 13:36:59 -07:00
Noah Eisen 32eee7739b Changed name of rpc method to fit with the conventional naming. Also fixed type in interop client flag help message 2016-10-19 10:04:38 -07:00
Yuchen Zeng 654aa869d2 Merge remote-tracking branch 'upstream/master' into reflection_header 2016-10-18 16:29:34 -07:00
Sree Kuchibhotla 385c9b2f05 Address code review comments 2016-10-18 16:26:38 -07:00
Craig Tiller afcc8752f3 clang-format 2016-10-18 16:10:06 -07:00