This is an automated email from the ASF dual-hosted git repository.

pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 0c42740  Attempting improvements on DirectRunner Python dash
     new dbdf4ad  Merge pull request #14106 from pabloem/try-dash
0c42740 is described below

commit 0c427400de54edf2ae49d2ea7a246230e7b35cee
Author: Pablo Estrada <[email protected]>
AuthorDate: Thu Feb 25 21:59:54 2021 -0800

    Attempting improvements on DirectRunner Python dash
---
 .../Python_FnApiRunner_ubenchmarks.json            | 36 +++++++++++++---------
 1 file changed, 21 insertions(+), 15 deletions(-)

diff --git 
a/.test-infra/metrics/grafana/dashboards/perftests_metrics/Python_FnApiRunner_ubenchmarks.json
 
b/.test-infra/metrics/grafana/dashboards/perftests_metrics/Python_FnApiRunner_ubenchmarks.json
index a931ca2..71a6939 100644
--- 
a/.test-infra/metrics/grafana/dashboards/perftests_metrics/Python_FnApiRunner_ubenchmarks.json
+++ 
b/.test-infra/metrics/grafana/dashboards/perftests_metrics/Python_FnApiRunner_ubenchmarks.json
@@ -54,14 +54,14 @@
       "pointradius": 2,
       "points": true,
       "renderer": "flot",
-      "repeat": "microbenchmarkTest",
+      "repeat": "microbenchmarkMetric",
       "repeatDirection": "h",
       "scopedVars": {
         "microbenchmarkTest": {
-          "$$hashKey": "object:5348",
+          "$$hashKey": "object:5347",
           "selected": false,
-          "text": "fn_api_runner_microbenchmark",
-          "value": "fn_api_runner_microbenchmark"
+          "text": "runtime_sec",
+          "value": "runtime_sec"
         }
       },
       "seriesOverrides": [],
@@ -87,7 +87,7 @@
           ],
           "orderByTime": "ASC",
           "policy": "default",
-          "query": "SELECT mean(\"value\") FROM 
\"python_direct_microbenchmarks\" WHERE metric =~ /^${microbenchmarkTest}_.*$/ 
AND $timeFilter GROUP BY time($__interval),  \"metric\"",
+          "query": "SELECT mean(\"value\") FROM 
\"python_direct_microbenchmarks\" WHERE (\"metric\" = 
'fn_api_runner_microbenchmark_${microbenchmarkMetric}' OR \"metric\" = 
'teststream_microbenchmark_${microbenchmarkMetric}') AND $timeFilter GROUP BY 
time($__interval),  \"metric\"",
           "rawQuery": true,
           "refId": "A",
           "resultFormat": "time_series",
@@ -112,7 +112,7 @@
       "timeFrom": null,
       "timeRegions": [],
       "timeShift": null,
-      "title": "Python SDK Microbenchmarks - FnApiRunner microbenchmark",
+      "title": "Python DirectRunner Microbenchmarks",
       "tooltip": {
         "shared": true,
         "sort": 0,
@@ -180,29 +180,35 @@
         "current": {
           "$$hashKey": "object:5347",
           "selected": false,
-          "text": "fn_api_runner_microbenchmark",
-          "value": "fn_api_runner_microbenchmark"
+          "text": "runtime_sec",
+          "value": "runtime_sec"
         },
         "hide": 0,
         "includeAll": false,
-        "label": "Microbenchmark Test",
+        "label": "Microbenchmark Metric",
         "multi": false,
-        "name": "microbenchmarkTest",
+        "name": "microbenchmarkMetric",
         "options": [
           {
             "$$hashKey": "object:5347",
             "selected": true,
-            "text": "teststream_microbenchmark",
-            "value": "teststream_microbenchmark"
+            "text": "runtime_sec",
+            "value": "runtime_sec"
           },
           {
             "$$hashKey": "object:5348",
             "selected": false,
-            "text": "fn_api_runner_microbenchmark",
-            "value": "fn_api_runner_microbenchmark"
+            "text": "per_element_cost_ms",
+            "value": "per_element_cost_ms"
+          },
+          {
+            "$$hashKey": "object:5349",
+            "selected": true,
+            "text": "fixed_cost_ms",
+            "value": "fixed_cost_ms"
           }
         ],
-        "query": "fn_api_runner_microbenchmark,teststream_microbenchmark",
+        "query": "runtime_sec,per_element_cost_ms,fixed_cost_ms",
         "queryValue": "",
         "skipUrlSync": false,
         "type": "custom"

Reply via email to