Test: Added script to create a 500MB test world for testing memory usage.

500MB is around 10 gigs uncompressed.
This commit is contained in:
David Vierra 2012-11-02 12:50:04 -10:00
parent 1eddd43ec3
commit a2daa220a8

11
make_huge_world.py Normal file
View File

@ -0,0 +1,11 @@
import pymclevel
from pymclevel.minecraft_server import MCServerChunkGenerator
from pymclevel import BoundingBox
import logging
logging.basicConfig(level=logging.INFO)
gen = MCServerChunkGenerator()
half_width = 4096
gen.createLevel("HugeWorld", BoundingBox((-half_width, 0, -half_width), (half_width, 0, half_width)))