All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Flare (Spark for 1.12.2)

Flare (Spark for 1.12.2)

by Rongmario • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Flare Banner

Derived from spark; flare is a performance profiler and debugger for 1.12.2 Forge & Cleanroom environments.

What does flare do?

flare is made up these separate components:

  • CPU Profiler: Diagnose performance issues.
  • Memory Inspection: Diagnose memory issues.
  • Server Health Reporting: Keep track of overall server health.

✨ CPU Profiler

flare'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 systems 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.

There are two different profiler engines:

  • Native AsyncGetCallTrace + perf_events - uses async-profiler (only available on Linux x86_64 systems)
  • Built-in Java ThreadMXBean - an improved version of the popular WarmRoast profiler by sk89q.

✨ Memory Inspection

flare 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 next item)
  • 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

flare 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 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, flare 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.

For a comparison between flare, WarmRoast, Minecraft timings and other profiles, see this page in the original spark docs.

How do I use flare?

flare uses Minecraft's command system for the end-user to use flare to its full potential.

License

flare is free & open source. It is released under the terms of the GNU GPLv3 license. Please see LICENSE for more information.

The flare API submodule is released under the terms of the more permissive MIT license. Please see flare-api/LICENSE for more information.

flare is a fork of spark, which was also licensed using the GPLv3.

How to Install Flare (Spark for 1.12.2) (Mod)

Flare (Spark for 1.12.2) by Rongmario is verified for Forge across Minecraft versions 1.12.2 (latest release: 0.8.0, file size: 2.6 MB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.12.2) and platform (Forge).
  2. Make sure you have the compatible loader or environment installed for Forge.
  3. Move the downloaded Flare (Spark for 1.12.2) file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.12.2
Forge
7mo ago 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
1.12.2
Forge
last yr. 1
[0.8.0] Flare 0.8.0 by Rongmario on Apr 02, 2026
Download
### Added
  • --only-ticks-over feature in samplers

### Changed
  • Updated AsyncProfiler to 4.2 (Thanks @HaHaWTH)

### Fixed
  • Issues pertaining uploading of reports
  • Deprecation of WindowsWmic, uses registry queries now (Thanks @HaHaWTH)
[0.7.0] Flare 0.7.0 by Rongmario on May 30, 2025
Download
### Added
  • New icon for flare messages

### Fixed
  • Several issues and typos, thanks to @Ecdcaeb
  • Redundant object copies being made when sending messages
  • An unused map allocating memory
[0.6.0] Flare 0.6.0 by Rongmario on May 30, 2025
Download
### Added
  • Shorthand aliases for heap dump and summary commands (/flare heap d, /flare heap s)

### Changed
  • Made commands privileged for dedicated servers
  • Applied prefix to all Flare messages (#10)

### Fixed
  • Crash when syncWithServer was called on the client
  • Having bold styling for messages (#9)
[0.5.1] Flare 0.5.1 by Rongmario on May 19, 2025
Download
### Changed
  • Updated Async Profiler to 4.0
  • Added seconds to file name for heap dumps
  • Moved System::gc call later, just before the heap dump is executed

### Fixed
  • Async Profiler not working after update
  • Cpu/Network modules not initializing earlier
[0.5.0] Flare 0.5.0 by Rongmario on Mar 25, 2025
Download
### Added
  • Tick tracking, now works in samplers
  • Tick monitoring
  • Updated async-profiler to latest nightly (3.0-6761587)
  • Allow entity icons to show up in reports

### Changed
  • Moved GPU metadata to "extras" section
  • Updated keybinds to reflect recent command changes
  • Simplified chat message checking to prepend prefixes

### Fixed
  • Console logging raw or malformed strings
  • Various formatting issues with different translatable strings
  • Dedicated server crashes
  • Live viewer not working (note: experimental, works better than spark but not ideal)
[0.4.0] Flare 0.4.0 by Rongmario on Feb 12, 2025
Download
### Added
  • GPU Information in reports (client-side only)
  • Cleanroom detection

### Fixed
  • Errors when creating sampler reports due to null defaults in ExportProps

### Removed
  • Debug lines
[0.3.0] Flare 0.3.0 by Rongmario on Feb 05, 2025
Download
### Added
  • Default sampler configurations

### Fixed
  • Issues relating to dedicated server environments
  • Typos on average/summary timings messages
  • Configuration for stages profiling not working (Thanks CaliforniaDemise)
  • Typo on location for async profiler libraries
  • Activity logging
[0.2.1] Flare 0.2.1 by Rongmario on Sep 05, 2024
Download
### Fixed
  • Crashes in Cleanroom environment due to path issues
  • Ingame file paths not being correct
[0.2.0] Flare 0.2.0 by Rongmario on Sep 05, 2024
Download
### Added
  • /flarec (client-side) commands
  • Client-sided profiling
[0.1.1] Flare 0.1.1 by Rongmario on Sep 03, 2024
Download
### Fixed
  • Crashes from not using srg names in reflection

### Changed
  • Moved reflections to using mixins, since we depend on MixinBooter already
Flare (Spark for 1.12.2) Icon
Download Flare (Spark for 1.12.2)
Select game version
Select platform