Index: third_party/pkg/di/benchmark/static_injector_benchmark.dart |
diff --git a/third_party/pkg/di/benchmark/static_injector_benchmark.dart b/third_party/pkg/di/benchmark/static_injector_benchmark.dart |
deleted file mode 100644 |
index 101543802441776adf89e155b605234b161f02cf..0000000000000000000000000000000000000000 |
--- a/third_party/pkg/di/benchmark/static_injector_benchmark.dart |
+++ /dev/null |
@@ -1,17 +0,0 @@ |
-import 'package:benchmark_harness/benchmark_harness.dart'; |
-import 'package:di/static_injector.dart'; |
- |
-import 'injector_benchmark_common.dart'; |
- |
-main() { |
- var typeFactories = new Map(); |
- typeFactories[A] = (f) => new A(f(B), f(C)); |
- typeFactories[B] = (f) => new B(f(D), f(E)); |
- typeFactories[C] = (f) => new C(); |
- typeFactories[D] = (f) => new D(); |
- typeFactories[E] = (f) => new E(); |
- |
- new InjectorBenchmark('StaticInjectorBenchmark', |
- (m) => new StaticInjector(modules: m, typeFactories: typeFactories) |
- ).report(); |
-} |