Hello!
The main feature introduced in this update is:
Background/Continuous Profiling!
- spark will now automagically start a lightweight profiler in the background when it enables.
- In simple terms, this means that at any time, you can run /spark profiler upload and get the last 1 hour of profiling data to look at!
- By default, the background sampling interval is 10ms which should be low enough to be unnoticeable on most hardware!
- It's configurable - you can turn the feature off or configure the interval in spark's config file.
More detailed info can be found on GitHub:
https://github.com/lucko/spark/pull/265
The feature has been in beta for a little while, and I think most of the issues have now been ironed out, but please let me know if you run into any problems!
Plus some bonus fixes/changes:
- Tidy up command feedback messages
- Remove recusion in protobuf data to avoid StackOverflowException
- Limit profile length to 1 hour
- Suppress profiler logs when running in background
- Remove recursive calls in class source visitor
- Fix some NullPointerExceptions
- Include player/entity/chunk counts in window statistics
- Upgrade to async-profiler 2.9
- Add a temporary workaround for async-profiler JVM crash issues