Commit Graph

2883 Commits

Author SHA1 Message Date
Craig Tiller 74bf087e9c Increase error threshold for too many writes 2017-05-10 07:44:04 -07:00
Nicolas "Pixel" Noble 71ca4200f6 QPS doesn't actually need gtest anymore. 2017-05-10 01:32:31 +02:00
ncteisen c7de5a7601 Add warmup 2017-05-09 15:50:32 -07:00
ncteisen 0725d3a4b3 Run bm resonable number of times 2017-05-09 12:05:11 -07:00
Nicolas "Pixel" Noble d70dbca6c0 Making test_util & co public. 2017-05-09 19:12:29 +02:00
Nicolas "Pixel" Noble 1e75dc8cad Add end2end_test_lib. 2017-05-09 06:57:22 +02:00
ncteisen b6ac9b4573 Add unbalanced unary benchmark 2017-05-08 17:10:31 -07:00
Nicolas "Pixel" Noble fec014b937 Adding metrics_server. 2017-05-09 01:11:11 +02:00
Nicolas "Pixel" Noble 1c7cdd5f23 Fixing test_util target. 2017-05-09 00:20:09 +02:00
Nicolas "Pixel" Noble 987267f633 Fixing grpc_cli_libs. 2017-05-08 23:46:22 +02:00
Yuxuan Li 57e12b1786 Merge branch 'poll_stat' of github.com:lyuxuan/grpc into poll_stat 2017-05-08 11:36:07 -07:00
Yuxuan Li a7f7fcf94a Merge branch 'master' into poll_stat 2017-05-08 11:35:00 -07:00
ncteisen b7345a2c34 Merge branch 'master' of https://github.com/grpc/grpc into frame-size 2017-05-08 10:09:19 -07:00
Yuxuan Li 85d3a53905 change gpr_atm to int 2017-05-08 06:24:34 +00:00
Craig Tiller d868a07d7c Merge github.com:grpc/grpc into uberpoll 2017-05-07 20:02:30 -07:00
Craig Tiller c9016893f7 Merge pull request #10720 from ctiller/trickle_stall
Add logging of flow control variables, (mostly) fix flow control
2017-05-07 20:00:57 -07:00
Yuxuan Li 87827e03aa use lock instand of atomics, fix include position 2017-05-05 14:12:42 -07:00
Nicolas "Pixel" Noble 684fe378e1 Adding "grpc_cli_libs" back. 2017-05-05 21:19:19 +02:00
Vijay Pai ea4adc1508 Merge pull request #10313 from vjpai/onesided
Add QPS tests for 1-sided unconstrained streaming
2017-05-05 11:24:07 -07:00
Yuxuan Li bfb495d026 add override to GetPollCount() function 2017-05-05 10:57:35 -07:00
Craig Tiller 4fd1698307 Merge github.com:grpc/grpc into trickle_stall 2017-05-05 17:52:14 +00:00
Craig Tiller eda29c6398 Merge branch 'epex4' into uberpoll 2017-05-05 15:21:19 +00:00
Yuxuan Li a33e2b27a1 add some comments 2017-05-04 16:13:49 -07:00
Craig Tiller 62800f789c Merge github.com:grpc/grpc into timer_pool 2017-05-04 22:02:47 +00:00
Craig Tiller bc7c224cac Merge branch '0bug' into timer_pool 2017-05-04 22:02:42 +00:00
Yuxuan Li 5f9f37a33c fix minor 2017-05-04 13:39:29 -07:00
Yang Gao f31a80eac3 Merge pull request #10950 from jeady/service_name_metadata
Add static method to generated code to return fully qualified protobuf service name
2017-05-04 12:51:44 -07:00
ncteisen 1c8698758d Set frame size to B/us 2017-05-04 11:56:14 -07:00
Mark D. Roth 86b9473690 Merge pull request #10980 from markdroth/grpclb_deadline_fix
Make sure we set deadline for the LB call even without a pick.
2017-05-04 08:05:40 -07:00
Yuxuan Li f8365cd87b clean up, fix minor issue 2017-05-03 23:29:17 -07:00
Yuxuan Li 28efff3e1e clang-format 2017-05-03 22:50:56 -07:00
Yuxuan Li 5d3ddeeea1 adding server side poll stat 2017-05-03 22:27:11 -07:00
Yuxuan Li 999ac157e6 initial implementation. 2017-05-03 21:36:36 -07:00
Mark D. Roth 64d922ae87 Make sure we set deadline for the LB call even without a pick.
As part of this, get the deadline from a channel arg instead of pick_args.
2017-05-03 12:52:04 -07:00
Sree Kuchibhotla 4afb4db498 Merge branch 'master' into cq_mpsc_based 2017-05-03 09:36:02 -07:00
Noah Eisen 3f716baa0a Merge pull request #10972 from ncteisen/credential-error-refcount
Fix Error Refcount Bug
2017-05-03 08:24:51 -07:00
Craig Tiller 4d03ffbdc6 Merge github.com:grpc/grpc into timer_pool 2017-05-03 07:57:53 -07:00
Jan Tattermusch 892e4be6da Merge pull request #10234 from zhimingxie/master
fix truncate bug in grpc_cli
2017-05-03 08:36:03 +02:00
Noah Eisen 89371914c9 Fix error refcount bug
Added a missing ref in httpcli.c. Also added a test to avoid
regression
2017-05-02 23:26:05 -07:00
Craig Tiller c3571791a5 Isolate timer checking in its own thread 2017-05-02 14:36:33 -07:00
Vijay Pai eea8cf0fe3 Add QPS tests for one-sided streaming 2017-05-02 09:26:12 -07:00
Mark D. Roth 09e458c6cd Implement client-side load reporting for grpclb. 2017-05-02 08:13:26 -07:00
James Eady 3b26451025 Add static method to generated code to return fully qualified protobuf service name. 2017-05-02 10:45:34 -04:00
zhimingxie 60f35722de fix truncate bug in grpc_cli 2017-05-02 17:40:03 +08:00
David G. Quintas cf7ea0f089 Merge pull request #10360 from dgquintas/grpclb_new_test
New version of grpclb end2end test
2017-05-02 01:14:57 -07:00
Craig Tiller d4ee77e741 Merge github.com:grpc/grpc into epex4 2017-05-01 15:35:56 -07:00
Craig Tiller 0994bbd0f7 Merge github.com:grpc/grpc into trickle_stall 2017-05-01 15:11:57 -07:00
Craig Tiller c610985aeb Merge branch 'hiertune' into epex4+epoll1 2017-05-01 14:26:49 -07:00
David Garcia Quintas 0745356ab2 Apply slowdown factor to timeouts 2017-05-01 13:52:15 -07:00
David Garcia Quintas d8e278f3dc Merge branch 'master' of github.com:grpc/grpc into grpclb_new_test 2017-05-01 12:52:06 -07:00
Nicolas "Pixel" Noble c020da9634 Forgot one external dependency. 2017-05-01 21:49:46 +02:00
Craig Tiller 570fad827c Fix printf format 2017-04-29 14:56:13 -07:00
David Garcia Quintas 04109e8f7d BUILD and #include fixes 2017-04-28 13:03:35 -07:00
David Garcia Quintas 04911ca202 New version of grpclb end2end test 2017-04-27 16:32:09 -07:00
Ivan Vučica 38279ea2e0 Bazel rule for building grpc_cli. 2017-04-27 13:32:42 +01:00
Craig Tiller ff54f5b150 Merge github.com:grpc/grpc into trickle_stall 2017-04-26 10:38:15 -07:00
Sree Kuchibhotla ff7a587608 Merge branch 'master' into cq_mpsc_based 2017-04-25 12:10:38 -07:00
Craig Tiller f54b89c4f8 Merge github.com:grpc/grpc into epex4 2017-04-25 10:31:08 -07:00
Craig Tiller 9fd7cf5dc3 Recycle ports 2017-04-25 08:45:06 -07:00
Sree Kuchibhotla a72d79b1fc Merge branch 'master' into cq_mpsc_based 2017-04-24 19:45:20 -07:00
MakMukhi c090c619c1 Merge pull request #10644 from MakMukhi/master
Added unit testing support.
2017-04-24 16:36:40 -07:00
Craig Tiller 956920d84e clang-format 2017-04-24 13:09:12 -07:00
Craig Tiller 890b584ee9 Merge github.com:grpc/grpc into epex4 2017-04-24 19:33:53 +00:00
Craig Tiller f62f8d37b6 Revert "Better cost estimation"
This reverts commit 4f98e25f8b.
2017-04-24 18:38:54 +00:00
Craig Tiller 1fb0c39168 Merge github.com:grpc/grpc into epex4 2017-04-24 18:35:36 +00:00
Craig Tiller c6f6663fb7 Rollback some changes 2017-04-24 08:29:39 -07:00
Craig Tiller 0d46284799 Rollback some changes 2017-04-24 08:24:21 -07:00
Craig Tiller d978a95d3c Merge github.com:grpc/grpc into hybrid 2017-04-24 08:20:03 -07:00
Craig Tiller 46436cbe31 Merge github.com:grpc/grpc into trickle_stall 2017-04-21 16:24:40 -07:00
Sree Kuchibhotla 76b1c0d844 Merge branch 'master' into cq_mpsc_based 2017-04-21 16:08:58 -07:00
Craig Tiller ee880fd373 Merge github.com:grpc/grpc into count_now 2017-04-21 15:43:27 -07:00
Sree Kuchibhotla f700705891 Merge branch 'master' into cq_mpsc_based 2017-04-21 14:13:59 -07:00
Vijay Pai 7748faf251 Merge pull request #10639 from vjpai/buildfixes
Fix and test Bazel build rules
2017-04-21 10:50:59 -07:00
Yang Gao 305e4eba83 Merge pull request #10775 from yang-g/http2_client
Fix http2_interop test for c++ and python
2017-04-21 10:19:26 -07:00
Craig Tiller def5aa89d1 Merge github.com:grpc/grpc into epex4 2017-04-21 08:02:06 -07:00
Craig Tiller 8e1fe5f16a Merge github.com:grpc/grpc into trickle_stall 2017-04-21 08:01:35 -07:00
Craig Tiller 50f7e1aa84 Merge github.com:grpc/grpc into hybrid 2017-04-21 06:38:04 -07:00
makdharma 16309e396a Merge pull request #10708 from makdharma/interop_bazel
BUILD file for interop client and server
2017-04-20 15:43:29 -07:00
Craig Tiller 89f8d4c443 Merge github.com:grpc/grpc into epex4 2017-04-20 22:21:23 +00:00
Vijay Pai a935ae1505 Fix build rules for grpc++_unsecure, test that it builds properly 2017-04-20 22:21:01 +00:00
yang-g 03876f66e1 Fix http2_interop test for c++ and python 2017-04-20 14:51:58 -07:00
Craig Tiller 0bb25f325c Build fix 2017-04-20 14:17:23 -07:00
Craig Tiller fe1a67c3d3 Merge github.com:grpc/grpc into trickle_stall 2017-04-20 12:39:26 -07:00
lyuxuan 3fe0f6d851 Merge pull request #10622 from lyuxuan/cpp_overhead
profile cpp overhead for call create
2017-04-20 12:35:39 -07:00
Craig Tiller 59db187c85 Merge branch 'tsan-c++' into hybrid 2017-04-20 19:24:57 +00:00
Craig Tiller 3df4584b9c Merge github.com:grpc/grpc into epex4 2017-04-20 19:24:41 +00:00
Craig Tiller c4c296e2d8 Merge github.com:grpc/grpc into tsan-c++ 2017-04-20 19:24:11 +00:00
Makarand Dharmapurikar bdd48ffaa3 added missing dependency 2017-04-20 11:10:46 -07:00
Craig Tiller dbc12105a3 Refine ping-pong cpu requirement estimations; sort tests by cpu cost to get better bin packing 2017-04-20 17:08:39 +00:00
Craig Tiller 41fdf7d6ad Better cost estimation 2017-04-20 16:50:08 +00:00
Yuxuan Li f2af0c3009 change to new completion queue api 2017-04-19 16:45:38 -07:00
Craig Tiller 3b72163042 Clamp warmup time in seconds 2017-04-19 14:47:27 -07:00
Craig Tiller 47f6dc732d more reasonable? 2017-04-19 14:42:22 -07:00
Craig Tiller 06a30eef36 Merge github.com:grpc/grpc into cpparena 2017-04-19 14:40:20 -07:00
Craig Tiller 5088ef73eb Refine warmup 2017-04-19 14:39:11 -07:00
Craig Tiller 767397702e Tweak bdp estimation again 2017-04-19 14:11:40 -07:00
Craig Tiller ae1e29eed9 Get dep in the right place 2017-04-19 09:07:23 -07:00
Craig Tiller 3588248554 Merge github.com:grpc/grpc into hybrid 2017-04-19 09:06:45 -07:00
Craig Tiller 24e9fe7b92 Fix bazel 2017-04-19 08:24:54 -07:00
Craig Tiller fe59d93e40 more stats 2017-04-19 08:04:50 -07:00
Craig Tiller cc92eb42a4 Update to new API 2017-04-19 06:54:25 -07:00
Craig Tiller e576b6c5e2 Merge branch 'infinite_stream' into epex4 2017-04-19 06:51:02 -07:00
Craig Tiller f26caeedc6 clang-format 2017-04-19 06:48:05 -07:00
Craig Tiller 0a458b599e Fix Bazel build 2017-04-19 06:35:16 -07:00
Mahak Mukhi ea07b60401 Post-review update 2017-04-18 17:05:49 -07:00
Craig Tiller 40fde140f4 Add logging of flow control variables 2017-04-18 15:26:57 -07:00
Craig Tiller cac4e178fd Merge github.com:grpc/grpc into cpparena 2017-04-18 13:39:18 -07:00
Craig Tiller a12c0657ef Merge github.com:grpc/grpc into hybrid 2017-04-18 13:23:44 -07:00
Craig Tiller e5e569540d Merge branch 'infinite_stream' into epex4 2017-04-18 13:16:41 -07:00
Makarand Dharmapurikar 6a8e2c2408 reduced visibility of test util 2017-04-18 13:09:52 -07:00
Craig Tiller 9354720625 Fix infinite streams in qps_test 2017-04-18 19:42:27 +00:00
Makarand Dharmapurikar 5b8032c8b4 BUILD file for interop client and server 2017-04-18 12:07:10 -07:00
Sree Kuchibhotla 7fa313624c Merge branch 'master' into cq_mpsc_based 2017-04-18 11:39:12 -07:00
Craig Tiller 79d24fb8eb Fixes 2017-04-17 19:35:19 +00:00
Craig Tiller 26ec8fba7a Merge github.com:grpc/grpc into epex4 2017-04-17 08:38:33 -07:00
Mahak Mukhi a68829023c more sanity
trying to fix some sanity

nope that didn't work

fixing test failiures

added debug code

more trail and error

more trial and error

cleaning debug code
2017-04-15 19:09:45 -07:00
David G. Quintas 3ddc13b252 Merge pull request #10668 from dgquintas/update_lb_proto_2
Updated load_balancer.proto
2017-04-15 16:00:20 -07:00
David Garcia Quintas a7a1098d2f Updated load_balancer.proto 2017-04-15 10:55:01 -07:00
David Garcia Quintas 53af23cfbf Improvements to Fake Resolver 2017-04-15 10:29:46 -07:00
Mahak Mukhi 443a75dd22 1. Added golden file test.
2. Added support for mock.
3. Sanity fix.
2017-04-14 15:33:55 -07:00
Muxi Yan 9d129e751f Merge pull request #10626 from grpc/revert-10619-revert-9626-lazy-deframe
Revert "Revert "Implement lazy deframe""
2017-04-14 14:10:55 -07:00
Craig Tiller c3666d7090 Merge github.com:grpc/grpc into hybrid 2017-04-14 13:15:56 -07:00
Craig Tiller 2c6f63731c Merge github.com:grpc/grpc into cpparena 2017-04-14 13:14:10 -07:00
Yuxuan Li 0bbdb022de adding a benchmark for c core call create that do two separate batches. 2017-04-14 11:47:18 -07:00
Makarand Dharmapurikar d65b44a3db Merge branch 'caching_uri' of https://github.com/makdharma/grpc into makdharma-caching_uri 2017-04-14 09:07:02 -07:00
Muxi Yan 3136568e36 Merge remote-tracking branch 'upstream/master' into revert-10619-revert-9626-lazy-deframe 2017-04-14 08:22:55 -07:00
Sree Kuchibhotla a29d1b5f7c Merge branch 'master' into cq_lockfree 2017-04-14 08:12:22 -07:00
Sree Kuchibhotla b81fb794a3 Merge pull request #9972 from sreecha/cq_create_api_changes
Completion Queue creation API changes (C-Core and C++ only)
2017-04-14 07:59:18 -07:00
Yuxuan Li 784018d8a4 use grpc_channel_create_registered_call 2017-04-13 16:17:37 -07:00
Mahak Mukhi 2814b5148e formatting 2017-04-13 14:45:26 -07:00
Sree Kuchibhotla b3112cd10f Merge branch 'master' into cq_lockfree 2017-04-13 14:26:12 -07:00
Mahak Mukhi bcf0eb6126 Merge branch 'master' of github.com:grpc/grpc 2017-04-13 13:28:58 -07:00
Craig Tiller 4f98e25f8b Better cost estimation 2017-04-13 18:55:46 +00:00
Makarand Dharmapurikar 7fb4036a17 clang-format fix 2017-04-13 09:07:47 -07:00
Craig Tiller cacaa1950d Merge github.com:grpc/grpc into epex3 2017-04-13 15:22:38 +00:00
Craig Tiller 7c0cbad3f2 Merge github.com:grpc/grpc into minimal_test 2017-04-13 06:51:50 -07:00
Craig Tiller 57e6485e2d Merge github.com:grpc/grpc into hybrid 2017-04-13 06:46:27 -07:00
Sree Kuchibhotla aa5a92800f Merge branch 'master' into cq_create_api_changes 2017-04-13 03:13:17 -07:00
Muxi Yan 29723ee1ba Revert "Revert "Implement lazy deframe"" 2017-04-12 20:24:42 -07:00
Yuxuan Li c7609c4f3f profile cpp overhead for call create 2017-04-12 18:02:55 -07:00
Mahak Mukhi e536eeb6d0 Added tests for uni-directional streaming RPCs. 2017-04-12 17:16:23 -07:00
Mahak Mukhi 31d92d42ff Initial commit: Auto-generate GMOCK code for client stub. 2017-04-12 17:16:23 -07:00
Yang Gao 7f2a15a6f9 Merge pull request #10586 from yang-g/error_details2
Add helper function to supply and parse error_details from Status.
2017-04-12 17:11:02 -07:00
Nicolas "Pixel" Noble 7c26eed838 Buildifier and wrapping test/cpp/* rules with our build system. 2017-04-13 02:03:22 +02:00
Craig Tiller 09b02847f1 Merge github.com:grpc/grpc into minimal_test 2017-04-12 16:48:12 -07:00
Craig Tiller c71e6a6ad6 Revert "Implement lazy deframe" 2017-04-12 15:49:39 -07:00
Craig Tiller b3d308b9a1 Merge github.com:grpc/grpc into cpparena 2017-04-12 15:16:35 -07:00
Craig Tiller 80233bfde5 Merge github.com:grpc/grpc into minimal_test 2017-04-12 14:55:17 -07:00
Craig Tiller 023a51a7fa Merge pull request #10473 from ctiller/truebin
True Binary Encoding
2017-04-12 14:48:36 -07:00
yang-g 66d40c63f7 Fix BUILD dependency, copyright and cmake 2017-04-12 10:18:10 -07:00
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