pavlicekdominik / MINECRAFT

A small MC project in UE4.
0 stars 0 forks source link

Spawn Times #5

Open pavlicekdominik opened 3 years ago

pavlicekdominik commented 3 years ago

Spawning block instances is the heaviest part of the project. A small testing (thank you, WHacko) shows following results:

Settings

Area: 10 Depth: 10 RenderVisibility: 2

Times

LogTemp: Warning: Seconds: 0.041257 LogTemp: Warning: Seconds: 0.037059 LogTemp: Warning: Seconds: 0.033372 LogTemp: Warning: Seconds: 0.030441 LogTemp: Warning: Seconds: 0.040416 LogTemp: Warning: Seconds: 0.030972 LogTemp: Warning: Seconds: 0.036905 LogTemp: Warning: Seconds: 0.045386 LogTemp: Warning: Seconds: 0.041692 LogTemp: Warning: Seconds: 0.055541 LogTemp: Warning: Seconds: 0.038067

pavlicekdominik commented 3 years ago

Conclusion

Entire functions take like 0,10 - 0,15 second per chunk so it needs to be optimised.