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

Commit 1afd282

Browse files
committed
perf(benchmark): add ngModel largetable case
1 parent 9f7c5ce commit 1afd282

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

benchmarks/largetable-bp/main.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<div>interpolation + fnInvocation: <input type="radio" ng-model="benchmarkType" value="interpolationFn"></div>
2020
<div>ngBind + filter: <input type="radio" ng-model="benchmarkType" value="ngBindFilter"></div>
2121
<div>interpolation + filter: <input type="radio" ng-model="benchmarkType" value="interpolationFilter"></div>
22+
<div>ngModel: <input type="radio" ng-model="benchmarkType" value="ngModel"></div>
2223

2324
<ng-switch on="benchmarkType">
2425
<baseline-binding-table ng-switch-when="baselineBinding">
@@ -77,6 +78,13 @@ <h2>interpolation with filter</h2>
7778
<span ng-repeat="column in row">{{column.i | noop}}:{{column.j | noop}}|</span>
7879
</div>
7980
</div>
81+
<div ng-switch-when="ngModel">
82+
<h2>ngModels</h2>
83+
<div ng-repeat="row in data">
84+
<input type="text" ng-model="row.i" name="constName" />
85+
<input type="text" ng-model="row.j" />
86+
</div>
87+
</div>
8088
</ng-switch>
8189
</div>
8290
</div>

0 commit comments

Comments
 (0)