Mojo C++ bindings: better log message for serialization warnings.
[chromium-blink-merge.git] / tools / perf / benchmarks / v8.py
blobe36dbf0eb91b37c899c44c2ac2c4894b37e3f215
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import page_sets
6 from telemetry.web_perf import timeline_based_measurement
7 from telemetry import benchmark
9 class V8GarbageCollectionCases(benchmark.Benchmark):
10 """Measure V8 metrics on the garbage collection cases."""
11 test = timeline_based_measurement.TimelineBasedMeasurement
12 page_set = page_sets.GarbageCollectionCasesPageSet
14 # TODO(ernstm): Remove this argument when benchmark relevant v8 events become
15 # available in the 'benchmark' category.
16 @classmethod
17 def SetArgumentDefaults(cls, parser):
18 parser.set_defaults(overhead_level='v8-overhead')