Areas (Forge)

Areas (Forge)

890k Downloads

Server Tick Performance issues with Random Village Names (Forge)

MaxWasUnavailable opened this issue ยท 3 comments

commented

Information

Minecraft version: 1.18.2
Modloader: Forge
Forge version: 40.1.20
Environment: Singleplayer & Multiplayer

Mod name: Random Village Names (Forge)
Mod version: randomvillagenames_1.18.2-1.6.jar

Description

Profiling the game with Spark shows RandomVillageNames' find structure / place sign methods take up ~30% of the server's tick processing time.

commented

Same problem here, so much tick perfomance affecting

commented

I think this might be what I'm experiencing as well. I'm having extreme lag in a singleplayer world despite >100fps and a fairly powerful computer. Profiling with spark got the below, it appears com.natamus.collective.functions.BlockPosFunctions.getNearbyStructure() is shnorfing huge amounts of server time. Ditching Random Village Names led to an astronomical improvement in performance.

image

commented

Thanks for opening the issue and giving the mod a try! This has been fixed in version 2.0 of Random Village Names. It took a complete rewrite to fix the issue, but it should be a lot more efficient. I appreciate the patience and the detailed information. Apologies for the inconvenience.

https://www.curseforge.com/minecraft/mc-mods/random-village-names/files