Skip to content

feat: add interval event loop utilization mode - #298

Merged
mcollina merged 1 commit into
mainfrom
feat/event-loop-utilization-interval
Aug 10, 2026
Merged

mcollina merged 1 commit into
mainfrom
feat/event-loop-utilization-interval

Conversation

@mcollina

Copy link
Copy Markdown
Member

Summary

  • add an opt-in eventLoopUtilizationMode: 'interval' setting that advances the ELU baseline after every sample
  • preserve cumulative-since-registration utilization as the default for backward compatibility
  • document and type the option, with a deterministic regression test covering threshold and response behavior

Testing

  • npm test
  • npm run lint
  • git diff --check

Closes #294

Signed-off-by: Matteo Collina <hello@matteocollina.com>

@Tony133 Tony133 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina
mcollina merged commit 0fc41d0 into main Aug 10, 2026
17 checks passed
@mcollina
mcollina deleted the feat/event-loop-utilization-interval branch August 10, 2026 10:53
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.

maxEventLoopUtilization measures cumulative-since-registration ELU, not per-interval (#65)

2 participants