Commit Graph

822 Commits

Author SHA1 Message Date
Soheil Hassas Yeganeh dbf88dd66f Revert "Revert "Introduce string_view and use it for gpr_split_host_port.""
This reverts commit 80c177d4c4.
2019-06-27 20:56:15 -04:00
Soheil Hassas Yeganeh 80c177d4c4
Revert "Introduce string_view and use it for gpr_split_host_port." 2019-06-26 16:22:13 -04:00
Soheil Hassas Yeganeh f9516b04d5
Merge pull request #19218 from soheilhy/string-view
Introduce string_view and use it for gpr_split_host_port.
2019-06-26 13:15:52 -04:00
Moiz Haidry fbd5957ee8 Sanity and build fixes 2019-06-21 12:28:55 -07:00
Moiz Haidry 3ce20819cf Modify codegen to use grpc_impl namespace and other cleanups 2019-06-21 10:51:57 -07:00
Soheil Hassas Yeganeh ef0f9bf7ec Introduce string_view and use it for gpr_split_host_port. 2019-06-20 23:19:34 -04:00
yuangongji e8bece9c71 some typo errors too. 2019-06-05 09:33:38 +08:00
Guantao Liu 7447bad5cd Merge remote-tracking branch 'upstream/master' into alarm_contention 2019-05-09 11:37:49 -07:00
Guantao Liu ca541c9c5f Address review comments. 2019-05-09 11:37:19 -07:00
Karthik Ravi Shankar 5a132b8245 Merge branch 'master' into grpc_namespace_credentials 2019-04-30 10:18:09 -07:00
Guantao Liu aafa4c48e5 Fix another call of Alarm::experimental()::Set. 2019-04-29 16:10:53 -07:00
Guantao Liu 3b5c470bf1 Clang format. 2019-04-29 15:19:55 -07:00
Guantao Liu a7a380c69b Delay the creation of Alarm in the callback-based qps client.
The alarm is only used in the fixed-load scenarios, but its
construction is a major point of contention in both the closed-loop
and fixed-load scenarios. Delay its creation to when it is going to be
used, which will get rid of the contention in the closed-loop scenarios.
2019-04-29 15:09:07 -07:00
nanahpang 2d37a7a9b7
Add alarm in callback streaming test
There aren't the right set of alarms in callback streaming reactor, so it exceeds the attempted qps while testing the fixed load streaming scenarios in synthetic benchmarks.
2019-04-24 17:29:24 -07:00
Karthik Ravi Shankar 603d014f0e Changes to fold credentials into grpc_impl from grpc 2019-04-23 13:54:26 -07:00
Vijay Pai ec06d677e2
Merge pull request #16681 from arrowd/master
Fix various tests on FreeBSD.
2019-04-10 14:16:36 -07:00
Bill Feng d93959853f Enabled Windows Bazel build for cpp tests 2019-03-21 18:00:48 -07:00
Jan Tattermusch cf6a311761
Revert "Windows builds for gRPC C++ tests" 2019-03-15 17:15:20 +01:00
Karthik Ravi Shankar b3889585a1
Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota" 2019-03-12 12:25:38 -07:00
Karthik Ravi Shankar cc632f8121
Merge pull request #18220 from grpc/grpc_namespace
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
2019-03-12 11:20:27 -07:00
billfeng327 4241edeaa4 renamed tag to no_windows in conformation with Bazel and TensorFlow 2019-03-07 14:52:49 -08:00
billfeng327 ab06853fc9 C++ Windows test builds 2019-03-06 15:47:49 -08:00
Karthik Ravi Shankar f7dd48b2b6 Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
This change moves ResourceQuota class fron grpc namespace to grpc_impl
namespace.
2019-03-06 10:12:23 -08:00
Vijay Pai cdab1c260f Fix termination condition of streaming callback QPS tests 2019-02-20 16:32:34 -08:00
Vijay Pai 453c6331b6 Fix counters in streaming QPS benchmarks 2019-02-20 06:15:15 -08:00
Lidi Zheng 5198ccd89c
Revert "Add basic benchmark test for Python" 2019-01-29 00:40:01 -08:00
Lidi Zheng 4f451c78a4 Add basic benchmark test for Python 2019-01-22 16:50:47 -08:00
Soheil Hassas Yeganeh 0d6e10e795 clang-format all the files.
Whenever we run clang-format, gen_build_yaml.py and
ServerServiceDefinitionExtensions.cs get modified by the script.

Let's commit those changes so that these file remain unmodified
after running the formatting script.
2019-01-07 10:21:09 -05:00
Moiz Haidry d3db9fee9c
Merge pull request #17461 from mhaidrygoog/callback_client_streaming_benchmark
Add support for Callback Client Streaming benchmarks
2019-01-03 20:38:54 -08:00
Moiz Haidry 7bb853ebdd Addressed PR comments. Made Client::Thread public and removed use of void ptr to refer it. Avoided overloading of NextIssue TIme by renaming it NextRPCIssueTime 2018-12-21 22:40:38 -08:00
Alexander Polcyn 50eaf46718 Refactor benchmark initial channel wait for ready to be single threaded 2018-12-21 14:07:46 -08:00
yang-g 038a71d826 Merge remote-tracking branch 'upstream/master' into gpr_test_util_to_grpc_test_util 2018-12-17 08:52:20 -08:00
Moiz Haidry 5ec78a286d Added support for fixed load benchmarks, all the rpcs access one requestor to the get the next issue time for the RPC 2018-12-14 10:49:12 -08:00
Moiz Haidry e6e1081499 Add support for Callback Client Streaming benchmarks 2018-12-13 09:40:37 -08:00
Moiz Haidry 3bc323977f Streaming support for callback server 2018-12-11 13:12:39 -08:00
yang-g 67742ef63f Fix BUILD files. Manually edit bzl files 2018-12-06 14:37:52 -08:00
Bill Feng 8b7323df1c
Merge pull request #17110 from billfeng327/multipool-config
Bazel multipool config update, removed sentinel file
2018-11-28 18:54:21 -08:00
Bill Feng 5810b53df3 merge conflict fix 2018-11-26 10:15:47 -08:00
ncteisen d3631f9c79 fix clang tidy 2018-11-26 06:11:30 -05:00
Alexander Polcyn d9dbb76969 Allow specifying specific credential types to reach specific works in QPS benchmark driver 2018-11-21 10:13:10 -08:00
Jan Tattermusch 4e1610bd41
Merge pull request #17140 from vjpai/qps
Initialize values in memory before creating slice
2018-11-08 16:48:26 +01:00
Bill Feng 9759a1b241 removed accidental submodule update 2018-11-07 15:21:04 -08:00
Vijay Pai 432b34bf74 Initialize value before creating slice 2018-11-07 12:33:19 -08:00
Moiz Haidry 1303ec7b53 Added benchmarks for Callback based Unary server 2018-11-07 10:08:51 -08:00
Moiz Haidry 145a3bf91f Code sanitization 2018-10-10 16:15:51 -07:00
Moiz Haidry 14acde64cc Addressed Vijay's code review comments 2018-10-10 15:10:05 -07:00
Moiz Haidry b4d5c7cee4 Benchmark test for callback unary gRPC
Every thread intitiates multiple RPCs. The Callback of the unary RPC then issues a new RPC and this goes until the benchmark shuts down. For shutdown the main thread waits on a conditional variable. After shutdown the callbacks increment a rpcs done variable and once the the rpcs done equate the the total number of outstanding rpcs, the last callback performing the increment operation also issues a signal to wake up the main thread. The mainthread process to join the other threads and perform cleanup
2018-10-08 12:24:03 -07:00
Gleb Popov 39eb19ed35 Fix various tests on FreeBSD. 2018-09-22 22:41:39 +03:00
Bill Feng b7bbc350b8 naming bugfix 2018-09-06 14:33:32 -07:00
Bill Feng 3fb62ae92c exclude less tests from qps 2018-09-06 13:41:02 -07:00