Skip to content

mstrjk/Skrayline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skrayline

A personal fork of skTrace by Kalpe. skTrace is a Skript aware profiler that surfaces which scripts, triggers, and events are eating tick time. The original work and idea are his.

Support the official plugin: https://sktrace.kal.pe/

This fork exists for our own server's needs and adds some experimental pieces on top of skTrace:

  • Long term storage. Profiler deltas drain into an embedded SQLite database every few seconds so history survives restarts and can be queried by time window, instead of holding everything in memory or writing one large report file. Old rows are rolled up to coarser resolution over time, then purged, so the database stays bounded. The SQLite driver is downloaded on first start rather than bundled, keeping the jar small.
  • Mergeable latency histograms per bucket, so percentiles (p95/p99) stay correct when old data is downsampled.
  • /skr quickstats for a quick now / 5m / 15m glance, and /skr healthreport for a deeper store backed view with a health verdict and the worst triggers over a window.

If you want the maintained, supported version, use the official skTrace. This repository is provided as is.

Building

build.ps1 compiles against the Paper and Skript versions the server runs and writes the jar to target/. It bumps the patch version on each run (use -NoBump to rebuild the same version).

Credit

skTrace and its original source are by Kalpe: https://sktrace.kal.pe/

This is an extension of an already well made plugin, not a successor or a reimplementation.

Kalpe is free to take any of the work in this fork into skTrace. Anything here not already owned by Kalpe is theirs to use, with no permission or attribution needed.

About

Personal fork of skTrace by Kalpe (https://sktrace.kal.pe/). Adds SQLite long-term storage, mergeable latency histograms, and quickstats/healthreport views.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages