Commit Graph
19 Commits
Author SHA1 Message Date
Xon 6c9bbc25da Better error messages, removed import which triggered a failure 2011-03-25 21:42:18 +08:00
Xon 1d5b338d56 Check PyImport_ImportModule return result 2011-03-25 21:34:06 +08:00
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 76f85d0d2c Added ctrl-c handling, output is a single line (verbose reports what error occured), added optparsing, supports multipule files or a dir 2011-03-20 01:57:47 +08:00
Xon cfabf16148 Clarify if opening the region file failed or if the headers are wonky 2011-03-20 01:22:34 +08:00
Xon 6f340dceee New conrtib script to validate a region file 2011-03-20 01:19:23 +08:00
Xon b9433173c9 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-19 23:36:26 +08:00
Xon e113a24ae0 Fixed render_innertile_batch 2011-03-19 16:23:11 +08:00
Xon 2be64f2aa7 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-19 16:01:33 +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