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

Unified Diff: ct/go/util/constants.go

Issue 1392173005: [CT] Update worker scripts to use new benchmarks and delete old benchmarks (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Remove staging code Created 5 years, 2 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
Index: ct/go/util/constants.go
diff --git a/ct/go/util/constants.go b/ct/go/util/constants.go
index ed23de8d6ad6e47a3ba18bbc92d523466fe3f855..c17e9548c9fc6f4b44c1832f87e17bf313492850 100644
--- a/ct/go/util/constants.go
+++ b/ct/go/util/constants.go
@@ -48,7 +48,7 @@ const (
// Names of binaries executed by CT.
BINARY_CHROME = "chrome"
BINARY_RECORD_WPR = "record_wpr"
- BINARY_RUN_BENCHMARK = "ct_run_benchmark"
+ BINARY_RUN_BENCHMARK = "run_benchmark"
BINARY_GCLIENT = "gclient"
BINARY_MAKE = "make"
BINARY_LUA_PICTURES = "lua_pictures"
@@ -122,6 +122,7 @@ const (
// Capture Archives
// Setting a 5 day timeout since it may take a while to capture 1M archives.
+ CAPTURE_ARCHIVES_DEFAULT_CT_BENCHMARK = "rasterize_and_record_micro_ct"
CAPTURE_ARCHIVES_TIMEOUT = 5 * 24 * time.Hour
MASTER_SCRIPT_CAPTURE_ARCHIVES_TIMEOUT = CAPTURE_ARCHIVES_TIMEOUT +
MASTER_SCRIPT_TIMEOUT_PADDING
@@ -229,11 +230,9 @@ var (
// Information about the different CT benchmarks.
BenchmarksToPagesetName = map[string]string{
- BENCHMARK_DRAW_PROPERTIES: "DrawPropertiesCTPages",
- BENCHMARK_SKPICTURE_PRINTER: "SkpicturePrinter",
- BENCHMARK_RR: "RasterizeAndRecordMicroCTPages",
- BENCHMARK_REPAINT: "RepaintCTPages",
- BENCHMARK_SMOOTHNESS: "SmoothnessCTPages",
+ BENCHMARK_SKPICTURE_PRINTER: "skpicture_printer_ct",
+ BENCHMARK_RR: "rasterize_and_record_micro_ct",
+ BENCHMARK_REPAINT: "repaint_ct",
}
// Information about the different CT pageset types.
@@ -298,6 +297,12 @@ var (
}
)
+type PagesetVars struct {
+ UrlsList string `json:"urls_list"`
+ UserAgent string `json:"user_agent"`
+ ArchiveDataFile string `json:"archive_data_file"`
+}
+
func NumWorkers() int {
return len(Slaves)
}
« no previous file with comments | « no previous file | ct/go/worker_scripts/capture_archives/main.go » ('j') | ct/go/worker_scripts/capture_archives/main.go » ('J')

Powered by Google App Engine
This is Rietveld 408576698