Use template-literal instead of EJS
Drulac opened this issue · 5 comments
Drulac commented
Template Literal is fastest, smallest and simplest template engine, because it use JS's literal template feature.
It's 55 times faster than EJS, and it also use less CPU and RAM ressources, so it may be a good idea to use it instead of EJS 😀
juanfranblanco commented
Ill have a look at your project @Drulac ;) Thanks!
juanfranblanco commented
Also, the concept is portable for c#
StefH commented
For .NET C#, there is also https://github.com/rexm/Handlebars.Net
juanfranblanco commented
I have used RazorLight
https://github.com/Nethereum/Nethereum/blob/master/src/Nethereum.Generator.Console/Nethereum.Generator.Console.csproj#L20
Note I need to push the upgraded version
Edit: I pushed that now ;)
Drulac commented
you're welcome :-)