def AddBenchmarkCommandLineArgs(cls, parser): ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser) parser.add_option('--png-outdir', type='string', default=None, help='Output directory for the PNG files') parser.add_option('--wait-time', type='float', default=0, help='Wait time before the benchmark is started')
def AddBenchmarkCommandLineArgs(cls, parser): super(LoadingClusterTelemetry, cls).AddBenchmarkCommandLineArgs(parser) ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser) parser.add_option( '--wait-time', action='store', type='int', default=60, help='Number of seconds to wait for after navigation.') parser.add_option( '--traffic-setting', choices=cls._ALL_NET_CONFIGS, default=traffic_setting.REGULAR_4G, help='Traffic condition (string). Default to "%%default". Can be: %s' % ', '.join(cls._ALL_NET_CONFIGS))
def AddBenchmarkCommandLineArgs(cls, parser): parser.add_option('--mode', type='string', default='viewport', help='Invalidation mode. ' 'Supported values: fixed_size, layer, random, viewport.') parser.add_option('--width', type='int', default=None, help='Width of invalidations for fixed_size mode.') parser.add_option('--height', type='int', default=None, help='Height of invalidations for fixed_size mode.') ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser)
def AddBenchmarkCommandLineArgs(cls, parser): ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser) parser.add_option( '--additional-histograms', action='store', help='Comma-separated list of additional UMA histograms to record.' ) parser.add_option('--verbose-cpu-metrics', action='store_true', help='Enables non-UMA CPU metrics.') parser.add_option('--verbose-memory-metrics', action='store_true', help='Enables non-UMA memory metrics.')
def AddBenchmarkCommandLineArgs(cls, parser): super(AnalysisMetricsCT, cls).AddBenchmarkCommandLineArgs(parser) ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser) parser.add_option('--local-trace-path', type='string', default=None, help='The local path to the trace file') parser.add_option( '--cloud-trace-link', type='string', default=None, help='Cloud link from where the local trace file was ' + 'downloaded') parser.add_option('--metric-name', type='string', default=None, help='The metric to parse the trace with')
def AddBenchmarkCommandLineArgs(cls, parser): ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser) parser.add_option('--png-outdir', type='string', default=None, help='Output directory for the PNG files') parser.add_option('--wait-time', type='float', default=0, help='Wait time before the benchmark is started') parser.add_option('--dc-detect', action='store_true', dest='dc_detect', default=False, help='Detects dynamic content by marking' 'pixels that were not consistent across multiple ' 'screenshots with cyan') parser.add_option('--dc-wait-time', type='float', default=1, help='Wait time in between screenshots. Only applicable ' 'if dc_detect flag is true.') parser.add_option('--dc-extra-screenshots', type='int', default=1, help='Number of extra screenshots taken to detect ' 'dynamic content. Only applicable if dc_detect flag is ' 'true.') parser.add_option('--dc-threshold', type='float', default=0.5, help='Maximum tolerable percentage of dynamic content ' 'pixels. Raises an exception if percentage of dynamic ' 'content is beyond this threshold. Only applicable if ' 'dc_detect flag is true.')
def AddBenchmarkCommandLineArgs(cls, parser): super(MemoryClusterTelemetry, cls).AddBenchmarkCommandLineArgs(parser) ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser) parser.add_option( '--wait-time', action='store', type='int', default=60, help=('Number of seconds to wait for after navigation ' 'and before taking memory dump.')) parser.add_option( '--traffic-setting', choices=cls._ALL_NET_CONFIGS, default=traffic_setting.REGULAR_4G, help= 'Traffic condition (string). Default to "%%default". Can be: %s' % ', '.join(cls._ALL_NET_CONFIGS)) parser.add_option( '--disable-heap-profiling', action='store_true', help= ('Disable heap profiling to reduce perf overhead. Notes that this ' 'makes test more realistic but give less accurate memory ' 'metrics'))
def AddBenchmarkCommandLineArgs(cls, parser): (rasterize_and_record_micro._RasterizeAndRecordMicro. AddBenchmarkCommandLineArgs(parser)) ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser)
def AddBenchmarkCommandLineArgs(cls, parser): _GenericTraceBenchmark.AddBenchmarkCommandLineArgs(parser) ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser)
def AddBenchmarkCommandLineArgs(cls, parser): ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser) parser.add_option('-m', '--mskp-outdir', default=None, help='Output directory for the mSKP files')
def AddBenchmarkCommandLineArgs(cls, parser): ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser)
def AddBenchmarkCommandLineArgs(cls, parser): super(LeakDetectionClusterTelemetry, cls).AddBenchmarkCommandLineArgs(parser) ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser)