Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance tune templating engine #117

Open
adelbertc opened this issue Sep 13, 2018 · 2 comments
Open

Performance tune templating engine #117

adelbertc opened this issue Sep 13, 2018 · 2 comments
Labels
area:blueprints functionality required for blueprinting theme:performance

Comments

@adelbertc
Copy link
Member

Currently our Scalate template engine usage takes a while (couple of seconds) to load + render the template, at least on the very first request (haven't tested with more than one yet) - sometimes this is enough to trigger the 3 second timeout. We should look into this more carefully and fix/tune and problems.

@timperrett
Copy link
Member

I don't think this is an issue anymore - my prod deployment is pretty snappy when proofing blueprints

@adelbertc
Copy link
Member Author

Some initial anecdotal experience suggests the slowdown only happens on the initial load-from-classpath for the default blueprints. For instance the first deployment I did today that used a default blueprint took a couple seconds to load the template from the classpath and then render it, and actually timed out. Subsequent ones finished very fast though.

Maybe we can make it load the default blueprints at startup?

@timperrett timperrett added area:blueprints functionality required for blueprinting theme:performance labels Oct 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:blueprints functionality required for blueprinting theme:performance
Projects
None yet
Development

No branches or pull requests

2 participants