/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/tools/run_tests/performance/templates/ |
D | loadtest_template_prebuilt_all_languages.yaml | 17 - language: csharp 20 - args: 21 - -c 22 - | 23 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" dotnet exec \ 25 --driver_port="${DRIVER_PORT}" 27 - bash 30 - language: dotnet 33 - args: 34 - -c [all …]
|
D | loadtest_template_basic_all_languages.yaml | 17 - build: 19 - bash 20 - /build_scripts/build_qps_worker.sh 27 - args: 28 - -c 29 - | 30 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" dotnet exec \ 32 --driver_port="${DRIVER_PORT}" 34 - bash 36 - build: [all …]
|
D | loadtest_template_psm_proxyless_prebuilt_all_languages.yaml | 17 - language: cxx 20 - args: 21 - -c 22 - | 23 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \ 24 /source/code/bazel-bin/test/cpp/qps/qps_worker \ 25 --driver_port="${DRIVER_PORT}" 27 - bash 29 - name: GRPC_XDS_BOOTSTRAP 33 - args: [all …]
|
D | loadtest_template_psm_proxied_prebuilt_all_languages.yaml | 17 - language: cxx 20 - args: 21 - -c 22 - | 23 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \ 24 /source/code/bazel-bin/test/cpp/qps/qps_worker \ 25 --driver_port="${DRIVER_PORT}" 27 - bash 30 - args: 31 - -default-config-path [all …]
|
D | loadtest_template_psm_proxied_basic_all_languages.yaml | 17 - build: 19 - build 20 - --config 21 - opt 22 - //test/cpp/qps:qps_worker 24 - bazel 31 - args: 32 - -c 33 - | 34 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \ [all …]
|
D | loadtest_template_psm_proxyless_basic_all_languages.yaml | 17 - build: 19 - build 20 - --config 21 - opt 22 - //test/cpp/qps:qps_worker 24 - bazel 31 - args: 32 - -c 33 - | 34 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \ [all …]
|
/aosp_15_r20/external/grpc-grpc/tools/run_tests/performance/templates/ |
H A D | loadtest_template_prebuilt_all_languages.yaml | 17 - language: csharp 20 - args: 21 - -c 22 - | 23 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" dotnet exec \ 25 --driver_port="${DRIVER_PORT}" 27 - bash 30 - language: dotnet 33 - args: 34 - -c [all …]
|
H A D | loadtest_template_basic_all_languages.yaml | 17 - build: 19 - bash 20 - /build_scripts/build_qps_worker.sh 27 - args: 28 - -c 29 - | 30 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" dotnet exec \ 32 --driver_port="${DRIVER_PORT}" 34 - bash 36 - build: [all …]
|
H A D | loadtest_template_psm_proxyless_prebuilt_all_languages.yaml | 17 - language: cxx 20 - args: 21 - -c 22 - | 23 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \ 24 /source/code/bazel-bin/test/cpp/qps/qps_worker \ 25 --driver_port="${DRIVER_PORT}" 27 - bash 29 - name: GRPC_XDS_BOOTSTRAP 33 - args: [all …]
|
H A D | loadtest_template_psm_proxied_prebuilt_all_languages.yaml | 17 - language: cxx 20 - args: 21 - -c 22 - | 23 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \ 24 /source/code/bazel-bin/test/cpp/qps/qps_worker \ 25 --driver_port="${DRIVER_PORT}" 27 - bash 30 - args: 31 - -default-config-path [all …]
|
H A D | loadtest_template_psm_proxied_basic_all_languages.yaml | 17 - build: 19 - build 20 - --config 21 - opt 22 - //test/cpp/qps:qps_worker 24 - bazel 31 - args: 32 - -c 33 - | 34 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \ [all …]
|
H A D | loadtest_template_psm_proxyless_basic_all_languages.yaml | 17 - build: 19 - build 20 - --config 21 - opt 22 - //test/cpp/qps:qps_worker 24 - bazel 31 - args: 32 - -c 33 - | 34 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \ [all …]
|
H A D | loadtest_template_prebuilt_cxx_experiments.yaml | 17 - language: cxx 20 - args: 21 - -c 22 - | 24 timeout --kill-after="${KILL_AFTER}" "${POD_TIMEOUT}" \ 25 /source/code/bazel-bin/test/cpp/qps/qps_worker \ 26 --driver_port="${DRIVER_PORT}" 28 - bash 35 - image: ${driver_image} 40 - language: cxx [all …]
|
/aosp_15_r20/external/grpc-grpc/test/cpp/qps/ |
H A D | qps_worker.cc | 9 // http://www.apache.org/licenses/LICENSE-2.0 141 resp->set_cores(gpr_cpu_num_cores()); in CoreCount() 151 worker_->MarkDone(); in QuitWorker() 160 : impl_(impl), acquired_(impl->TryAcquireInstance()) {} in InstanceGuard() 163 impl_->ReleaseInstance(); in ~InstanceGuard() 190 if (!stream->Read(&args)) { in RunClientBody() 203 if (!stream->Write(status)) { in RunClientBody() 207 while (stream->Read(&args)) { in RunClientBody() 213 *status.mutable_stats() = client->Mark(args.mark().reset()); in RunClientBody() 214 if (!stream->Write(status)) { in RunClientBody() [all …]
|
H A D | json_run_localhost.cc | 3 // Copyright 2015-2016 gRPC authors. 9 // http://www.apache.org/licenses/LICENSE-2.0 54 if (g_driver != nullptr) g_driver->Interrupt(); in sighandler() 56 if (g_workers[i]) g_workers[i]->Interrupt(); in sighandler() 92 const auto driver_port = grpc_pick_unused_port_or_die(); in main() local 96 std::vector<std::string> args = {bin_dir + "/qps_worker", "-driver_port", in main() 97 as_string(driver_port), "-server_port", in main() 101 env << "localhost:" << driver_port; in main() 112 const int driver_join_status = g_driver->Join(); in main() 117 if (g_workers[i]) g_workers[i]->Interrupt(); in main() [all …]
|
H A D | driver.cc | 9 // http://www.apache.org/licenses/LICENSE-2.0 82 "workers to use. Set it to a comma-separated list of " in get_workers() 97 return it->second; in GetCredType() 137 histogram.MergeProto(result->latencies()); in postprocess_scenario_result() 138 result->mutable_summary()->set_latency_50(histogram.Percentile(50)); in postprocess_scenario_result() 139 result->mutable_summary()->set_latency_90(histogram.Percentile(90)); in postprocess_scenario_result() 140 result->mutable_summary()->set_latency_95(histogram.Percentile(95)); in postprocess_scenario_result() 141 result->mutable_summary()->set_latency_99(histogram.Percentile(99)); in postprocess_scenario_result() 142 result->mutable_summary()->set_latency_999(histogram.Percentile(99.9)); in postprocess_scenario_result() 148 for (int i = 0; i < result->client_stats_size(); i++) { in postprocess_scenario_result() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/tools/run_tests/performance/ |
D | README.md | 5 This document contains documentation of on how to run gRPC end-to-end benchmarks 13 The scripts in this section generate LoadTest configurations for the GKE-based 15 repository, [grpc/test-infra]. 17 These scripts, together with tools defined in [grpc/test-infra], are used in the 34 $ ./tools/run_tests/performance/scenario_config_exporter.py --count_scenarios --category=scalable 57 Client and server languages are only set for cross-language scenarios, where the 68 https://github.com/grpc/test-infra/tree/master/config/samples 79 we are generating configurations for cross-language scenarios that need a go 88 $ kubectl apply -f loadtest_config.yaml 92 > a _test runner_. For details, see [running tests](#running-tests). [all …]
|
D | loadtest_config.py | 8 # http://www.apache.org/licenses/LICENSE-2.0 22 # https://github.com/grpc/grpc/blob/master/tools/run_tests/performance/README.md#grpc-oss-benchmarks 44 # https://github.com/grpc/grpc/blob/master/tools/run_tests/performance/README.md#grpc-oss-benchmarks 48 def safe_name(language: str) -> str: 53 def default_prefix() -> str: 58 def now_string() -> str: 63 def validate_loadtest_name(name: str) -> None: 68 if not all(c.isalnum() and not c.isupper() for c in name if c != '-'): 70 if not name or not name[0].isalpha() or name[-1] == '-': 75 uniquifier_elements: Iterable[str]) -> str: [all …]
|
/aosp_15_r20/external/grpc-grpc/tools/run_tests/performance/ |
H A D | README.md | 5 This document contains documentation of on how to run gRPC end-to-end benchmarks 13 The scripts in this section generate LoadTest configurations for the GKE-based 15 repository, [grpc/test-infra]. 17 These scripts, together with tools defined in [grpc/test-infra], are used in the 34 $ ./tools/run_tests/performance/scenario_config_exporter.py --count_scenarios --category=scalable 59 Client and server languages are only set for cross-language scenarios, where the 70 https://github.com/grpc/test-infra/tree/master/config/samples 81 we are generating configurations for cross-language scenarios that need a go 90 $ kubectl apply -f loadtest_config.yaml 94 > a _test runner_. For details, see [running tests](#running-tests). [all …]
|
H A D | loadtest_config.py | 8 # http://www.apache.org/licenses/LICENSE-2.0 22 # https://github.com/grpc/grpc/blob/master/tools/run_tests/performance/README.md#grpc-oss-benchmarks 44 # https://github.com/grpc/grpc/blob/master/tools/run_tests/performance/README.md#grpc-oss-benchmarks 48 def safe_name(language: str) -> str: 53 def default_prefix() -> str: 58 def now_string() -> str: 63 def validate_loadtest_name(name: str) -> None: 69 if not all(c.isalnum() and not c.isupper() for c in name if c != "-"): 71 if not name or not name[0].isalpha() or name[-1] == "-": 77 ) -> str: [all …]
|
/aosp_15_r20/external/grpc-grpc/src/python/grpcio_tests/tests/qps/ |
H A D | qps_worker.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 27 def run_worker_server(driver_port, server_port): argument 33 server.add_insecure_port("[::]:{}".format(driver_port)) 45 "--driver_port", 47 dest="driver_port", 51 "--server_port", 61 run_worker_server(args.driver_port, args.server_port)
|
/aosp_15_r20/external/grpc-grpc/src/ruby/qps/ |
H A D | worker.rb | 9 # http://www.apache.org/licenses/LICENSE-2.0 30 require 'qps-common' 96 'driver_port' => 0, 100 opts.banner = 'Usage: [--driver_port <port>] [--server_port <port>]' 101 opts.on('--driver_port PORT', '<port>') do |v| 102 options['driver_port'] = v 104 opts.on('--server_port PORT', '<port>') do |v| 113 s.add_http2_port("0.0.0.0:" + options['driver_port'].to_s,
|
H A D | proxy-worker.rb | 9 # http://www.apache.org/licenses/LICENSE-2.0 29 require 'qps-common' 31 require 'src/proto/grpc/testing/proxy-service_services_pb' 46 ([email protected]_channels-1).each do |chan| 50 command = "php -d extension=" + File.expand_path(File.dirname(__FILE__)) + 52 …"-d extension=" + File.expand_path(File.dirname(__FILE__)) + "/../../php/ext/grpc/modules/grpc.so … 56 …command = "php -d extension=" + File.expand_path(File.dirname(__FILE__)) + "/../../php/ext/grpc/mo… 59 … puts "[ruby proxy] Starting #{chan}th php-client command use c protobuf #{@use_c_ext}: " + command 68 ([email protected]_channels-1).each do |chan| 97 elapsed = Time.now-@start_time [all …]
|
/aosp_15_r20/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/driver/ |
H A D | LoadWorker.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 51 .setNameFormat("load-worker-%d") in LoadWorker() 74 if (!arg.startsWith("--")) { in main() 75 System.err.println("All arguments must start with '--': " + arg); in main() 86 System.err.println("All arguments must be of the form --arg=value"); in main() 93 } else if ("driver_port".equals(key)) { in main() 105 + "\n --driver_port=<port>" in main() 107 + "\n --server_port=<port>" in main()
|
/aosp_15_r20/external/grpc-grpc/src/python/grpcio_tests/tests_aio/benchmark/ |
H A D | worker.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 25 async def run_worker_server(port: int) -> None: 47 "--driver_port", 53 "--uvloop", action="store_true", help="Use uvloop or not"
|