Just thought I''d let you know that I''ve been working on Mab lately: https://github.com/camping/mab. This will replace Markaby in the next release. Also, I''ve been benchmarking it on this simple, but view-heavy, app. Camping w/Markaby: 480 requests/second Camping w/Mab: 1490 requests/second Camping.goes :App module App::Controllers class Index def get render :index end end end module App::Views def index div.page.index do div.big do h1.main! "Welcome! World." end end end def layout html do head do title "Web Page" end body do div.wrapper! do yield end end end end end // Magnus Holm
Excellent work! and some great examples you have in that readme ;) ? Jenna Fox On Monday, 16 January 2012 at 6:26 AM, Magnus Holm wrote:> Just thought I''d let you know that I''ve been working on Mab lately: > > https://github.com/camping/mab. > > This will replace Markaby in the next release. > > Also, I''ve been benchmarking it on this simple, but view-heavy, app. > > Camping w/Markaby: 480 requests/second > Camping w/Mab: 1490 requests/second > > Camping.goes :App > > module App::Controllers > class Index > def get > render :index > end > end > end > > module App::Views > def index > div.page.index do > div.big do > h1.main! "Welcome! World." > end > end > end > > def layout > html do > head do > title "Web Page" > end > > body do > div.wrapper! do > yield > end > end > end > end > end > > // Magnus Holm > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org (mailto:Camping-list at rubyforge.org) > http://rubyforge.org/mailman/listinfo/camping-list > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/camping-list/attachments/20120116/845ac72b/attachment.html>
Very nice Magnus! :-) I will be playing with mab soon. On 1/15/2012 12:26 PM, Magnus Holm wrote:> Just thought I''d let you know that I''ve been working on Mab lately: > > https://github.com/camping/mab. > > This will replace Markaby in the next release. > > Also, I''ve been benchmarking it on this simple, but view-heavy, app. > > Camping w/Markaby: 480 requests/second > Camping w/Mab: 1490 requests/second > > Camping.goes :App > > module App::Controllers > class Index > def get > render :index > end > end > end > > module App::Views > def index > div.page.index do > div.big do > h1.main! "Welcome! World." > end > end > end > > def layout > html do > head do > title "Web Page" > end > > body do > div.wrapper! do > yield > end > end > end > end > end > > // Magnus Holm > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/camping-list/attachments/20120115/d9ebe9f9/attachment.html>