chromium_perf

package
v0.0.0-...-2ad74da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2024 License: BSD-3-Clause Imports: 19 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHandlers

func AddHandlers(externalRouter chi.Router)

func ReloadTemplates

func ReloadTemplates(resourcesDir string)

Types

type ChromiumPerfAddTaskVars

type ChromiumPerfAddTaskVars struct {
	task_common.AddTaskCommonVars

	Benchmark            string   `json:"benchmark"`
	Platform             string   `json:"platform"`
	RunOnGCE             string   `json:"run_on_gce"`
	PageSets             string   `json:"page_sets"`
	CustomWebpages       string   `json:"custom_webpages"`
	RepeatRuns           string   `json:"repeat_runs"`
	RunInParallel        string   `json:"run_in_parallel"`
	GnArgs               string   `json:"gn_args"`
	BenchmarkArgs        string   `json:"benchmark_args"`
	BrowserArgsNoPatch   string   `json:"browser_args_nopatch"`
	BrowserArgsWithPatch string   `json:"browser_args_withpatch"`
	Description          string   `json:"desc"`
	ChromiumHash         string   `json:"chromium_hash"`
	CCList               []string `json:"cc_list"`
	TaskPriority         string   `json:"task_priority"`
	GroupName            string   `json:"group_name"`
	ValueColumnName      string   `json:"value_column_name"`

	ChromiumPatch          string `json:"chromium_patch"`
	BlinkPatch             string `json:"blink_patch"`
	SkiaPatch              string `json:"skia_patch"`
	CatapultPatch          string `json:"catapult_patch"`
	BenchmarkPatch         string `json:"benchmark_patch"`
	V8Patch                string `json:"v8_patch"`
	ChromiumPatchBaseBuild string `json:"chromium_patch_base_build"`
}

func (*ChromiumPerfAddTaskVars) GetDatastoreKind

func (task *ChromiumPerfAddTaskVars) GetDatastoreKind() ds.Kind

func (*ChromiumPerfAddTaskVars) GetPopulatedDatastoreTask

func (task *ChromiumPerfAddTaskVars) GetPopulatedDatastoreTask(ctx context.Context) (task_common.Task, error)

type ChromiumPerfDatastoreTask

type ChromiumPerfDatastoreTask struct {
	task_common.CommonCols

	Benchmark                    string   `json:"benchmark"`
	Platform                     string   `json:"platform"`
	RunOnGCE                     bool     `json:"run_on_gce"`
	PageSets                     string   `json:"page_sets"`
	IsTestPageSet                bool     `json:"is_test_page_set"`
	RepeatRuns                   int64    `json:"repeat_runs"`
	RunInParallel                bool     `json:"run_in_parallel"`
	GnArgs                       string   `json:"gn_args"`
	BenchmarkArgs                string   `json:"benchmark_args"`
	BrowserArgsNoPatch           string   `json:"browser_args_no_patch"`
	BrowserArgsWithPatch         string   `json:"browser_args_with_patch"`
	Description                  string   `json:"description"`
	CustomWebpagesGSPath         string   `json:"custom_webpages_gspath"`
	ChromiumPatchGSPath          string   `json:"chromium_patch_gspath"`
	BlinkPatchGSPath             string   `json:"blink_patch_gspath"`
	SkiaPatchGSPath              string   `json:"skia_patch_gspath"`
	CatapultPatchGSPath          string   `json:"catapult_patch_gspath"`
	BenchmarkPatchGSPath         string   `json:"benchmark_patch_gspath"`
	ChromiumPatchBaseBuildGSPath string   `json:"chromium_patch_base_build_gspath"`
	V8PatchGSPath                string   `json:"v8_patch_gspath"`
	Results                      string   `json:"results"`
	NoPatchRawOutput             string   `json:"no_patch_raw_output"`
	WithPatchRawOutput           string   `json:"with_patch_raw_output"`
	ChromiumHash                 string   `json:"chromium_hash"`
	CCList                       []string `json:"cc_list"`
	TaskPriority                 int      `json:"task_priority"`
	GroupName                    string   `json:"group_name"`
	ValueColumnName              string   `json:"value_column_name"`
}

func (ChromiumPerfDatastoreTask) Get

func (ChromiumPerfDatastoreTask) GetDatastoreKind

func (task ChromiumPerfDatastoreTask) GetDatastoreKind() ds.Kind

func (ChromiumPerfDatastoreTask) GetDescription

func (task ChromiumPerfDatastoreTask) GetDescription() string

func (ChromiumPerfDatastoreTask) GetPopulatedAddTaskVars

func (task ChromiumPerfDatastoreTask) GetPopulatedAddTaskVars() (task_common.AddTaskVars, error)
func (task ChromiumPerfDatastoreTask) GetResultsLink() string

func (ChromiumPerfDatastoreTask) GetTaskName

func (task ChromiumPerfDatastoreTask) GetTaskName() string

func (ChromiumPerfDatastoreTask) Query

func (task ChromiumPerfDatastoreTask) Query(it *datastore.Iterator) (interface{}, error)

func (ChromiumPerfDatastoreTask) RunsOnGCEWorkers

func (task ChromiumPerfDatastoreTask) RunsOnGCEWorkers() bool

func (ChromiumPerfDatastoreTask) SendCompletionEmail

func (task ChromiumPerfDatastoreTask) SendCompletionEmail(ctx context.Context, completedSuccessfully bool) error

func (*ChromiumPerfDatastoreTask) SetCompleted

func (task *ChromiumPerfDatastoreTask) SetCompleted(success bool)

func (ChromiumPerfDatastoreTask) TriggerSwarmingTaskAndMail

func (task ChromiumPerfDatastoreTask) TriggerSwarmingTaskAndMail(ctx context.Context, swarmingClient swarmingv2.SwarmingV2Client, casClient cas.CAS) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL