Antaris/RazorEngine — Issue #8: v3 - TemplateService.Parse very slow
Author: Madd0g
Created: 2011-11-27 22:51:15+00:00
State: open

Hi,

I'm pretty sure these aren't the speeds I'm supposed to be getting

dynamic o = new ExpandoObject();
o.hello = "world";
var template = "@Model.hello";

TemplateService.Parse(template, o);

This repeatedly takes about 500-600ms. Similar (super simple) templates take 800-1000ms.
Is it because v3 builds in debug mode by default? I tried to change and rebuild but got nothing in the bin\Release folder.

Maybe I misconfigured something?

Thank you