1.1.10-241223-0011-50b8d3c
Latest
Add performance monitoring for event listeners and tasks (#124)
This commit introduces a performance monitoring feature to Project Poseidon, aimed at enhancing server administration capabilities by tracking the execution times of synchronous event listeners and server tasks. This update provides tools for real-time performance insights and statistical reporting, facilitating the identification and management of performance issues.
Key Features:
- Real-time monitoring and alerts for performance thresholds.
- Configurable settings to tailor monitoring to specific server needs.
- Detailed performance statistics available at server shutdown.
Files Modified:
- `PoseidonConfig.java`: Added configuration options for monitoring.
- `PerformanceStatistic.java`: New class for handling performance data.
- `PoseidonServer.java`, `MinecraftServer.java`, `CraftServer.java`, `CraftScheduler.java`: Integrated performance monitoring.
- `SimplePluginManager.java`: Updated to monitor event handling performance.