Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Reduce CPU usage#8

Merged
elgopher merged 1 commit intomasterfrom
improve-throughput
May 12, 2022
Merged

Reduce CPU usage#8
elgopher merged 1 commit intomasterfrom
improve-throughput

Conversation

@elgopher
Copy link
Owner

Processor.Run actively polls for temporary batch channel every 10 millisecond and this could eat too much CPU resources. Instead, Run method could wait until temporary batch channel is closed.

Processor.Run actively polls for temporary batch channel every 10 millisecond and this could eat too much CPU resources. Instead, Run method could wait until temporary batch channel is closed.
@elgopher elgopher force-pushed the improve-throughput branch from ae3075c to 1bae33f Compare May 12, 2022 18:27
@elgopher elgopher merged commit 0dfaa34 into master May 12, 2022
@elgopher elgopher deleted the improve-throughput branch May 12, 2022 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant