Index: third_party/pkg/angular/perf/dom/compile_perf.dart |
diff --git a/third_party/pkg/angular/perf/dom/compile_perf.dart b/third_party/pkg/angular/perf/dom/compile_perf.dart |
deleted file mode 100644 |
index 3fcf728319ffba5fc2b15a7d6693e9c9447e8012..0000000000000000000000000000000000000000 |
--- a/third_party/pkg/angular/perf/dom/compile_perf.dart |
+++ /dev/null |
@@ -1,31 +0,0 @@ |
-import '_perf.dart'; |
- |
-main() => describe('compiler', () { |
- describe('block instantiation', () { |
- it('time ', inject((TestBed tb) { |
- tb.compile(UL_REPEATER); |
- var items = []; |
- for(var i = 0; i < 100; i++) { |
- items.add({"text":'text_$i', "done": i & 1 == 1}); |
- } |
- var empty = []; |
- tb.rootScope.context['classFor'] = (item) => 'ng-${item["done"]}'; |
- |
- time('create 100 blocks', |
- () => tb.rootScope.apply(() => tb.rootScope.context['items'] = items), |
- cleanUp: () => tb.rootScope.apply(() => tb.rootScope.context['items'] = empty), |
- verify: () => expect(tb.rootElement.querySelectorAll('li').length).toEqual(100)); |
- })); |
- }); |
-}); |
- |
-var UL_REPEATER = |
-""" |
-<ul class="well unstyled"> |
- <li ng-repeat="item in items" ng-class="classFor(item)"> |
- <label class="checkbox"> |
- <input type="checkbox" ng-model="item.done"> {{item.text}} |
- </label> |
- </li> |
-</ul> |
-"""; |