mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 08:41:10 +00:00
cdb7da543b
Review URL: https://codereview.chromium.org//11358203 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14815 260f80e4-7a28-3924-810f-c04153c831b5
28 lines
612 B
Dart
28 lines
612 B
Dart
// 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 'benchmark_lib.dart';
|
|
import 'dart:html';
|
|
|
|
/**
|
|
* This is a sample no-op benchmark to ensure that dart2js has not dramatically
|
|
* broken Firefox.
|
|
*/
|
|
class Smoketest extends BenchmarkBase {
|
|
|
|
const Smoketest() : super("Smoketest");
|
|
|
|
void run() {}
|
|
|
|
static void main() {
|
|
new Smoketest().report();
|
|
}
|
|
|
|
static void log(String str) {
|
|
print(str);
|
|
}
|
|
}
|