Package com.enhancedechest.command.admin
Class BenchmarkCommand
java.lang.Object
com.enhancedechest.command.admin.BenchmarkCommand
/ee benchmark — a real, in-server storage performance and memory benchmark.
Developer builds only. The command node is registered only when the jar is a local dev
run (see EnhancedEchestBootstrap), so it never exists in the released plugin.
The benchmark is heavy (real disk I/O, System.gc() settling, an 8s concurrency phase),
so it must never touch the main server thread. This command dispatches it to a dedicated daemon
thread and streams progress back to the sender; a single-run guard rejects overlapping invocations.
-
Method Summary
Modifier and TypeMethodDescriptionstatic intexecute(io.papermc.paper.command.brigadier.CommandSourceStack source)
-
Method Details
-
execute
public static int execute(io.papermc.paper.command.brigadier.CommandSourceStack source)
-