Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Anyone have time to add your favorite perl web framework to these benchmarks?

by saberworks (Curate)
on Apr 05, 2013 at 19:25 UTC ( [id://1027205]=perlmeditation: print w/replies, xml ) Need Help??

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

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://1027205]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-03-29 09:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found