Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: perf/server/src/config/config.go

Issue 382313002: Adds tile handler to the perf server (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | perf/server/src/filetilestore/filestore.go » ('j') | perf/server/src/server/perf.go » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: perf/server/src/config/config.go
diff --git a/perf/server/src/config/config.go b/perf/server/src/config/config.go
index ac05c5ab98be6df51b0a2156f858a1fc341469e7..1e1f138a49e060cc0a6c76c2efd50734edc7d703 100644
--- a/perf/server/src/config/config.go
+++ b/perf/server/src/config/config.go
@@ -65,4 +65,35 @@ var (
// TODO(jcgregorio) Make into a flag.
BEGINNING_OF_TIME = QuerySince(time.Date(2014, time.June, 18, 0, 0, 0, 0, time.UTC))
+ HUMAN_READABLE_PARAM_NAMES = make(map[string]string)
jcgregorio 2014/07/11 19:03:55 HUMAN_READABLE_PARAM_NAMES = map[string]string{
kelvinly 2014/07/11 19:42:29 Done.
+ KEY_PARAM_ORDER = make(map[string][]string)
)
+
+func init() {
+ HUMAN_READABLE_PARAM_NAMES["builderName"] = "Builder name"
+ HUMAN_READABLE_PARAM_NAMES["rotate"] = "Rotate"
+ HUMAN_READABLE_PARAM_NAMES["system"] = "System type"
+ HUMAN_READABLE_PARAM_NAMES["clip"] = "Clip"
+ HUMAN_READABLE_PARAM_NAMES["gpuConfig"] = "GPU Configuration"
+ HUMAN_READABLE_PARAM_NAMES["os"] = "OS"
+ HUMAN_READABLE_PARAM_NAMES["role"] = "Buildbot role"
+ HUMAN_READABLE_PARAM_NAMES["testName"] = "Test name"
+ HUMAN_READABLE_PARAM_NAMES["antialias"] = "Antialiasing"
+ HUMAN_READABLE_PARAM_NAMES["model"] = "Buildbot model"
+ HUMAN_READABLE_PARAM_NAMES["measurementType"] = "Measurement type"
+ HUMAN_READABLE_PARAM_NAMES["arch"] = "CPU Architecture"
+ HUMAN_READABLE_PARAM_NAMES["dither"] = "Dither"
+ HUMAN_READABLE_PARAM_NAMES["mode"] = "Mode configuration"
+ HUMAN_READABLE_PARAM_NAMES["config"] = "Picture configuration" //?
+ HUMAN_READABLE_PARAM_NAMES["configuration"] = "Build configuration"
+ HUMAN_READABLE_PARAM_NAMES["skpSize"] = "Size of SKP"
+ HUMAN_READABLE_PARAM_NAMES["benchName"] = "SKP name"
+ HUMAN_READABLE_PARAM_NAMES["gpu"] = "GPU type"
+ HUMAN_READABLE_PARAM_NAMES["model"] = "GPU model" //?
+ HUMAN_READABLE_PARAM_NAMES["viewport"] = "Viewport size"
+ HUMAN_READABLE_PARAM_NAMES["scale"] = "Scale setting"
+ HUMAN_READABLE_PARAM_NAMES["bbh"] = "BBH setting"
+ // TODO: Order of params for keys
+ KEY_PARAM_ORDER[string(DATASET_SKP)] = []string{"builderName", "benchName", "config", "scale", "measurementType"}
+ KEY_PARAM_ORDER[string(DATASET_MICRO)] = []string{"builderName", "testName", "config", "scale", "measurementType"}
+}
« no previous file with comments | « no previous file | perf/server/src/filetilestore/filestore.go » ('j') | perf/server/src/server/perf.go » ('J')

Powered by Google App Engine
This is Rietveld 408576698