From 27a411cda81468a42a756f77fa35a6ca37be50d8 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 4 Jun 2020 21:59:23 +0200 Subject: [PATCH] Display world parsing time --- __main__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/__main__.py b/__main__.py index 4f514ce..3eb4218 100644 --- a/__main__.py +++ b/__main__.py @@ -1,5 +1,7 @@ import lihzahrd +from lihzahrd.timer import Timer -world = lihzahrd.World.create_from_file("The_Gateway_To_A_New_Future.wld") +with Timer("Parse sample world"): + world = lihzahrd.World.create_from_file("The_Gateway_To_A_New_Future.wld") breakpoint()