spark is a performance profiler for Minecraft clients, servers and proxies.
by lucko
Find spark on Modrinth.
We use spark to measure performance to ensure quality.
Usage
Check the spark docs for complete documentation.
Profiler
The profiler subcommand is used to control the spark profiler.
Requires the permission spark or spark.profiler.
If the profiler is already running in the background, run:
/spark profiler opento open the profiler viewer page without stopping the profiler./spark profiler stopto stop the profiler and view the results./spark profiler cancelto cancel the profiler stop it without uploading the results.
For basic operation, run:
/spark profiler startto start the profiler in the default operation mode./spark profiler stopto stop the profiler and view the results./spark profiler infoto check the current status of the profiler.
There are some additional flags which can be used to customize the behaviour of the profiler. You can use:
/spark profiler start --timeout <seconds>to start the profiler and automatically stop it after x seconds./spark profiler start --thread *to start the profiler and track all threads./spark profiler start --allocto start the profiler and profile memory allocations (memory pressure) instead of CPU usage.
Config
spark has no config to edit.
License
spark is licensed under GPL-3.0-only. Read the license here.