Skip to content

Upgrade zone.js => WAS: Heavy CPU usage over time with Zone and requestAnimationFrame #2912

Description

@justindujardin

I have a "game" that manages its own time loop using requestAnimationFrame. I have ported it to angular2, and it works really well except that I experience pretty severely degraded performance over time. When I capture CPU profiles Zone ends up replacing the idle time that was there when the page loaded.

I'm not sure what to make of it, but it's very easy to reproduce--just open the page and take a profile, then wait a minute and take another profile.

Example: http://justindujardin.github.io/angular2-rpg

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions