Chromium Code Reviews| Index: tools/testing/perf_testing/smoketest/Smoketest.dart |
| =================================================================== |
| --- tools/testing/perf_testing/smoketest/Smoketest.dart (revision 0) |
| +++ tools/testing/perf_testing/smoketest/Smoketest.dart (revision 0) |
| @@ -0,0 +1,24 @@ |
| +// Copyright (c) 2011, 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. |
| + |
| +#library('Smoketest_lib'); |
| + |
| +#import("benchmarklib.dart"); |
| + |
| +#import("dart:html"); |
| + |
| +class Smoketest extends BenchmarkBase { |
|
Siggi Cherem (dart-lang)
2011/12/15 19:37:33
+ comment, e.g. this is a sample benchmark current
Emily Fortuna
2011/12/15 23:16:10
Done.
|
| + |
| + const Smoketest() : super("Smoketest"); |
| + |
| + void run() {} |
| + |
| + static void main() { |
| + new Smoketest().report(); |
| + } |
| + |
| + static void log(String str) { |
| + window.console.log(str); |
| + } |
| +} |