| 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 #import("dart:html"); | |
| 9 | |
| 10 /** | |
| 11 * This is a sample no-op benchmark to ensure that frog has not dramatically | |
| 12 * broken Firefox. | |
| 13 */ | |
| 14 class Smoketest extends BenchmarkBase { | |
| 15 | |
| 16 const Smoketest() : super("Smoketest"); | |
| 17 | |
| 18 void run() {} | |
| 19 | |
| 20 static void main() { | |
| 21 new Smoketest().report(); | |
| 22 } | |
| 23 | |
| 24 static void log(String str) { | |
| 25 window.console.log(str); | |
| 26 } | |
| 27 } | |
| OLD | NEW |