Modscraper Modscraper Minecraft
spark logo

spark

Mod

by Iucko

spark is a performance profiler for Minecraft clients, servers and proxies.

Type

Mod

CurseForge Downloads

209,740,934

CurseForge ID

361579

Modrinth Downloads

21,804,888

Modrinth ID

l6YH9Als

Last Updated

Sep 12, 2026

Description

spark

spark is a performance profiler for Minecraft clients, servers and proxies.

(The version here on CurseForge is for Fabric/Forge/NeoForge only!)

Useful Links

BisectHosting

spark is proudly sponsored by BisectHosting.​


BisectHosting are Minecraft 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. There is a special 25% off discount available for spark users - 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. The viewer can also apply deobfuscation mappings.

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.

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

Included in Modpacks (2,659)

Show fewer
Zombie Invasion - a Modern Zombie Apocalypse Zombie Invasion - a Modern Zombie Apocalypse Create a Colony - Minecolonies and Create Create a Colony - Minecolonies and Create Create Planetary Create Planetary Ars Eclectica: an Ars Nouveau Experience Ars Eclectica: an Ars Nouveau Experience Create 90gQ Create 90gQ Poetica Poetica Whispers From Below [From The Caves] Whispers From Below [From The Caves] Truly Essentials - First Step (Vanilla+) Truly Essentials - First Step (Vanilla+) Flan's Mod Factions Pack Flan's Mod Factions Pack Our Story - Earth 2 (soon) Our Story - Earth 2 (soon) Fantasy RPG - RPG Quests, Bosses & Magic | Fantasy & RPG Fantasy RPG - RPG Quests, Bosses & Magic | Fantasy & RPG Sodium Optimization Sodium Optimization Xopi Jujutsu Kaisen Xopi Jujutsu Kaisen World of Minecraft - Meidde World of Minecraft - Meidde Better Create Aeronautics | Create Aeronautics with Create Addons & Improvements Better Create Aeronautics | Create Aeronautics with Create Addons & Improvements Cozy Time | Cozy Survival with Quests (MC Cozy 1.21.1) Cozy Time | Cozy Survival with Quests (MC Cozy 1.21.1) Arcane Isles Arcane Isles MTW Skyblock Reborn MTW Skyblock Reborn Creepy Horse Reimagined Creepy Horse Reimagined Attack on titan - Dawn Of Humanity Attack on titan - Dawn Of Humanity Tropimon Tropimon transmute to mob transmute to mob An Extraordinary Adventure An Extraordinary Adventure Beyond Minecraft [Forge] Beyond Minecraft [Forge] MTR Operation MTR Operation Create Tycoon Create Tycoon PVP Pack by dihogen PVP Pack by dihogen Haven: Veni de Nova Haven: Veni de Nova Surviving 100 Days With The Wither Storm Again Surviving 100 Days With The Wither Storm Again All of Create Fabric All of Create Fabric More Animals 2 More Animals 2 MahGroogly’s Terror MahGroogly’s Terror Solo Leveling Reawakening Server Solo Leveling Reawakening Server Cobblemon: Beyond the Pixelverse Cobblemon: Beyond the Pixelverse Madpack 5 Madpack 5 Clockwork Clockwork Yes Nicer MC [Forge] YNM Yes Nicer MC [Forge] YNM Mysticlouds - Cuteness and Chaos Mysticlouds - Cuteness and Chaos Official Invincible Incorporated Server Official Invincible Incorporated Server Sci-Fi Multiverse Sci-Fi Multiverse Infinity Legacy Infinity Legacy Secret Mission: Christmas Secret Mission: Christmas CRIF 2 - Create an empire of Rats to fight "Ice&Fire" CRIF 2 - Create an empire of Rats to fight "Ice&Fire" secret's pack secret's pack Celestia SMP - The ModPack Celestia SMP - The ModPack Astral Engineering Astral Engineering NeoForge Foundry: StoneFactory Edition NeoForge Foundry: StoneFactory Edition Steam 'n' Rails Server Modpack Steam 'n' Rails Server Modpack New Age Science and Technology New Age Science and Technology Infinite Randomized One Block Skyblock Infinite Randomized One Block Skyblock Create: Gears of History Create: Gears of History Black Hole Black Hole Enchanted Genesis Enchanted Genesis Smooth Server Smooth Server NeoTech Reborn NeoTech Reborn Chunklock Create Chunklock Create CastCrafter Survival Server CastCrafter Survival Server TransformersCraft: Rebirth TransformersCraft: Rebirth Minecraft Trailer Minecraft Trailer Odyssey 3 Odyssey 3 MC UFC: Monstros MC UFC: Monstros Stargate20 Stargate20 Interdimensional RL Craft Interdimensional RL Craft [CTC]Create: the Creation [CTC]Create: the Creation Project Spacee Project Spacee Framework Framework Doctor Nowhere Adventures - A Doctor Nowhere Creatures Experience Doctor Nowhere Adventures - A Doctor Nowhere Creatures Experience                                                                                                                             Alar Alar Mystical Block Reloaded Mystical Block Reloaded Captive Survival Captive Survival Techno Magic - Trustworthy Techno Magic - Trustworthy DarkRPG REDUX - RPG with Quests, Magic. Origins, Adventure DarkRPG REDUX - RPG with Quests, Magic. Origins, Adventure Plants vs. Zombies+ | With Plants vs Zombies & More! Plants vs. Zombies+ | With Plants vs Zombies & More! Ashes To Ashes Ashes To Ashes Impostor Syndrome Impostor Syndrome Exploring the Universe - An Adventure between Planets (With Ad Astra & Quests) Exploring the Universe - An Adventure between Planets (With Ad Astra & Quests) FTB Builders Paradise 2 FTB Builders Paradise 2 Actions and Smooth Actions and Smooth Dragon Mounts Companion Dragon Mounts Companion Crazy Craft 5.0 (Chaos Edition) Crazy Craft 5.0 (Chaos Edition) Create the Server Create the Server Horror OneBlock Horror OneBlock FWF LuckyBlocks FWF LuckyBlocks Avaritia Project Avaritia Project Just Hide - A Ransomware Horror Experience (Inspired by Twixxel & Thatmob) Scary Stalker Gameplay Recreation Modpack Just Hide - A Ransomware Horror Experience (Inspired by Twixxel & Thatmob) Scary Stalker Gameplay Recreation Modpack Create Overlord Aeronautics Update Create Overlord Aeronautics Update AtlanAbyss AtlanAbyss Create: Civilizations - C:C Create: Civilizations - C:C VR Medieval | Immersion plus | [FABRIC] VR Medieval | Immersion plus | [FABRIC] Stacia Stacia SparkleFlake's Optimization pack SparkleFlake's Optimization pack CivilizationPack CivilizationPack Thormen 1.21.1 - Mekanism -  Spaceships -  ICBMs -  Force Fields -  Nuclear Science  -  Voltz successor - Modpack server running Thormen 1.21.1 - Mekanism - Spaceships - ICBMs - Force Fields - Nuclear Science - Voltz successor - Modpack server running Cobblemon Kanto Map (abandoned) Cobblemon Kanto Map (abandoned) Immersive Cobblemon | With Distant Horizons, CobbleBrain, Cobblemon Addons & Quests (Cobblemon v1.7.3) Immersive Cobblemon | With Distant Horizons, CobbleBrain, Cobblemon Addons & Quests (Cobblemon v1.7.3) Cute Cottage Craft Cute Cottage Craft SeriousFirmaCraft (TFC + Create) SeriousFirmaCraft (TFC + Create) Polymania! Polymania! MC UFC: Mágico MC UFC: Mágico The Medieval Adventure The Medieval Adventure

External Resources