2015-03-19 18:47:10 -04:00
|
|
|
library angular2.test.benchmark.transform;
|
|
|
|
|
2015-05-07 13:36:04 -04:00
|
|
|
import 'package:angular2/src/transform/common/formatter.dart' as formatter;
|
|
|
|
import 'package:dart_style/dart_style.dart';
|
2015-03-19 18:47:10 -04:00
|
|
|
import 'package:guinness/guinness.dart';
|
|
|
|
import 'package:unittest/vm_config.dart';
|
|
|
|
|
|
|
|
import 'bind_generator/simple.dart' as bindGenerator;
|
|
|
|
import 'directive_linker/simple.dart' as directiveLinker;
|
|
|
|
import 'directive_processor/simple.dart' as directiveProcessor;
|
|
|
|
import 'integration/hello_world.dart' as helloWorld;
|
|
|
|
import 'reflection_remover/simple.dart' as reflectionRemover;
|
|
|
|
import 'template_compiler/inline.dart' as inlineTemplateCompiler;
|
|
|
|
import 'template_compiler/url.dart' as urlTemplateCompiler;
|
|
|
|
|
|
|
|
main() {
|
|
|
|
useVMConfiguration();
|
2015-05-07 13:36:04 -04:00
|
|
|
formatter.init(new DartFormatter());
|
2015-03-19 18:47:10 -04:00
|
|
|
describe('Bind Generator Benchmark', bindGenerator.allTests);
|
|
|
|
describe('Directive Linker Benchmark', directiveLinker.allTests);
|
|
|
|
describe('Directive Processor Benchmark', directiveProcessor.allTests);
|
|
|
|
describe('Hello World Transformer Benchmark', helloWorld.allTests);
|
|
|
|
describe('Reflection Remover Benchmark', reflectionRemover.allTests);
|
2015-05-07 13:36:04 -04:00
|
|
|
describe(
|
|
|
|
'Inline Template Compiler Benchmark', inlineTemplateCompiler.allTests);
|
2015-03-19 18:47:10 -04:00
|
|
|
describe('Url Template Compiler Benchmark', urlTemplateCompiler.allTests);
|
|
|
|
}
|