Skip to content

High CPU usage during "ng test" idle #1406

@bobrosoft

Description

@bobrosoft

Please provide us with the following information:

  1. OS?
    MacBook Air on Mac OSX El Capitan 10.11.1
    Also tested on MacBook Pro with Mac OSX El Capitan 10.11.4
  2. Versions.
    angular-cli: 1.0.0-beta.10 (also tested on 1.0.0-beta.6)
    node: 4.3.1
    os: darwin x64
  3. Repro steps.
    ng new testproj
    cd testproj
    ng test
  4. The log given by the failure.
    All compiles normally, no issues, tests passes.
    But after that angular-cli process starts to consume from 80% to 200% of CPU (depends on project complexity, on empty project it's 80%)
  5. Mention any other details that might be useful.
    High CPU usage slows down all things, compilation and dev process.
    In the same time if you run ng serve, it not consume CPU while idle.
    Tried with watchman installed as well -- same issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions