
(The version here on CurseForge is for Fabric/Forge/NeoForge only!)

spark is proudly sponsored by BisectHosting.
BisectHosting are Minecraft server hosting experts, ready to help you create and host your very own server! They are a trusted and well-established hosting provider in the community, and provide an outstanding level of service that we are happy to recommend. There is a special 25% off discount available for spark users - click the link above to create your server today.
spark is made up of a number of components, each detailed separately below.
spark's profiler can be used to diagnose performance issues: "lag", low tick rate, high CPU usage, etc.
It is:
It works by sampling statistical data about the servers activity, and constructing a call graph based on this data. The call graph is then displayed in an online viewer for further analysis by the user.
spark includes a number of tools which are useful for diagnosing memory issues with a server.
Heap Summary - take & analyse a basic snapshot of the servers memory
Heap Dump - take a full (HPROF) snapshot of the servers memory
GC Monitoring - monitor garbage collection activity on the server
spark can report a number of metrics summarising the servers overall health.
These metrics include:
As well as providing tick rate averages, spark can also monitor individual ticks - sending a report whenever a single tick's duration exceeds a certain threshold. This can be used to identify trends and the nature of performance issues, relative to other system or game events.
To install, just add the .jar file to your mods directory.
Information about how to use commands can be found in the docs.
If you’d like help analysing a profiling report, or just want to chat, feel free to join us on Discord.
There are a few small "guides" available in the docs, covering the following topics.