improve overall build speed by caching the result of the pages() method#201
improve overall build speed by caching the result of the pages() method#201chaudum wants to merge 2 commits intoeudicots:masterfrom
Conversation
reduces our current build time from ~14s to ~4.5s
|
Using Caching the result of I think this might break Cheers, |
|
Ok, that's a valid point I haven't thought about. |
|
@chaudum I noticed you'd added some tracking of how long it takes to build the site with this change. Do you have any numbers you can share? Just curious to know how much effort we should be putting into this by looking at other real projects. |
|
@krallin |
additionally use
os.walkinstead of recursivefileListmethod