Moving in mangrove swamps FPS/TPS drop behind normal forests.
Could be worse when it rains.
Performance has improved significantly in the 23w16a, but is still lower than the normal forest.
Two related issues(MC-170134 & MC-279350) have been resolved in the 1.21.5 Pre-release 1, but the issue still exists.
The following are the settings:
1.21.5 Pre-release 2
Y=100
Mangrove swamps
49 ~ 126 fps
TPS 81 ms max
Normal forests
137 ~ 202 fps
TPS 41 ms max
Steps to reproduce:
Create a Single Biome world with Mangrove Swamp.
Use ALT + F3 to view FPS and TPS.
Move, run or fly in the world.
Environment
OS: Windows 11 Pro 24H2
OS Build: 26100.3194
CPU: Intel(R) Core(TM) i9-9900K
GPU: NVIDIA GeForce RTX 3080
GL Version: 3.2.0 NVIDIA 566.14
RAM: 64 GB
Java Version: 23.0.2
Related issues
relates to
Attachments
Comments


I believe that MC-218623 significantly contributes to this issue.
As stated above, a cause of this is likely MC-218623. Due to some vines being supported by leaves, when the leaves despawn, the vines are destroyed as well causing a slight performance drop when multiple instances of this occur within a reasonable amount of time.
MC-227319 too, I believe both issues are related to lag in jungle and mangrove swamp.
May be more serious for players reaching the game's minimum recommended performance.

Frame rate lag also seems to be more drastic compared to jungles/bamboo jungles due to the amount of roots (which are even laggier than leaves). And doesn't help that because of MC-249271 setting graphics to fast doesn't do much for weaker machines.

In 22w17a.

Navigating a mangrove swamp when the weather is set to rain is especially awful, and frankly unplayable. I attached a screenshot; note that I'm running a high end system with 64GB RAM and a 16GB heap size on both my server and client. My RTX 2070 Max-Q GPU is capping out as well. I'm even running Sodium.

Same. The game turns into a slideshow near a mangrove swamp. In every other biome I'm getting pretty constant 80-100 fps but in mangrove swamps it drops to less than 15, and that's while loading preexisting chunks.
The same issue is present in Jungles and crimson forests as well due to all the vines, but to a lesser extent.

Interesting thing I noticed, is that the issue doesn't appear to be as bad in 22w45a compared to 1.19.2. Made sure all video settings are identical in both installs, including render distance of 24 chunks; and no mods. I attached two screenshots from the same single-biome world. Can't say for sure that the issue is completely fixed, but it's definitely an improvement.
Much improved in 1.19.3-rc1.
[media]

Not entirely sure if i can say this is fixed. It might have been mitigated on some devices (NVIDIA maybe?) but on my case there isn't any noticeable difference from 1.19.2. I have to say though, that due how the game underperforms on my machine this might not be the case for others. Still, i think it's absurd how badly this biome performs compared to jungles (which are also laggy).
1.19.2 & 1.19.3, no entities, random tick disabled:
[media][media]
Same scene with jungle/forest biome as comparison, you can see it still performs bad but not as terrible as a mangrove swamp:
[media][media]
I want to note that this is when not moving and random tick disabled, however this report mentions the FPS drop is when moving around this biome, so the issue other players were experiencing might've been related to lighting or block updates mentioned in previous comments and not exactly about the rendering of mangrove roots/leaves (which i think are the main cause). Not sure if it's worth making a new report.

likely related to MC-262689

Some mangrove leaves are decaying and some vines are destroyed because they are not connected to others.

Present in 23w45a

Mostly seems to do with "minecraft:noise" cause using custom noise dramatically decreases problem.
Altering noise and altering "foliage_color", "water_color", "water_fog_color". Completely removes so performance drop is equivalent to regular swamp.