Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: third_party/pkg/di/benchmark/dynamic_injector_benchmark.dart

Issue 107003007: Adding Angular's DI package & Dart unittests which test it. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/pkg/di/TODO ('k') | third_party/pkg/di/benchmark/injector_benchmark_common.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pkg/di/benchmark/dynamic_injector_benchmark.dart
diff --git a/third_party/pkg/di/benchmark/dynamic_injector_benchmark.dart b/third_party/pkg/di/benchmark/dynamic_injector_benchmark.dart
new file mode 100644
index 0000000000000000000000000000000000000000..a5fa472f1584fd5f92793094519b732c313a8593
--- /dev/null
+++ b/third_party/pkg/di/benchmark/dynamic_injector_benchmark.dart
@@ -0,0 +1,10 @@
+import 'package:benchmark_harness/benchmark_harness.dart';
+import 'package:di/dynamic_injector.dart';
+
+import 'injector_benchmark_common.dart';
+
+
+main() {
+ new InjectorBenchmark('DynamicInjectorBenchmark',
+ (m) => new DynamicInjector(modules: m)).report();
+}
« no previous file with comments | « third_party/pkg/di/TODO ('k') | third_party/pkg/di/benchmark/injector_benchmark_common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698