Help me understand Spark Profiler, I am slow.
I looked at the documentation and at youtube videos but there is one thing I do not understand
How am I supposed to tell what is bad and how to follow that path? Since I am on a world and not a server, the youtube videos examples dont give the best example
Im not asking someone to just fix my issue, I want to genuinely understand how to use spark profiler past running the commands and getting reports.
How do I read reports accurately.
33 Replies


I am also trying to see if these performence mods I have conflict, I been checking the issues web but cant find anything. I worry I might be mixing 2 performence mods that dont work well together
https://www.curseforge.com/minecraft/mc-mods/fastload
https://www.curseforge.com/minecraft/mc-mods/culllessleaves-reforged
https://www.curseforge.com/minecraft/mc-mods/embeddium
https://www.curseforge.com/minecraft/mc-mods/rubidium-extra
https://www.curseforge.com/minecraft/mc-mods/flerovium
https://www.curseforge.com/minecraft/mc-mods/fix-gpu-memory-leak
https://www.curseforge.com/minecraft/mc-mods/structure-essentials-forge-fabric
https://www.curseforge.com/minecraft/mc-mods/dynamiclights-reforged
https://www.curseforge.com/minecraft/mc-mods/magnesium-extras
generally, you want to be looking for paths in the server thread section which have an abnormally high percentage of the tick used
for example this path

the survive mod seems to be using like 37% of each tick on average which is not very good
the paths in the graph represent the call stack, so its the higher up functions calling the lower down functions in the code in each path
its quite hard to understand what that section is really about without knowing java
the mods tab also makes it quite clear its the survive mod (and the library its using) which is eating up a lot of the tick

the rest of the tick is largely spent just ticking entities as usual
.
.
with that said, i wouldnt be so quick to blame the mod when seeing that
because you also seem to have 1.6k entities loaded
thats a lot of entities
though it could also be the mod causing that idk
the spark graph says you have 4k chunks loaded but another section says you have 400 loaded and i dont know which is correct
One I was exploring around and another I was standing still
thats prob why
I wanted to see if it occured at what time\
I learned it still occured even when still
no I meant in the same spark report
Oh
So I should test by removing those 2 mods and see if it still occurs or if it reveals another!
4k includes* lazy loaded number
oh so are they not ticked or something
no
idk what lazy loaded means in this context i don’t use new version servers
i meant youre correct, lazy loaded means they arent ticked
oh
It's a known issue tracked here
https://github.com/Stereowalker/Survive/issues/324
GitHub
Lag / low TPS · Issue #324 · Stereowalker/Survive
After experiencing lag (low TPS, high MSPT) across different machines, I investigated using Spark. It appears like: Survive/src/main/java/com/stereowalker/survive/events/SurviveEvents.java Line 148...
If I had to guess, downgrading to 9.0.6 of Survive will probably fix the performance issues, but always make sure to take backups before up/downgrading mods
Yer ima test this
I also know the dev so I just sent them a dm on discord if they still planned to fix this (I commision him for stuff and he knows im making a pack)
:Nod:
Yes it worked
As you can see here the lag is basically gone, I only had 1 very short spike https://spark.lucko.me/woGD28Yb5e
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
I think its all good now if im reading it right unless im not
yeah, should be fine
its not closing
you may also want to consider eventually getting more ram on your desktop though
I can allocate more
I have more then 10
I just didnt allocate more then 10 bc I thought it would be too much
My pc has 15 ram total
Wait wth
why does the profile say I only allocated 7
Should be set to 10 on curseforge
probably because windows/other apps are greedy
everything these days is a web browser and I’ve seen discord alone hit 2gb of memory usage
I was testing mods and organizing them by tabs thats prob why

ram is getting pretty cheap, you can get a 32gb ddr5 kit for 70gbp
btw the bot isnt able to close this post
as u can see in image
unless im doing the wrong thing to close this xd
you can just manually give the post the solved flare, it should be fine
"You cannot mark the question message as the solution, please select the message that best matches the solution.
If the solution is in the question message, please copy and paste it into a new message and mark that as the solution.
Only you can see this • Dismiss message"
skill issue ig
thanks snow kit