Back to mods
spark project artwork

CurseForge · Hytale mod

spark

spark is a performance profiler mod for Hytale.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which spark release should I use?

Updated 2 months ago
Latest stable file 1.10.172-beta7 (Hytale Release 5)
Game version 0.5
Mod system Built-in Hytale mod system

spark 1.10.172-beta7 (Hytale Release 5) targets 0.5. Do not install it as a separate client mod. Enable it on the world host—the local server in singleplayer or the dedicated server in multiplayer. No required dependencies listed for this file.

Where it goes

Where should spark be installed in Hytale?

Do not install it as a separate client mod. Enable it on the world host—the local server in singleplayer or the dedicated server in multiplayer.

Separate client mod Not supported
World host / dedicated server Required
Mod system for this release Built-in Hytale mod system
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

Put Hytale mods on the world host or dedicated server. Singleplayer runs a local server too; Hytale does not use separate client mods.

What else does spark 1.10.172-beta7 (Hytale Release 5) need?

1.10.172-beta7 (Hytale Release 5). Change the file and its required mods may change too.

No required dependencies listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional project dependencies. Check the creator notes before changing an existing world.

Before you install it

Add spark without breaking your instance.

Built for spark 1.10.172-beta7 (Hytale Release 5). Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.10.172-beta7 (Hytale Release 5). It targets 0.5; another release may target a different game build or dependency set.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Enable it on the world host

    Do not install it as a separate client mod. Enable it on the world host—the local server in singleplayer or the dedicated server in multiplayer.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.10.172-beta7 (Hytale Release 5). It opens that exact file at the source.

About this project

What does spark add?

spark

spark is a performance profiler for Hytale.

Useful Links

  • Website - browse the project homepage
  • Documentation - read documentation and usage guides
  • Downloads - latest plugin/mod downloads

BisectHosting

spark is proudly sponsored by BisectHosting.​

BisectHosting are Hytale 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. If you are a new customer, you can get 25% off your first month by using code "luck"! Click the link above to create your server today.


What does it do?

spark is made up of a number of components, each detailed separately below.

⚡ CPU Profiler

spark's profiler can be used to diagnose performance issues: "lag", low tick rate, high CPU usage, etc.

It is:

  • Lightweight - can be ran in production with minimal impact.
  • Easy to use - no configuration or setup necessary, just install the plugin/mod.
  • Quick to produce results - running for just ~30 seconds is enough to produce useful insights into problematic areas for performance.
  • Customisable - can be tuned to target specific threads, sample at a specific interval, record only "laggy" periods, etc
  • Highly readable - simple tree structure lends itself to easy analysis and interpretation.

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.

⚡ Memory Inspection

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

  • A simple view of the JVM's heap, see memory usage and instance counts for each class
  • Not intended to be a full replacement of proper memory analysis tools. (see below)

Heap Dump - take a full (HPROF) snapshot of the servers memory

  • Dumps (& optionally compresses) a full snapshot of JVM's heap.
  • This snapshot can then be inspected using conventional analysis tools.

GC Monitoring - monitor garbage collection activity on the server

  • Allows the user to relate GC activity to game server hangs, and easily see how long they are taking & how much memory is being free'd.
  • Observe frequency/duration of young/old generation garbage collections to inform which GC tuning flags to use

⚡ Server Health Reporting

spark can report a number of metrics summarising the servers overall health.

These metrics include:

  • TPS - ticks per second, to a more accurate degree indicated by the /tps command
  • Tick Durations - how long each tick is taking (min, max and average)
  • CPU Usage - how much of the CPU is being used by the server process, and by the overall system
  • Memory Usage - how much memory is being used by the process
  • Disk Usage - how much disk space is free/being used by the system

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.

Usage

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.

Guides

There are a few small "guides" available in the docs, covering the following topics.

  • The tick loop
  • Finding the cause of lag spikes

Project description from CurseForge.

Pick your setup

spark releases for each Hytale build.

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

spark releases and Hytale builds

10 of 10 releases match

Looking for an older file? The official CurseForge project page is in Resources.