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 problem when rendering a very long template #65

Open
shengyi-yan opened this issue Nov 7, 2023 · 0 comments
Open

Performance problem when rendering a very long template #65

shengyi-yan opened this issue Nov 7, 2023 · 0 comments

Comments

@shengyi-yan
Copy link

shengyi-yan commented Nov 7, 2023

Hi @yanick

A very good day to you.
I met a problem using Template-Mustache to render a very long template.
test_mustache.pl.txt
I uploaded the sample code which compares between Template-Mustache and mustache-simple.
mustache-simple always costs 0 second.
On my Macbook Pro, Template-Mustache cost 2 second, and in production which is in docker(2 core, 4G) it cost more than 20 seconds.
Is there any way or API to enhance the performance of rendering a long template?

Thanks!

@shengyi-yan shengyi-yan changed the title Performance problem when render a very long template Performance problem when rendering a very long template Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant