Skip to content

AngularJS performance test optimization #31

Description

@JonathanZWhite

Hello,

If possible, please update your angular.js performance test cases with track by $index in each of the ng-repeats in order to even the playing field.

initial-load/angular.html

<tr ng-repeat="person in people track by $index">
   <td ng-repeat="column in columns track by $index">
       {{person[column]}}
   </td>
   <td ng-repeat="column in columns track by $index">
       {{person[column]}}
   </td>
</tr>

syncing-changes/angular.html

<tr ng-repeat="person in people track by $index">
    <td ng-repeat="column in columns track by $index">
        {{person[column]}}
    </td>
    <td ng-repeat="column in columns track by $index">
        {{person[column]}}
    </td>
</tr>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions