Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for IO::Event::Profiler. #375

Closed
wants to merge 2 commits into from
Closed

Conversation

ioquatix
Copy link
Member

@ioquatix ioquatix commented Feb 10, 2025

It turns out we need to profile more than just scheduling operations to get a full picture of stalls in the event loop. This wraps Async::Scheduler#run in IO::Event::Profiler which tracks any fiber switch in order to log stalls.

Use IO_EVENT_PROFILER=true to enable the default profiler. See https://socketry.github.io/io-event/releases/index#improved-io::event::profiler-for-detecting-stalls. for more details.

Types of Changes

  • New feature.

Contribution

@ioquatix ioquatix closed this Feb 13, 2025
@ioquatix
Copy link
Member Author

Functionality is moved to fiber-profiler gem.

@ioquatix ioquatix deleted the io-event-profiler branch February 13, 2025 07:16
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