From ff0a98115fb4fa6cec756d6863cc2a39850f164d Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Mon, 15 Feb 2016 17:55:45 -0500 Subject: [PATCH] Fix incorrect export times --- korman/exporter/convert.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/korman/exporter/convert.py b/korman/exporter/convert.py index 9680c64..7881992 100644 --- a/korman/exporter/convert.py +++ b/korman/exporter/convert.py @@ -44,7 +44,7 @@ class Exporter: def run(self): with logger.ExportLogger(self._op.filepath) as _log: print("Exporting '{}.age'".format(self.age_name)) - start = time.process_time() + start = time.perf_counter() # Step 0: Init export resmgr and stuff self.mgr = manager.ExportManager(self) @@ -94,7 +94,7 @@ class Exporter: self.report.save() # And finally we crow about how awesomely fast we are... - end = time.process_time() + end = time.perf_counter() print("\nExported {}.age in {:.2f} seconds".format(self.age_name, end-start)) def _bake_static_lighting(self):