spark

by xRookieFight

The Spark profiler implementation designed for Altay

version 1.10.158-Altay-SNAPSHOT

28 downloads · 0 stars

Published 23 Sept 2026 from xRookieFight/Spark-Altay at v1.10.158, after moderator review.

Plugin description

Spark-Altay

A port of spark, the performance profiler, to Altay. Commands, permissions and messages match the other spark platforms, and reports open in the regular spark viewer.

Installation

Grab Spark.phar from the latest release and drop it into your plugins folder.

Commands

Everything lives under /spark, run /spark help for the full usage.

CommandWhat it does
/spark profilerStart, stop or cancel the profiler
/spark tpsTPS and CPU usage
/spark pingPlayer ping averages
/spark healthreportServer health report, --upload sends it to the viewer
/spark tickmonitorReports ticks that take longer than usual
/spark gc / /spark gcmonitorGarbage collector statistics and monitoring
/spark heapsummary / /spark heapdumpMemory analysis
/spark activityRecent spark activity

Permissions are spark for everything, or spark.<command> for a single command. Both default to op.

How it differs from Java spark

PHP can't sample the stack of the main thread, so the profiler is built on Altay's timings instead. Timings get switched on while a profile is running, the background profiler keeps them on by default. Set backgroundProfiler to false in plugin_data/spark/config.json if you don't want that.

A few things have no PHP equivalent. The live viewer (/spark profiler open) and allocation profiling are not supported, heap dumps use Altay's memory dumper, and heap summary sizes are estimates.

Building

composer install
composer build

License

GPLv3, same as spark. See LICENSE.

Installing it

Drop the phar into plugins/ and restart the server. If the API version below does not match your server, the plugin will refuse to load, which is the check working as intended.

Installing plugins

Releases

VersionAPIBuilt
1.10.158-Altay-SNAPSHOT5.0.023 Sept 2026 · 224 KB

SHA-256 of 1.10.158-Altay-SNAPSHOTdeb97cd83d24461c04b162203b527ddd539a93f509d21e8717751d2945de9bef

Reviewed by a moderator before publishing. Built from xRookieFight/Spark-Altay at v1.10.158. Nobody reviews plugin code here: read the source before running it on a server you care about.

Comments

Sign in with GitHub to star this plugin or leave a comment.

No comments yet.