You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install a recent HEAD version of Stack. I'm using d5b5f77
Run stack new foo yesodweb/simple
Expect: it will generate the output in under 5 seconds
Actual: it takes a full minute to compile the Mustache template
I'm guessing the move over to mustache from hastache triggered this. The Yesod templates may be an extreme case because they include large base64-encoded binary blobs for images. I'll try applying the templates to one file at a time instead and see if it speeds things up.
I've determined that this can be triggered by trying to compile the bootstrap.css file, which weighs in at 149kb. Proposed workaround: I'm going to add an arbitrary limit to Stack.New to only apply mustache to files smaller than 50kb.
@JustusAdam I'd love to do so, but unfortunately I likely won't have time for that in the next few weeks at least, I've got a bunch of major things on my plate I'm going to have to focus on, sorry.
Actions:
stack new foo yesodweb/simple
Expect: it will generate the output in under 5 seconds
Actual: it takes a full minute to compile the Mustache template
I'm guessing the move over to
mustache
fromhastache
triggered this. The Yesod templates may be an extreme case because they include large base64-encoded binary blobs for images. I'll try applying the templates to one file at a time instead and see if it speeds things up.CC @borsboom @JustusAdam
The text was updated successfully, but these errors were encountered: