Spark is a native profiler for Minecraft Bedrock Dedicated Server running on Endstone. It helps you find what is using server tick time by sampling execution and allocation call stacks, then showing the results in the spark web viewer.
Spark uses the profile format, protocol, and viewer from lucko/spark. Credit for those belongs to the upstream spark project.
Download the latest release for your platform:
- Windows:
endstone_spark.dll - Linux:
endstone_spark.so
Place the file directly in the server's plugins/ directory, then fully restart
the server to load Spark.
Run these commands in the server console or in game as an operator:
/spark profiler start
/spark profiler info
/spark profiler stop
The profiler runs in the background until you stop it. info shows its current
status. When stop finishes, Spark uploads the profile and prints a link to the
viewer. Open that link to explore the call tree and flame graph.
- Sample native server execution, including work outside plugin code.
- Profile native allocations with
/spark profiler start --alloc. - View rolling server statistics with
/spark tpsand resource reports with/spark health show. - Open a live spark viewer while profiling with
/spark profiler open.
For server owners and operators:
For developers and contributors:
Spark for Endstone is licensed under the GNU General Public License v3.0. See LICENSE.