Documentation
¶
Overview ¶
Package gpucuj tests GPU CUJ tests on lacros Chrome and Chrome OS Chrome.
Package gpucuj tests GPU CUJ tests on lacros Chrome and Chrome OS Chrome.
Package gpucuj tests GPU CUJ tests on lacros Chrome and Chrome OS Chrome.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunGpuCUJ ¶
func RunGpuCUJ(ctx context.Context, cr *chrome.Chrome, params TestParams, serverURL, traceDir string) ( retPV *perf.Values, retCleanup lacrosperf.CleanupCallback, retErr error)
RunGpuCUJ runs a GpuCUJ test according to the given parameters.
Types ¶
type TestParams ¶
TestParams holds parameters describing how to run a GpuCUJ test.
type TestType ¶
type TestType string
TestType describes the type of GpuCUJ test to run.
const ( // TestTypeMaximized is a simple test of performance with a maximized window opening various web content. // This is useful for tracking the performance w.r.t hardware overlay forwarding of video or WebGL content. TestTypeMaximized TestType = "maximized" // TestTypeThreeDot is a test of performance while showing the three-dot context menu. This is intended to track the // performance impact of potential double composition of the context menu and hardware overlay usage. TestTypeThreeDot TestType = "threedot" // TestTypeResize is a test of performance during a drag-resize operation. TestTypeResize TestType = "resize" // TestTypeMoveOcclusion is a test of performance of gradual occlusion via drag-move of web content. This is useful for tracking impact // of hardware overlay forwarding and clipping (due to occlusion) of tiles optimisations. TestTypeMoveOcclusion TestType = "moveocclusion" // TestTypeMoveOcclusionWithCrosWindow is a test similar to TestTypeMoveOcclusion but always occludes using a ChromeOS chrome window. TestTypeMoveOcclusionWithCrosWindow TestType = "moveocclusion_withcroswindow" )
Click to show internal directories.
Click to hide internal directories.