> For the complete documentation index, see [llms.txt](https://lodestone-technologies.gitbook.io/knowledgebase/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lodestone-technologies.gitbook.io/knowledgebase/minecraft-java/analyse-timings-with-spark.md).

# Analyse timings with Spark

Spark is a lightweight and powerful performance profiling plugin that helps server owners identify lag sources, optimise resource usage, and troubleshoot potential problems.

Download either the [Spark Mod](https://www.curseforge.com/minecraft/mc-mods/spark/files) or [Spark Plugin](https://www.spigotmc.org/resources/spark.57242/) depending on which server software you're using. Make sure the version is compatible with your server version.

Head over to the [Game Panel](https://game.lodestone.host) and select "File Manager" on the sidebar menu.

<figure><img src="/files/1sC0b8LkVlII0EDy4Qcv" alt=""><figcaption></figcaption></figure>

Upload Spark to either your `mods` or `plugins` folder depending on which version you're using. You now need to restart your server.&#x20;

After the installation process is complete, enter the "spark profiler" command in your server console.&#x20;

<figure><img src="/files/C3HsneizHxj1kDol61ae" alt=""><figcaption></figcaption></figure>

Wait for 10 minutes and then run the "spark profiler --stop" command.

<figure><img src="/files/EYKYM9BBufxeLkBICB52" alt=""><figcaption></figcaption></figure>

After using the stop command, you will be given a link in the console. After clicking the link, you will be redirected to a page with your tick times report.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lodestone-technologies.gitbook.io/knowledgebase/minecraft-java/analyse-timings-with-spark.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
