Mercurial > piecrust2
diff piecrust/data/builder.py @ 989:8adc27285d93
bake: Big pass on bake performance.
- Reduce the amount of data passed between processes.
- Make inter-process data simple objects to make it easier to test with
alternatives to pickle.
- Make sources have the basic requirement to be able to find a content item
from an item spec (path).
- Make Hoedown the default Markdown formatter.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 19 Nov 2017 14:29:17 -0800 |
parents | 74f4bde40fd0 |
children | 501bd4ab7e06 |
line wrap: on
line diff
--- a/piecrust/data/builder.py Fri Nov 03 23:14:56 2017 -0700 +++ b/piecrust/data/builder.py Sun Nov 19 14:29:17 2017 -0800 @@ -68,7 +68,8 @@ # Put the site data first so that `MergedMapping` doesn't load stuff # for nothing just to find a value that was in the YAML config all # along. - data = MergedMapping([site_data, data, providers_data]) + data = MergedMapping([site_data, data, providers_data], + stats=app.env.stats) # Do this at the end because we want all the data to be ready to be # displayed in the debugger window.