StubbleOrg / Stubble

Trimmed down {{mustache}} templates in .NET
Other
401 stars 58 forks source link

Performance #86

Closed ipjohnson closed 4 years ago

ipjohnson commented 4 years ago

I'm curious what kind of performance this has compared to something like razor?

Romanx commented 4 years ago

Hi there,

Unfortunately its not really an Apples to Apples comparison since Razor does a lot more and spends much more time compiling the template to create an ultra efficient renderer.

We're the fastest mustache renderer (that we've found) and hold up well against other renderers as seen here.

If you can compile your template then the compilation would take time however your renderer should be much faster. There are some limitations to this method however.

Hopefully this helps, please let us know if you need anything else.