/external/grpc-grpc/test/cpp/qps/ |
D | qps_json_driver.cc | 78 static std::unique_ptr<ScenarioResult> RunAndReport(const Scenario& scenario, in RunAndReport() argument 80 std::cerr << "RUNNING SCENARIO: " << scenario.name() << "\n"; in RunAndReport() 82 scenario.client_config(), scenario.num_clients(), in RunAndReport() 83 scenario.server_config(), scenario.num_servers(), in RunAndReport() 84 scenario.warmup_seconds(), scenario.benchmark_seconds(), in RunAndReport() 85 !FLAGS_run_inproc ? scenario.spawn_local_worker_count() : -2, in RunAndReport() 91 result->mutable_scenario()->CopyFrom(scenario); in RunAndReport() 118 static double GetCpuLoad(Scenario* scenario, double offered_load, in GetCpuLoad() argument 120 scenario->mutable_client_config() in GetCpuLoad() 124 auto result = RunAndReport(*scenario, success); in GetCpuLoad() [all …]
|
D | qps_benchmark_script.bzl | 33 for scenario in QPS_JSON_DRIVER_SCENARIOS: 35 name = "qps_json_driver_test_%s" % scenario, 40 QPS_JSON_DRIVER_SCENARIOS[scenario], 58 for scenario in JSON_RUN_LOCALHOST_SCENARIOS: 60 name = "json_run_localhost_%s" % scenario, 64 JSON_RUN_LOCALHOST_SCENARIOS[scenario],
|
D | json_run_localhost_scenario_gen.py | 30 all_scenarios = {scenario['name'].encode('ascii', 'ignore'): \ 31 '\'{\'scenarios\' : [' + json.dumps(scenario) + ']}\'' \ 32 for scenario in deserialized_scenarios}
|
D | qps_json_driver_scenario_gen.py | 30 all_scenarios = {scenario['name'].encode('ascii', 'ignore'): \ 31 '\'{\'scenarios\' : [' + json.dumps(scenario) + ']}\'' \ 32 for scenario in deserialized_scenarios}
|
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
D | Trial.java | 42 private Scenario scenario; field in Trial 49 this.scenario = Scenario.DEFAULT; in Trial() 57 this.scenario = builder.scenario; in Trial() 73 public Scenario scenario() { in scenario() method in Trial 74 return scenario; in scenario() 89 && this.scenario.equals(that.scenario) in equals() 97 return Objects.hashCode(id, run, instrumentSpec, scenario, measurements); in hashCode() 105 .add("scenario", scenario) in toString() 114 private Scenario scenario; field in Trial.Builder 139 public Builder scenario(Scenario.Builder scenarioBuilder) { in scenario() method in Trial.Builder [all …]
|
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/ |
D | _exit_scenarios.py | 170 if args.scenario == UNSTARTED_SERVER: 174 elif args.scenario == RUNNING_SERVER: 180 elif args.scenario == POLL_CONNECTIVITY_NO_SERVER: 189 elif args.scenario == POLL_CONNECTIVITY: 210 method = TEST_TO_METHOD[args.scenario] 212 if args.scenario == IN_FLIGHT_UNARY_UNARY_CALL: 216 elif (args.scenario == IN_FLIGHT_UNARY_STREAM_CALL or 217 args.scenario == IN_FLIGHT_PARTIAL_UNARY_STREAM_CALL): 222 elif (args.scenario == IN_FLIGHT_STREAM_UNARY_CALL or 223 args.scenario == IN_FLIGHT_PARTIAL_STREAM_UNARY_CALL): [all …]
|
/external/grpc-grpc/tools/run_tests/performance/ |
D | scenario_config.py | 55 def remove_nonproto_fields(scenario): argument 58 scenario.pop('CATEGORIES', None) 59 scenario.pop('CLIENT_LANGUAGE', None) 60 scenario.pop('SERVER_LANGUAGE', None) 61 scenario.pop('EXCLUDED_POLL_ENGINES', None) 62 return scenario 135 scenario = { 161 scenario['server_config']['resource_quota_size'] = resource_quota_size 165 scenario['server_config']['payload_config'] = _payload_type( 168 scenario['client_config']['payload_config'] = _payload_type( [all …]
|
D | README.md | 71 1. Get the 'scenario_json' relevant for the scenario to run. Note that "scenario 73 …river.cc) takes a list of these configs as a json string of the form: `{scenario: <json_list_of_sc… 76 …nce_tests.py](./run_performance_tests.py) locally and copying the logged scenario json command arg. 120 this to a high value, then the scenario config under test should 130 Each scenario in a scenario config has specifies a certain number
|
/external/autotest/server/cros/cfm/configurable_test/ |
D | cfm_test.py | 8 def __init__(self, scenario, configuration=configuration.Configuration()): argument 16 self.scenario = scenario 21 % (self.scenario, self.configuration))
|
D | actions_unittest.py | 8 from autotest_lib.server.cros.cfm.configurable_test import scenario 111 scenarios = [scenario.Scenario(dummy_action1), 112 scenario.Scenario(dummy_action2)] 127 scenarios1 = [scenario.Scenario(scenario1_action1), 128 scenario.Scenario(scenario1_action2)] 131 scenarios2 = [scenario.Scenario(scenario2_action1), 132 scenario.Scenario(scenario2_action2)]
|
D | actions.py | 123 def __init__(self, times, scenario): argument 132 self.scenario = scenario 135 return 'Repeat[scenario=%s, times=%s]' % (self.scenario, self.times) 139 self.scenario.execute(context)
|
D | configurable_cfm_test_unittest.py | 18 scenario=Scenario( 33 scenario=Scenario(
|
/external/libchrome/base/strings/ |
D | string_util_unittest.cc | 626 for (const auto& scenario : cases) { in TEST() local 627 string16 str = ASCIIToUTF16(scenario.str); in TEST() 628 ReplaceSubstringsAfterOffset(&str, scenario.start_offset, in TEST() 629 ASCIIToUTF16(scenario.find_this), in TEST() 630 ASCIIToUTF16(scenario.replace_with)); in TEST() 631 EXPECT_EQ(ASCIIToUTF16(scenario.expected), str); in TEST() 635 for (const auto& scenario : cases) { in TEST() local 636 std::string str = scenario.str.as_string(); in TEST() 638 ReplaceSubstringsAfterOffset(&str, scenario.start_offset, in TEST() 639 scenario.find_this, scenario.replace_with); in TEST() [all …]
|
/external/ltp/android/tools/ |
D | compare_ltp_projects.py | 62 def scan_test_suites(ltp_root, scenario): argument 80 if scenario: 81 scenarioFile = ltp_root + os.path.sep + 'scenario_groups' + os.path.sep + scenario 96 def scan_ltp(ltp_root, scenario): argument 117 test_suites = scan_test_suites(ltp_root, scenario) 119 print ('No Testsuites found for scenario {}'.format(scenario)) 204 ltp_tests1 = scan_ltp(args.ltp_root1, args.scenario) 205 ltp_tests2 = scan_ltp(args.ltp_root2, args.scenario)
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | OrderingTest.java | 901 private static <T> void verifyScenario(Scenario<T> scenario, int level) { 902 scenario.testCompareTo(); 903 scenario.testIsOrdered(); 904 scenario.testMinAndMax(); 905 scenario.testBinarySearch(); 906 scenario.testSortedCopy(); 910 verifyScenario(alteration.mutate(scenario), level + 1); 994 <T> Scenario<?> mutate(Scenario<T> scenario) { 995 List<T> newList = Lists.newArrayList(scenario.strictlyOrderedList); 997 return new Scenario<T>(scenario.ordering.reverse(), newList, scenario.emptyArray); [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | OrderingTest.java | 901 private static <T> void verifyScenario(Scenario<T> scenario, int level) { 902 scenario.testCompareTo(); 903 scenario.testIsOrdered(); 904 scenario.testMinAndMax(); 905 scenario.testBinarySearch(); 906 scenario.testSortedCopy(); 910 verifyScenario(alteration.mutate(scenario), level + 1); 994 <T> Scenario<?> mutate(Scenario<T> scenario) { 995 List<T> newList = Lists.newArrayList(scenario.strictlyOrderedList); 997 return new Scenario<T>(scenario.ordering.reverse(), newList, scenario.emptyArray); [all …]
|
/external/parameter-framework/upstream/tools/clientSimulator/ |
D | README.md | 34 allows writing scenario, mixing criterion changes and arbitrary script 53 * `-s`, `--scenario` : precise the scenario number to launch 63 The script will wait for a choice and the desired scenario will be 64 launched. You can also directly select a scenario with -`s` option. 82 - The path to the directory containing the scenario files. 120 All scenario files need to be put in the directory mentioned by the 123 A scenario file contains all the actions you want to take. *Note*: it is an 147 This scenario file sets a criterion, then runs a script, then sets three 180 Here we define five new types based on `setCriterion`. When writing a scenario, 187 Here is the example scenario, rewritten using the above definitions: [all …]
|
D | pfClientSimulator.py | 36 from clientsimulator.scenario.Scenario import Scenario 203 if args.scenario is not None: 204 for elem in args.scenario: 206 if (args.scenario is None) or args.no_exit:
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | GeneratedMonitorTest.java | 392 Scenario scenario, in addTests() argument 398 suite.addTest(new GeneratedMonitorTest(method, scenario, fair, timeout, expectedOutcome)); in addTests() 403 suite.addTest(new GeneratedMonitorTest(method, scenario, fair, null, expectedOutcome)); in addTests() 429 private final Scenario scenario; field in GeneratedMonitorTest 439 Method method, Scenario scenario, boolean fair, Timeout timeout, Outcome expectedOutcome) { in GeneratedMonitorTest() argument 440 super(nameFor(method, scenario, fair, timeout, expectedOutcome)); in GeneratedMonitorTest() 442 this.scenario = scenario; in GeneratedMonitorTest() 453 Method method, Scenario scenario, boolean fair, Timeout timeout, Outcome expectedOutcome) { in nameFor() argument 460 scenario, in nameFor() 552 switch (scenario) { in doEnterScenarioSetUp() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | GeneratedMonitorTest.java | 392 Scenario scenario, in addTests() argument 398 suite.addTest(new GeneratedMonitorTest(method, scenario, fair, timeout, expectedOutcome)); in addTests() 403 suite.addTest(new GeneratedMonitorTest(method, scenario, fair, null, expectedOutcome)); in addTests() 429 private final Scenario scenario; field in GeneratedMonitorTest 439 Method method, Scenario scenario, boolean fair, Timeout timeout, Outcome expectedOutcome) { in GeneratedMonitorTest() argument 440 super(nameFor(method, scenario, fair, timeout, expectedOutcome)); in GeneratedMonitorTest() 442 this.scenario = scenario; in GeneratedMonitorTest() 453 Method method, Scenario scenario, boolean fair, Timeout timeout, Outcome expectedOutcome) { in nameFor() argument 460 scenario, in nameFor() 552 switch (scenario) { in doEnterScenarioSetUp() [all …]
|
/external/grpc-grpc/tools/run_tests/ |
D | run_performance_tests.py | 418 scenario = Scenario( 425 scenarios.append(scenario) 653 for scenario in scenarios: 655 print(scenario.name) 659 for worker in scenario.workers: 661 jobs = [scenario.jobspec] 662 if scenario.workers: 665 scenario.workers, 677 scenario.workers, qpsworker_jobs) 681 for worker in scenario.workers: [all …]
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
D | ConsoleOutput.java | 132 Scenario scenario = trial.scenario(); in processTrial() local 133 vmSpecs.add(scenario.vmSpec()); in processTrial() 134 benchmarkSpecs.add(scenario.benchmarkSpec()); in processTrial()
|
/external/grpc-grpc/src/php/tests/qps/generated_code/Grpc/Testing/ |
D | ScenarioResult.php | 23 private $scenario = null; variable in Grpc\\Testing\\ScenarioResult 84 return $this->scenario; 97 $this->scenario = $var;
|
/external/grpc-grpc/src/proto/grpc/testing/ |
D | control.proto | 192 // A single performance scenario: input to qps_json_driver 194 // Human readable name for this scenario 218 // once the scenario has finished. 257 // Results of a single benchmark scenario. 259 // Inputs used to run the scenario. 260 Scenario scenario = 1; field
|
/external/grpc-grpc-java/benchmarks/src/main/proto/grpc/testing/ |
D | control.proto | 179 // A single performance scenario: input to qps_json_driver 181 // Human readable name for this scenario 205 // once the scenario has finished. 240 // Results of a single benchmark scenario. 242 // Inputs used to run the scenario. 243 Scenario scenario = 1; field
|