Create Jetpack

Create Jetpack

11M Downloads

Optimization Issue (?)

Eslorex opened this issue ยท 0 comments

commented

What happened?

1

I use like 337 mods on my client and the server. Running Minecraft and the server at the same PC. I didnt even made or use the Jetpack yet I made a profiling analyze with Spark and seems like it takes too much time to execute these functions from Create Jetpack. I'm not sure if this suppose to be like this for some reason. Since I'm not a mod developer. Just wanted to tell you about it.

Mc version is 1.20.1

Loader

fabric

Mod Version

create_jetpack-fabric-4.2.0

Minecraft Version

1.20

Relevant log output

Label: Percentage
The value displayed against each frame is the time divided by the total time as a percentage.

 Merge Mode: Merge
Method calls with the same signature will be merged together, even though they may not have been invoked by the same calling method.

fabric-lifecycle-events-v1 (v2.2.22+1802ada577)
Server thread39.65%
net.minecraft.server.MinecraftServer.handler$bki000$fabric-lifecycle-events-v1$onStartTick()30.05%
net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents$$Lambda/0x0000024ea49acfa8.onStartTick()30.05%
net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents.lambda$static$0()30.05%
com.possible_triangle.flightlib.fabric.FabricEntrypoint$$Lambda/0x0000024ea52498d8.onStartTick()23.78%
com.possible_triangle.flightlib.fabric.FabricEntrypoint.lambda$onInitialize$0()23.78%
java.util.ArrayList.forEach()35.66%
com.possible_triangle.flightlib.fabric.FabricEntrypoint$$Lambda/0x0000024ea5c8d3b8.accept()35.64%
com.possible_triangle.flightlib.logic.JetpackLogic.onTick()47.34%
com.possible_triangle.flightlib.init.FlightApiImpl.findActiveJetpack()46.83%
com.possible_triangle.flightlib.init.FlightApiImpl.findJetpack()48.07%
com.possible_triangle.flightlib.init.FlightApiImpl.getAll()51.96%
kotlin.sequences.SequencesKt___SequencesKt.firstOrNull()7.14%
com.possible_triangle.flightlib.logic.JetpackLogic.handleSwimModifier()0.48%
dev.architectury.event.fabric.EventHandlerImpl$$Lambda/0x0000024ea4b9fa80.onStartTick()3.40%
me.lucko.spark.fabric.FabricTickHook$Server.onStartTick()0.17%
net.minecraft.server.world.ServerWorld.handler$bkl000$fabric-lifecycle-events-v1$startWorldTick()9.60%7840ms (