rosetta-rs / template-benchmarks-rs

Collected benchmarks for templating crates written in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why is Tera's render called twice?

olsuh opened this issue · comments

Exactly because of what you describe in #89: it forces the template engine to do all the necessary setup.

commented

Sorry I was confused. :)

commented

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.