Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimization Issue (?) #109

Open
Eslorex opened this issue Mar 28, 2024 · 0 comments
Open

Optimization Issue (?) #109

Eslorex opened this issue Mar 28, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Eslorex
Copy link

Eslorex commented Mar 28, 2024

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 (
@Eslorex Eslorex added the bug Something isn't working label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants