CobbleSword / BurritoSpigot

BurritoSpigot is a fork of TacoSpigot 1.8.9 that offers several enhancements to performance as well as bug fixes. while offer extra APIs and support for plugins
Other
53 stars 18 forks source link

Some Performance Improves from Nacho #22

Closed HowardZHY closed 2 years ago

HowardZHY commented 2 years ago

especially chunk patches
eg: chunk:

The amount of threads used for chunks

threads: 3

Enable Fast Math usage.

enable-fastmath: true

Kicks players if they try to do an illegal action (e.g. using a creative mode action while not in creative mode.)

kick-on-illegal-behavior: true

PS:[Nacho-0014] stop timings crashing the server but still print the error - this happened in Torch , but I wonder is there anything we can learn from Torch's multithread

HeathLoganCampbell commented 2 years ago

Fast Math isn't really an optimization, I have benchmarked it, it's more marketing that an optimization

HeathLoganCampbell commented 2 years ago

and is kick-on-illegal-behavior isn't an optimization, it's just a bad data catch

MWHunter commented 2 years ago

Can confirm as an anticheat dev that fastmath is fucking stupid and does absolutely nothing except cause suffering for other devs expecting math to be correct

HowardZHY commented 2 years ago

just add this: chunk:

The amount of threads used for chunks

threads: 3