Skip to content
This repository was archived by the owner on Sep 12, 2022. It is now read-only.

Benchmarks

Muqsit edited this page Jun 21, 2018 · 12 revisions

WorldStyler iterates over blocks on a much lower level compared to most of the alternatives. It makes use of PocketMine's SubChunkIteratorManager and iterates over subchunks to get and set blocks.
This reduces execution of many unneeded (unneeded in our case) block checks and updates. This also means that setting blocks in an area will NOT schedule any block or neighboring block updates. The block cache and chunk cache of the level the subchunk is in is also not updated everytime a block is set. Rather, it's updated after all blocks have been set.
Some benchmarks (in order of processors) below...

i3-3220 (2c/4t, 3.3GHz, 2TB HDD)


  • 15,240,720 blocks //set in 65.61 seconds.

i5-4570T (2c/4t, 3.6GHz, 1TB HDD)


  • 5,658,336 blocks //set in 8.18 seconds.
  • 5,658,336 blocks //replace in 12.88 seconds.

i5-8600K (6c/6t, 4.9GHz, 1TB HDD) [UNCONFIRMED]


  • 1,943,040 blocks //set in 1.09 seconds.

i7-7700K (4c/8t, 4.7GHz, 256GB SSD)


  • 29,718,612 blocks //set in 16.16 seconds.
  • 29,718,612 blocks //replace in 21.99 seconds.

i7-8700K (6c/12t, 4.7GHz, 240GB SSD)


  • 1,004,004 blocks //set in 1.34 seconds.


  • 256,768,512 blocks //set in 172.81 seconds.