dotnet / dotnet/xcsync

High CPU Utilization When watch Command Is Idle

Open
#245 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
25
Forks
10
Avg merge
12h 50m
Merged PRs (30d)
10

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Apple platform

macOS

### Framework version

Other

### Describe the bug

When the watch command is in an idle state (waiting for the next execution interval), it consumes an unexpectedly high amount of CPU resources. This occurs even when no active processing should be taking place.

### Expected Behavior

CPU usage should remain minimal—ideally close to 0%—while the command is idle and waiting between executions.

### Steps To Reproduce

Run watch command and see the CPU use.

### Exceptions (if any)

_No response_

### .NET Version info

_No response_

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.