# HG changeset patch # User Ludovic Chabant # Date 1439097742 25200 # Node ID 155c7e20414f73dcf2183b68ce9d85b5c12ed211 # Parent cc6f3dbe3048b8829f9a27da04a096e61a223f2c serve: Fix timing information in the debug window. diff -r cc6f3dbe3048 -r 155c7e20414f piecrust/serving/server.py --- a/piecrust/serving/server.py Sat Aug 08 22:01:47 2015 -0700 +++ b/piecrust/serving/server.py Sat Aug 08 22:22:22 2015 -0700 @@ -202,7 +202,7 @@ # Profiling. if app.config.get('site/show_debug_info'): - now_time = time.clock() + now_time = time.perf_counter() timing_info = ( '%8.1f ms' % ((now_time - app.env.start_time) * 1000.0))