http://www.perlmonks.org?node_id=1027205

I saw this web framework benchmark on hacker news and didn't see any perl frameworks on there. Does anyone have time to add benchmarks for some of the popular perl frameworks like Catalyst, Mojolicious, Dancer, etc.?

Results: http://www.techempower.com/blog/2013/04/05/frameworks-round-2/

Github: https://github.com/TechEmpower/FrameworkBenchmarks
  • Comment on Anyone have time to add your favorite perl web framework to these benchmarks?

Replies are listed 'Best First'.
Re: Anyone have time to add your favorite perl web framework to these benchmarks?
by zwon (Abbot) on Apr 07, 2013 at 05:21 UTC

    It doesn't really look to me that this benchmark has any practical value, IMO it doesn't benchmark things that does matter, and it doesn't even correctly benchmark the rest. Usually web applications do more than just returning {"message" : "Hello, World!"}, and this "more" generally takes more time than web framework itself. Also, I see that in DB benchmarks some cases use mysql while others use mongodb, how is that web framework benchmark? Ok for college project, but for company it doesn't look professional.

    Motivation is also questionable:

    Application performance can be directly mapped to hosting dollars, and for a start-up company in its infancy, hosting costs can be a pain point.
    What about developers time? One saved man-day may easily pay for server-month. I went recently to China for a week, and wanted to still be able to access twitter. It took me less than three hours to write web based twitter client with Mojolicioius and Net::Twitter, it does something for real, and it is smaller (122 lines, including templates) than HelloServerHandler.java which just sends "Hello, world". Check Mojolicioius::Lite if you want example how to do this with Mojolicious.
Re: Anyone have time to add your favorite perl web framework to these benchmarks?
by sundialsvc4 (Abbot) on Apr 08, 2013 at 01:00 UTC

    Fully agree.   The CPU-time added by any framework is inconsequential.   Merely a cost of doing business.   The reason for using one is to reduce development time-equals-cost.