diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-08-21 00:28:52 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-08-21 13:18:28 -0600 |
commit | 6b1fcde7af64ca81079dffe1d62096228693b5d6 (patch) | |
tree | 2600ece91b5179105a572d79b60a6fc07e82c0a7 /dimension | |
parent | 4f9a96f6cdee4cf234bde7fdafd0be0f5b6b808e (diff) | |
download | dimension-6b1fcde7af64ca81079dffe1d62096228693b5d6.tar.xz |
Don't dynamically allocate timers.
Diffstat (limited to 'dimension')
-rw-r--r-- | dimension/dimension.in | 4 |
1 files changed, 2 insertions, 2 deletions
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: |