Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 2 // for details. All rights reserved. Use of this source code is governed by a | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 #library('Smoketest_lib'); | |
| 6 | |
| 7 #import("benchmarklib.dart"); | |
| 8 | |
| 9 #import("dart:html"); | |
| 10 | |
| 11 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.
| |
| 12 | |
| 13 const Smoketest() : super("Smoketest"); | |
| 14 | |
| 15 void run() {} | |
| 16 | |
| 17 static void main() { | |
| 18 new Smoketest().report(); | |
| 19 } | |
| 20 | |
| 21 static void log(String str) { | |
| 22 window.console.log(str); | |
| 23 } | |
| 24 } | |
| OLD | NEW |