Skip to content

Conversation

tmcgilchrist
Copy link
Collaborator

@tmcgilchrist tmcgilchrist commented Aug 4, 2025

Rebased version of #9

When running Olly against programs that generate many runtime_events, Olly doesn't keep up with reading events from the runtime_events buffer. Providing a lower sleep may result in fewer events being lost, and setting a value of 0.0 skips sleeping altogether (resulting in high CPU usage by Olly).

In my testing using 0.0 will keep up with a very busy program with no observable lost events. Lost events could result in incorrect calculation of gc-stats and missing events in trace files.

@tmcgilchrist tmcgilchrist force-pushed the poll_sleep_2 branch 2 times, most recently from 2e4a688 to fbf6f95 Compare August 4, 2025 06:30
@tmcgilchrist tmcgilchrist requested a review from kayceesrk August 8, 2025 05:41
@tmcgilchrist tmcgilchrist merged commit 0b23692 into tarides:main Aug 14, 2025
7 checks passed
@tmcgilchrist tmcgilchrist deleted the poll_sleep_2 branch August 14, 2025 00:50
tmcgilchrist added a commit to tmcgilchrist/opam-repository that referenced this pull request Sep 5, 2025
tmcgilchrist added a commit to tmcgilchrist/opam-repository that referenced this pull request Sep 7, 2025
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