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

Side by Side Diff: ct/go/util/constants.go

Issue 1995023002: Backend for new run_chromium_analysis CT task (Closed) Base URL: https://skia.googlesource.com/buildbot@ct-7-run_lua
Patch Set: Remove testing code Created 4 years, 7 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 package util 1 package util
2 2
3 import ( 3 import (
4 "fmt" 4 "fmt"
5 "path/filepath" 5 "path/filepath"
6 "time" 6 "time"
7 ) 7 )
8 8
9 const ( 9 const (
10 NUM_WORKERS_PROD int = 100 10 NUM_WORKERS_PROD int = 100
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 SWARMING_POOL = "CT" 190 SWARMING_POOL = "CT"
191 // Timeouts. 191 // Timeouts.
192 BATCHARCHIVE_TIMEOUT = 10 * time.Minute 192 BATCHARCHIVE_TIMEOUT = 10 * time.Minute
193 XVFB_TIMEOUT = 5 * time.Minute 193 XVFB_TIMEOUT = 5 * time.Minute
194 // Isolate files. 194 // Isolate files.
195 CREATE_PAGESETS_ISOLATE = "create_pagesets.isolate" 195 CREATE_PAGESETS_ISOLATE = "create_pagesets.isolate"
196 CAPTURE_ARCHIVES_ISOLATE = "capture_archives.isolate" 196 CAPTURE_ARCHIVES_ISOLATE = "capture_archives.isolate"
197 CAPTURE_SKPS_ISOLATE = "capture_skps.isolate" 197 CAPTURE_SKPS_ISOLATE = "capture_skps.isolate"
198 CAPTURE_SKPS_FROM_PDFS_ISOLATE = "capture_skps_from_pdfs.isolate" 198 CAPTURE_SKPS_FROM_PDFS_ISOLATE = "capture_skps_from_pdfs.isolate"
199 RUN_LUA_ISOLATE = "run_lua.isolate" 199 RUN_LUA_ISOLATE = "run_lua.isolate"
200 CHROMIUM_ANALYSIS_ISOLATE = "chromium_analysis.isolate"
200 ) 201 )
201 202
202 type PagesetTypeInfo struct { 203 type PagesetTypeInfo struct {
203 NumPages int 204 NumPages int
204 CSVSource string 205 CSVSource string
205 UserAgent string 206 UserAgent string
206 CaptureArchivesTimeoutSecs int 207 CaptureArchivesTimeoutSecs int
207 CreatePagesetsTimeoutSecs int 208 CreatePagesetsTimeoutSecs int
208 CaptureSKPsTimeoutSecs int 209 CaptureSKPsTimeoutSecs int
209 RunChromiumPerfTimeoutSecs int 210 RunChromiumPerfTimeoutSecs int
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 339
339 SupportedPageSetsToDesc = map[string]string{ 340 SupportedPageSetsToDesc = map[string]string{
340 PLATFORM_LINUX: "Linux (100 Ubuntu12.04 machines)", 341 PLATFORM_LINUX: "Linux (100 Ubuntu12.04 machines)",
341 PLATFORM_ANDROID: "Android (100 N5 devices)", 342 PLATFORM_ANDROID: "Android (100 N5 devices)",
342 } 343 }
343 ) 344 )
344 345
345 func NumWorkers() int { 346 func NumWorkers() int {
346 return len(Slaves) 347 return len(Slaves)
347 } 348 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698