Files
sdk/benchmarks/Example/dart2/Example.dart
T
mnordine dbd65b829f Fix typo
Closes https://github.com/dart-lang/sdk/pull/49591

GitOrigin-RevId: 9af48bbb20623b93b2c68f87ebc7cda3d6b481c7
Change-Id: I565d52b7781fd85ea39c87e51534aaec1e266149
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/253610
Reviewed-by: Michael Thomsen <mit@google.com>
2022-08-04 09:22:39 +00:00

28 lines
666 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.
// @dart=2.9
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 measured teardown code executed after the benchark runs.
@override
void teardown() {}
}
void main() {
const Example().report();
}