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

Side by Side 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: More style fixes 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be found 2 // Use of this source code is governed by a BSD-style license that can be found
3 // in the LICENSE file. 3 // in the LICENSE file.
4 4
5 package config 5 package config
6 6
7 import "time" 7 import "time"
8 8
9 // QuerySince holds the start time we have data since. 9 // QuerySince holds the start time we have data since.
10 // Don't consider data before this time. May be due to schema changes, etc. 10 // Don't consider data before this time. May be due to schema changes, etc.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 const ( 58 const (
59 DATASET_SKP DatasetName = "skps" 59 DATASET_SKP DatasetName = "skps"
60 DATASET_MICRO DatasetName = "micro" 60 DATASET_MICRO DatasetName = "micro"
61 ) 61 )
62 62
63 var ( 63 var (
64 ALL_DATASET_NAMES = []DatasetName{DATASET_SKP, DATASET_MICRO} 64 ALL_DATASET_NAMES = []DatasetName{DATASET_SKP, DATASET_MICRO}
65 65
66 // TODO(jcgregorio) Make into a flag. 66 // TODO(jcgregorio) Make into a flag.
67 » BEGINNING_OF_TIME = QuerySince(time.Date(2014, time.June, 18, 0, 0, 0, 0 , time.UTC)) 67 » BEGINNING_OF_TIME = QuerySince(time.Date(2014, time.June, 18, 0 , 0, 0, 0, time.UTC))
68 » HUMAN_READABLE_PARAM_NAMES = map[string]string{
jcgregorio 2014/07/11 20:36:48 Sort this list on the first column to make it easi
kelvinly 2014/07/11 20:51:58 Done.
69 » » "builderName": "Builder name",
jcgregorio 2014/07/11 20:36:48 If these are going to be column titles then capita
kelvinly 2014/07/11 20:51:58 It actually looks fairly nice lowercase, but done
70 » » "rotate": "Rotate",
71 » » "system": "System type",
72 » » "clip": "Clip",
73 » » "gpuConfig": "GPU Configuration",
74 » » "os": "OS",
75 » » "role": "Buildbot role",
76 » » "testName": "Test name",
77 » » "antialias": "Antialiasing",
78 » » "model": "Buildbot model",
79 » » "measurementType": "Measurement type",
80 » » "arch": "CPU Architecture",
81 » » "dither": "Dither",
82 » » "mode": "Mode configuration",
83 » » "config": "Picture configuration",
84 » » "configuration": "Build configuration",
85 » » "skpSize": "Size of SKP",
jcgregorio 2014/07/11 20:36:49 SKP Size SKP Name
kelvinly 2014/07/11 20:51:58 Done.
86 » » "benchName": "SKP name",
87 » » "gpu": "GPU type",
88 » » "viewport": "Viewport size",
89 » » "scale": "Scale setting",
90 » » "bbh": "BBH setting",
91 » }
92 » KEY_PARAM_ORDER = map[string][]string{
93 » » string(DATASET_SKP): []string{"builderName", "benchName", "con fig", "scale", "measurementType"},
94 » » string(DATASET_MICRO): []string{"builderName", "testName", "conf ig", "scale", "measurementType"},
95 » }
68 ) 96 )
OLDNEW
« 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