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

Performance degradation in angular1.3 from angular1.2 #9609

Closed
@barnash

Description

@barnash

When trying to render a simple input element within an ng-repeat over an array:

<div ng-repeat="a in array">
    <input ng-model="a.something">
</div>

Checkout these two js-fiddles:
Angular1.3.0
Angular1.2.26

These js-fiddles run the same example on two angularjs libraries.
The code measures how much time it takes for the digest loop to run when we're changing the array into a new array with 1, 10 and 30 elements.

There is about a 30% degradation when running the code with angular1.3. I ran it on Macbook Pro and Air, on Safari and Chrome.

This issue is related to this Stack Overflow issue

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions