eruby

Ruby 2.1 with erubis Template Engine

你。 提交于 2019-12-01 12:27:27
We are looking for fastest template engine for rendering of views. As i understand erubis is the fastest template engine in ruby. My usecase is render templates through script. Looking at the gem official page it's latest release was in 2011. Not sure if the community is active. https://rubygems.org/gems/erubis/versions Does anyone use ruby 2.1 with erubis template engine? Is it recommended to use erubis with ruby 2.1? Thanks Abhay abrocks I ran benchmark between ERB and erubis rendering with below code snippet. erubis_render_time = Benchmark.realtime { template_content = File.read("#{Rails

Ruby 2.1 with erubis Template Engine

一笑奈何 提交于 2019-12-01 11:14:52
问题 We are looking for fastest template engine for rendering of views. As i understand erubis is the fastest template engine in ruby. My usecase is render templates through script. Looking at the gem official page it's latest release was in 2011. Not sure if the community is active. https://rubygems.org/gems/erubis/versions Does anyone use ruby 2.1 with erubis template engine? Is it recommended to use erubis with ruby 2.1? Thanks Abhay 回答1: I ran benchmark between ERB and erubis rendering with