047cf1ae2c6b775c20b4ca518d996feb3dcfbec9,tests/edw_benchmark_results_aggregator_test.py,EdwBenchmarkPerformanceTest,test_get_aggregated_geomean_performance_sample_passing,#EdwBenchmarkPerformanceTest#,791
Before Change
b_p = agg.EdwBenchmarkPerformance(
total_iterations=2, expected_suite_queries=[Q1_NAME, Q2_NAME])
s1_p = agg.EdwSuitePerformance("suite_name", "suite_seq_1", 2)
q11_p = agg.EdwQueryPerformance(Q1_NAME, 1.0, {"job_id": "q1_s1_job_id"})
s1_p.add_query_performance(q11_p)
q12_p = agg.EdwQueryPerformance(Q2_NAME, 2.0, {"job_id": "q2_s1_job_id"})
s1_p.add_query_performance(q12_p)
b_p.add_suite_performance("suite_seq_1", s1_p)
s2_p = agg.EdwSuitePerformance("suite_name", "suite_seq_2", 2)
q21_p = agg.EdwQueryPerformance(Q1_NAME, 3.0, {"job_id": "q1_s2_job_id"})
s2_p.add_query_performance(q21_p)
q22_p = agg.EdwQueryPerformance(Q2_NAME, 4.0, {})
s2_p.add_query_performance(q22_p)
b_p.add_suite_performance("suite_seq_2", s2_p)
actual_sample = b_p.get_aggregated_geomean_performance_sample(
{"benchmark_name": "b_name"})
self.assertEqual(actual_sample.metric, "edw_aggregated_geomean")
self.assertEqual(actual_sample.value,
After Change
b_p = agg.EdwBenchmarkPerformance(
total_iterations=2, expected_queries=[Q1_NAME, Q2_NAME])
i1_p = agg.EdwIterationPerformance("1", 2)
s11_p = agg.EdwStreamPerformance(S1_NAME, 2)
q111_p = agg.EdwQueryPerformance(Q1_NAME, 1.0, {"job_id": "q1_i1_job_id"})
q112_p = agg.EdwQueryPerformance(Q2_NAME, 2.0, {"job_id": "q2_i1_job_id"})
s11_p.add_query_performance(q111_p)
s11_p.add_query_performance(q112_p)
i1_p.add_stream_performance(s11_p)
b_p.add_iteration_performance(i1_p)
i2_p = agg.EdwIterationPerformance("2", 2)
s21_p = agg.EdwStreamPerformance(S1_NAME, 2)
q211_p = agg.EdwQueryPerformance(Q1_NAME, 3.0, {"job_id": "q1_i2_job_id"})
q212_p = agg.EdwQueryPerformance(Q2_NAME, 4.0, {})
s21_p.add_query_performance(q211_p)
s21_p.add_query_performance(q212_p)
i2_p.add_stream_performance(s21_p)
b_p.add_iteration_performance(i2_p)
actual_sample = b_p.get_aggregated_geomean_performance_sample(
{"benchmark_name": "b_name"})
self.assertEqual(actual_sample.metric, "edw_aggregated_geomean")
self.assertEqual(actual_sample.value,
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 21
Instances
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 047cf1ae2c6b775c20b4ca518d996feb3dcfbec9
Time: 2020-09-09
Author: jerlawson@google.com
File Name: tests/edw_benchmark_results_aggregator_test.py
Class Name: EdwBenchmarkPerformanceTest
Method Name: test_get_aggregated_geomean_performance_sample_passing
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 047cf1ae2c6b775c20b4ca518d996feb3dcfbec9
Time: 2020-09-09
Author: jerlawson@google.com
File Name: tests/edw_benchmark_results_aggregator_test.py
Class Name: EdwBenchmarkPerformanceTest
Method Name: test_get_aggregated_geomean_performance_sample_passing
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 047cf1ae2c6b775c20b4ca518d996feb3dcfbec9
Time: 2020-09-09
Author: jerlawson@google.com
File Name: tests/edw_benchmark_results_aggregator_test.py
Class Name: EdwBenchmarkPerformanceTest
Method Name: test_get_aggregated_wall_time_performance_sample_passing
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 047cf1ae2c6b775c20b4ca518d996feb3dcfbec9
Time: 2020-09-09
Author: jerlawson@google.com
File Name: tests/edw_benchmark_results_aggregator_test.py
Class Name: EdwBenchmarkPerformanceTest
Method Name: test_get_queries_geomean_performance_samples_passing
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 047cf1ae2c6b775c20b4ca518d996feb3dcfbec9
Time: 2020-09-09
Author: jerlawson@google.com
File Name: tests/edw_benchmark_results_aggregator_test.py
Class Name: EdwBenchmarkPerformanceTest
Method Name: test_get_all_query_performance_samples_passing
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 047cf1ae2c6b775c20b4ca518d996feb3dcfbec9
Time: 2020-09-09
Author: jerlawson@google.com
File Name: tests/edw_benchmark_results_aggregator_test.py
Class Name: EdwBenchmarkPerformanceTest
Method Name: test_aggregated_query_metadata_passing
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 047cf1ae2c6b775c20b4ca518d996feb3dcfbec9
Time: 2020-09-09
Author: jerlawson@google.com
File Name: tests/edw_benchmark_results_aggregator_test.py
Class Name: EdwBenchmarkPerformanceTest
Method Name: test_get_aggregated_query_performance_sample_passing