diff piecrust/app.py @ 904:cc2647360036

internal: Remove unnecessary timer, add timer for lazy data building.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 23 Jul 2017 08:25:45 -0700
parents 13e8b50a2113
children eed19a80c00e
line wrap: on
line diff
--- a/piecrust/app.py	Sun Jul 23 08:24:11 2017 -0700
+++ b/piecrust/app.py	Sun Jul 23 08:25:45 2017 -0700
@@ -42,8 +42,8 @@
         stats = env.stats
         stats.registerTimer('SiteConfigLoad')
         stats.registerTimer('PageLoad')
-        stats.registerTimer("PageDataBuild")
         stats.registerTimer("BuildRenderData")
+        stats.registerTimer("BuildLazyPageData")
         stats.registerTimer("PageRender")
         stats.registerTimer("PageRenderSegments")
         stats.registerTimer("PageRenderLayout")