alonrbar/easy-template-x

Slow performance on several page documents

Closed this issue · 3 comments

I have a document around 10 pages and it has just a couple of tags in the beginning. Generating it on M1 Pro chip takes me more than 20 seconds (handler.process() takes 99% of that time). On AWS t3 micro it takes more than a minute

Can you share your template?

@alonrbar I've found the issue. It was in my custom scopeDataResolver. I accidentally was cloning arguments. The performance of the library is good enough. I'm sorry for disturbing you

Hi, no problem and thank you for the update.