| Index: third_party/pkg/di/benchmark/injector_benchmark_common.dart
|
| diff --git a/third_party/pkg/di/benchmark/injector_benchmark_common.dart b/third_party/pkg/di/benchmark/injector_benchmark_common.dart
|
| index ce1cbd905f0b9790437dd37b31b7f4f6c2553d82..88344f5450e9b0ae0ef68c36d6a9907970521a58 100644
|
| --- a/third_party/pkg/di/benchmark/injector_benchmark_common.dart
|
| +++ b/third_party/pkg/di/benchmark/injector_benchmark_common.dart
|
| @@ -26,12 +26,8 @@ class InjectorBenchmark extends BenchmarkBase {
|
| ..type(A)
|
| ..type(B)
|
| ..type(C)
|
| - ..type(C, withAnnotation: AnnOne, implementedBy: COne )
|
| ..type(D)
|
| - ..type(E)
|
| - ..type(E, withAnnotation: AnnTwo, implementedBy: ETwo )
|
| - ..type(F)
|
| - ..type(G);
|
| + ..type(E);
|
| }
|
|
|
| teardown() {
|
| @@ -39,14 +35,6 @@ class InjectorBenchmark extends BenchmarkBase {
|
| }
|
| }
|
|
|
| -class AnnOne {
|
| - const AnnOne();
|
| -}
|
| -
|
| -class AnnTwo {
|
| - const AnnTwo();
|
| -}
|
| -
|
| class A {
|
| A(B b, C c) {
|
| count++;
|
| @@ -65,12 +53,6 @@ class C {
|
| }
|
| }
|
|
|
| -class COne {
|
| - COne() {
|
| - count++;
|
| - }
|
| -}
|
| -
|
| class D {
|
| D() {
|
| count++;
|
| @@ -82,21 +64,3 @@ class E {
|
| count++;
|
| }
|
| }
|
| -
|
| -class ETwo {
|
| - ETwo() {
|
| - count++;
|
| - }
|
| -}
|
| -
|
| -class F {
|
| - F(@AnnOne() C c, D d) {
|
| - count++;
|
| - }
|
| -}
|
| -
|
| -class G {
|
| - G(@AnnTwo() E) {
|
| - count++;
|
| - }
|
| -}
|
|
|