Joining server performance
Hi!
My PC is:
CPU: IntelCore i7-7700 3.6 GHz
RAM: 16 GB
SSD disk
GPU: NVIDIA GeForce GTX 970
Whole server joining took 45 seconds for me. (I have a good cpu)
Can you a bit parallel some jobs while loading / joining world?
1) As I see on image `InitPressurization` consume a lot of time. Maybe call it for whole grid, instead of per block. Guess it could be a nice optimization? (~6 seconds)
2) I guess, you can, load images in parrallel? It took 9,5 second, to load images from disk.
3*) MyScriptManager.Compile, maybe we can cache results of compiltation? It took 4,5 second for me, to compile mods.
So potential total time that can be optimized is : 20 seconds.
As we have server restart, and crashes, it saves for me at least 1 minute a day. And our server sometimes reach 42/42 players online. So if you fix it, you will save a lot of people time.
(Math is actually very simplified, but you get idea...)
From your biggest fan...
Replies have been locked on this page!