summaryrefslogtreecommitdiff
path: root/src/main.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/main.py b/src/main.py
index f417d94..951e927 100644
--- a/src/main.py
+++ b/src/main.py
@@ -76,9 +76,15 @@ class KP:
tsInfo['hash'] = newHash
from tileset import KPTileset
- print "Loading set: %s" % name
+
+ import time
+ b = time.clock()
+
cls.loadedTilesets[name] = KPTileset.loadFromArc(data)
-
+
+ e = time.clock()
+ print "Loading set: {0} in {1}".format(name, e-b)
+
@classmethod
def tileset(cls, name):