Imanity-Software/ImanitySpigot3-git

FAWE schematic paste is too slow & Performance Issues

Opened this issue · 3 comments

Expected behavior

I expected it to be much faster.

Observed/Actual behavior

Too slow, it literally freezes the server for about 5-6 seconds or so with asyncChunk enabled. When I disable asyncChunk and try to paste the schematic, it literally crashes the server. I've tried to disable everything in imanity/addition, tweak every possible option in imanity/config, and test all supported Java versions from 8 to 17. I've also tried almost 5 or 6 dedicated servers, most of them have CPUs that are too powerful & overkill for only hosting 1.8.8 Minecraft servers.

To be honest, it's not just the schematic paste that is slow; almost everything on the server is sluggish, including hits, knockback, movements, and more. Back in the day, ImanitySpigot was too smooth, but right now, it's too horrible for me.

Steps/models to reproduce

Schematic size: 250x250 (It's a relatively small size, and it shouldn't take nano seconds to load).

To be fair and not to misjudge, I conducted a comparison between FlamePaper and ImanitySpigot3:

Plugin list

FastAsyncWorldEdit, WorldEdit, Spark.

ImanitySpigot3 version

spigotJarVersion: 2023.07.1 BUILD 1

Agreements

  • I am running the latest version of ImanitySpigot3 available from
  • I have searched for and ensured there isn't already an open issue regarding this.
  • I have compared the issue between TacoSpigot 1.8.8 and ImanitySpigot3 And only ImanitySpigot3 occurred this issue.

Other

No response

Can you send the schematic here?

Can you send the schematic here?

I can reproduce this in any schematic; it's not specific to the schematic I own. But yes, I can provide the schematic. Here it is: link

the issue was related to raytrace anti xray (checked that in private message with basel)