912ae8230f
Analyzer lints are fixed while here. TBR=whesse@google.com Change-Id: I4e43d9b356608c5cb885f008fb232ea2390b9dd4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/151840 Reviewed-by: William Hesse <whesse@google.com>
26 lines
652 B
Dart
26 lines
652 B
Dart
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
import 'package:benchmark_harness/benchmark_harness.dart';
|
|
|
|
class Example extends BenchmarkBase {
|
|
const Example() : super('Example');
|
|
|
|
// The benchmark code.
|
|
@override
|
|
void run() {}
|
|
|
|
// Not measured setup code executed prior to the benchmark runs.
|
|
@override
|
|
void setup() {}
|
|
|
|
// Not measures teardown code executed after the benchark runs.
|
|
@override
|
|
void teardown() {}
|
|
}
|
|
|
|
void main() {
|
|
const Example().report();
|
|
}
|