Commit Graph
11 Commits
Author SHA1 Message Date
Xon ac0055a6d7 Fix Windows compat with stashing the quadtree object into each worker process 2011-03-20 08:41:38 +08:00
Xon cd7b9456a9 Fixed worker processes being passed the full quadtree object. Caused massive performance regressions when caching stuff in quadtree.world
Offloaded self._get_chunks_in_range into worker process.
2011-03-20 08:40:43 +08:00
Xon 1d666c7be7 Fixed render_innertile_batch 2011-03-20 08:40:30 +08:00
Xon 0046da5594 render_inntertile & render_inntertile now called in batches in the worker process,
speeds up update scan with a lot of tiles to skip.
2011-03-20 08:40:21 +08:00
Xon ec255bf29b Added region cache invalidation & reloading. Cached region mtimes. 2011-03-20 08:24:43 +08:00
Xon 79d021279f Tweaked _get_chunks_in_range & related call tree.
~12% improvement by inlining self.world.get_region_path ina pure update scan.
2011-03-19 13:59:40 +08:00
Xon 6a52e5f796 Fix typo in file header 2011-03-19 13:39:59 +08:00
Xon 1afb2b3d53 Addded intial region caching.
Loads all the offsets & timestamps @ start to share to worker proceses.
From
14609247 function calls (14608852 primitive calls) in 118.278 CPU seconds
to
12232301 function calls (12231906 primitive calls) in 75.825 CPU seconds
2011-03-19 13:36:40 +08:00
Xon 383e8197af Performance improvements on update scan 2011-03-19 02:50:44 +08:00
Xon 08597ab1c0 Fix performance regression caused by the lack of region/chunk cache at the world level 2011-03-19 02:48:57 +08:00
XonandAaron Griffith 6519d71eaa changed setup.py to include numpy include paths
from <https://github.com/agrif/Minecraft-Overviewer/issues/2>
2011-03-09 19:10:35 -05:00