From 6b1fcde7af64ca81079dffe1d62096228693b5d6 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 21 Aug 2011 00:28:52 -0600 Subject: Don't dynamically allocate timers. --- dimension/dimension.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dimension') diff --git a/dimension/dimension.in b/dimension/dimension.in index f0db4fc..cfebe78 100644 --- a/dimension/dimension.in +++ b/dimension/dimension.in @@ -161,7 +161,7 @@ if not _args.quiet: parse_timer = Timer() with open(_args.input) as _fh: exec(compile(_fh.read(), _args.input, "exec")) -parse_timer.complete() +parse_timer.stop() # Make the canvas canvas = Canvas(width = _args.region_width, height = _args.region_height) @@ -203,7 +203,7 @@ _progress_bar(render_message, scene.raytrace_async()) # Write the output file export_timer = Timer() _progress_bar("Writing %s" % _args.output, canvas.write_PNG_async(_args.output)) -export_timer.complete() +export_timer.stop() # Print execution times if _args.verbose: -- cgit v1.2.3