Open olsuh opened 1 year ago
Exactly because of what you describe in #89: it forces the template engine to do all the necessary setup.
Sorry I was confused. :)
I put the debug output between these two lines. And I saw that there were many calls. It's too much to warm up.
template-benchmarks-rs is currently a low priority for me. I think the code across all the template engines is pretty similar so in that sense it seems fair to me. If you want to submit a PR to change something I'll consider it, but it will have to be well-argued.
Why is Tera's render called twice? https://github.com/rosetta-rs/template-benchmarks-rs/blob/main/src/tera.rs#L21-L22 https://github.com/rosetta-rs/template-benchmarks-rs/blob/main/src/tera.rs#L66-L67