Skip to content

CPU usage on idle? #236

@mszczepanczyk

Description

@mszczepanczyk

I added checker to the build process in our app and after a while I started getting complaints about high CPU usage with webpack --watch. Interestingly only windows people raised it. I've tried to investigate the issue on my macOS and realized the checker processes use quite a lot of CPU resources even when idling:

image

image

V8 inspector attached to one of them shows no executions:

image

I suspect the CPU consumption is caused by GC or file watchers. Any idea how to fix/debug this one?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions