Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 26ca379

Browse files
committed
perf(benchmark): add ngModel largetable case
1 parent 20cd4aa commit 26ca379

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

benchmarks/largetable-bp/main.html

+8
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<div>interpolation + fnInvocation: <input type="radio" ng-model="benchmarkType" value="interpolationFn"></div>
1919
<div>ngBind + filter: <input type="radio" ng-model="benchmarkType" value="ngBindFilter"></div>
2020
<div>interpolation + filter: <input type="radio" ng-model="benchmarkType" value="interpolationFilter"></div>
21+
<div>ngModel: <input type="radio" ng-model="benchmarkType" value="ngModel"></div>
2122

2223
<ng-switch on="benchmarkType">
2324
<baseline-binding-table ng-switch-when="baselineBinding">
@@ -70,6 +71,13 @@ <h2>interpolation with filter</h2>
7071
<span ng-repeat="column in row">{{column.i | noop}}:{{column.j | noop}}|</span>
7172
</div>
7273
</div>
74+
<div ng-switch-when="ngModel">
75+
<h2>ngModels</h2>
76+
<div ng-repeat="row in data">
77+
<input type="text" ng-model="row.i" />
78+
<input type="text" ng-model="row.j" />
79+
</div>
80+
</div>
7381
</ng-switch>
7482
</div>
7583
</div>

0 commit comments

Comments
 (0)