Skip to content

Conversation

@MS-crew
Copy link

@MS-crew MS-crew commented Jan 27, 2026

Description

Describe the changes
Implements a Non Overhead Event Profiler to detect plugins causing server lag (CPU spikes) or high memory pressure (RAM allocation/Garbage Collection issues).

What is the current behavior? (You can also link to an open issue here)
Server owners have no builtin way to identify which specific plugin or event handler is causing lag or memory leaks.

What is the new behavior? (if this is a feature change)
The Profiler logs warnings when an event handler exceeds the configured execution time or memory allocation thresholds.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:
image
image
image


Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentations

Submission checklist

  • I have checked the project can be compiled
  • I have tested my changes and it worked as expected

Patches (if there are any changes related to Harmony patches)

  • I have checked no IL patching errors in the console

Other

  • Still requires more testing

@MS-crew MS-crew marked this pull request as draft January 28, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant