Skip to content

async runtime consumes too much CPU while idle #2

@wonrax

Description

@wonrax
// TODO since we're not using crossbeam channel's recv(), we don't get
// the benefit of yielding the thread when the channel is empty.
// Performance opportunities:
// - implement or use crossbeam's Backoff to yield the thread or spin
//   when the channel is empty
// - park the thread and use signal mechanism to wake up the thread when
//   there's a new task

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions