Commit Graph

2387 Commits

Author SHA1 Message Date
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