Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

Removed FlatMap to improve performance #407

Merged
merged 1 commit into from
Jun 22, 2016
Merged

Conversation

dogboy21
Copy link
Contributor

No description provided.

@sameer
Copy link
Member

sameer commented Jun 16, 2016

Hello,

What kind of performance improvements did you see with this change?

Thanks,

Robotia

@dogboy21
Copy link
Contributor Author

dogboy21 commented Jun 16, 2016

Unfortunately I don't have any screenshots from the WarmRoast measurement yesterday, but the initialization of a FlatMap took about 30% of the server load on one of our servers.

TPS Graph
Here you can see the TPS graph of said server. You see the jump in the middle of the graph? Thats the time when I updated the server to the fixed version. Overall we noticed improvements of about 2-5 TPS on every of our 30 servers. Also the FlatMap was removed ages ago from Spigot/CraftBukkit because of memory leaks and other performance problems as you can see here and here

@sameer sameer merged commit 80db93c into CyberdyneCC:master Jun 22, 2016
@ghost
Copy link

ghost commented Jun 22, 2016

@dogboy21 Thank you for this! Honestly, thank you!

Bogdan-G added a commit to Bogdan-G/FFoKC that referenced this pull request Aug 25, 2016
@usernameak
Copy link

Side effect: WorldEdit //regen doesn't work

@dogboy21
Copy link
Contributor Author

I think //regen was broken for a long time on modded servers.
Are you sure that this PR is causing the problem? IIRC it only added a patch which was part of Spigot for a long time.

@sameer
Copy link
Member

sameer commented May 17, 2018 via email

@SantaGitHub
Copy link

@usernameak use this patch for thermos 58 https://yadi.sk/d/4KrI2qYp3RDAgV

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants