Question

I 'm trying to run pymclevel (http://www.github.com/mcedit/pymclevel) in a script context where the total time the script takes to execute. Simply starting the file results in it taking a few seconds until it actually reaches the end of the script, skipping the main class. If I raise a systemexit as the last line and remove all other initialization, it still takes 3-4 seconds. The CPU isn't the problem, it's a Xeon E3-1290v2 at 3.8Ghz x 4 cores. Any help is greatly appreciated.

Was it helpful?

Solution

You have to understand where the bootleneck is, look at CPU, RAM and HARD-DISK usage.

i'm really confident that is a HARD-DISK realted, as far as i know minecraft map can be really big. Also if your ram can't hadle all the map it will frequently swapped to disk, causing a lot of additional computing time

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top