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) |
} |