Closed willkg closed 10 years ago
Seems there was some epic slowness in three places:
The first two were solved with adding memoization to run_callback
and memoizing parse_entry_file
and _walk_internal
.
The second was solved by breaking out jinja environment building and memoizing environments.
Now it takes 24s to render my blog. I've got 800+ entries, so it's possible I could squeeze out some more performance, but it'd require me to rearchitect parts of Douglas to make optimizing easier.
Landed in master in ab04811.
Takes 1m32s to compile my blog which is epically horrible performance.
This issue covers identifying the slow parts and speeding them up.