Essentials: syncChunkLoad by the looks uses up a fair amount of TPS any chance you could please improve performance in the area?

Created on 30 Dec 2018  路  6Comments  路  Source: EssentialsX/Essentials

Information

Full output of /ess version:

Server log:

https://pastebin.com/EkUvp0cy

EssentialsX config

https://pastebin.com/AEb65UX5

Help request

Problem
TPS drop when using /tp command I beleive

Screenshots

Timings Report: (click to zoom in)
image

image

confirmed

Most helpful comment

Update: I've been tinkering with this, and here are my results; using PaperLib for async teleportation (which includes async chunk loading) works really well, but there is one catch - it only improves performance for already generated chunks. What that means is, if you /tppos to a position where there is an ungenerated chunk, that chunk will still be generated sync. You can't really overcome this limitation, apart from pre-generating the world using a plugin such as WorldBorder.

Nevertheless, using PaperLib will improve things for many people, as most teleportations are to already generated chunks (/tp to player, /back, /warp, /home, etc.). A PR will be coming very soon.

All 6 comments

This can't really be truly fixed, the only things that can be done are either preload the world or implement PaperLib in EssentialsX (and I might try to make a PR for that when I can)

Update: I've been tinkering with this, and here are my results; using PaperLib for async teleportation (which includes async chunk loading) works really well, but there is one catch - it only improves performance for already generated chunks. What that means is, if you /tppos to a position where there is an ungenerated chunk, that chunk will still be generated sync. You can't really overcome this limitation, apart from pre-generating the world using a plugin such as WorldBorder.

Nevertheless, using PaperLib will improve things for many people, as most teleportations are to already generated chunks (/tp to player, /back, /warp, /home, etc.). A PR will be coming very soon.

this is a great idea nice work!

This should now be improved due to integrating PaperLib - grab the latest build from the build server.

Special thanks goes to @DoNotSpamPls for contributing this.

Thanx heaps to you both this is awesome! I've generated/filled my world upto the world border by using worldborder (which i totally forgot was a thing). Didn't take long at all :)

Wow this is soooo much faster. thanks again

Was this page helpful?
0 / 5 - 0 ratings