Skip to content

stack new is very slow at compiling Mustache templates #4133

@snoyberg

Description

@snoyberg

Actions:

  • 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.

CC @borsboom @JustusAdam

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions