colinta / StrangeCase

It's yet another static site generator. Have you seen jekyll? hyde? Yup. Like those.
http://colinta.com/projects/StrangeCase.html
Other
49 stars 7 forks source link

scase is not very fast #16

Closed wichert closed 5 years ago

wichert commented 12 years ago

scase takes 21 seconds to run on my site, which is not very large or complex. This seems to suggest there is room for some performance improvements.

colinta commented 12 years ago

I've definitely been struggling with this - there's not much reason for the poor performance!

Two things come to mind:

  1. Resizing images definitely takes extra time, which is why the "skip" / .timestamps system came about. That has sped up my sites to an acceptable amount.
  2. The next thing that I want to study is Jinja2 performance. Jinja2 is supposed to be "fast" afa template emgines go, but that's my suspicion. Each .j2 file needs its own Jinja2 parser, since templates are not "shared" like they usually are in a dynamic website.

I'll try and take a look at these myself. Let me know if you find anything interesting.