Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!hq-usenetpeers.eweka.nl!81.171.88.250.MISMATCH!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'frameworks': 0.05; 'startup': 0.05; 'tarek': 0.07; 'welcome.': 0.07; 'python': 0.09; 'django,': 0.09; 'received:internal': 0.09; 'stack,': 0.09; 'url:github': 0.09; "'hello": 0.16; '11:19': 0.16; 'interesting:': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:mail.srv.osa': 0.16; 'received:messagingengine.com': 0.16; 'received:nyi.mail.srv.osa': 0.16; 'received:osa': 0.16; 'received:srv.osa': 0.16; 'wrote:': 0.17; 'app': 0.19; 'trying': 0.21; 'thanks.': 0.21; 'cheers': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; 'run': 0.28; 'app.': 0.29; 'argue': 0.29; 'measure': 0.29; 'hosted': 0.30; 'url:2012': 0.30; 'comments': 0.33; 'goes': 0.33; 'curious': 0.33; 'to:addr:python-list': 0.33; 'server': 0.35; 'really': 0.36; 'but': 0.36; 'does': 0.37; 'subject:: ': 0.38; 'things': 0.38; 'received:10': 0.38; 'to:addr:python.org': 0.39; 'application': 0.40; 'header:Received:5': 0.40; 'skip:u 10': 0.60; 'real': 0.61; 'more': 0.63; 'url:blogspot': 0.64; 'benchmark': 0.84; 'server)': 0.84; 'url:master': 0.84; 'realistic': 0.93 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=bcQ8r65lqX+Qs8C688AuUB WRVh0=; b=h9TufS5a30qWT2vTGCo/YFQxC9Zc6N8hhhS/OhKERR8cJgFrZkG6Ss n84qGWNg9VK8ADphpGnpqOD7oTY62PBF8phpRjIVJPF40l1FpQ5qzXQX558ViTMN 4H7rSiZ7dSx+INiFcFvDBKbASd7YHzgeMJDaYxNNEj19nzg+8FLhM= X-Sasl-enc: 91hXKQTPj14Qa48D9rzXQTjvxGNnulEes0SxfiKPBrD4 1348487391 Date: Mon, 24 Sep 2012 13:50:31 +0200 From: =?UTF-8?B?VGFyZWsgWmlhZMOp?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Fastest web framework References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1348487402 news.xs4all.nl 6880 [2001:888:2000:d::a6]:44349 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29908 On 9/23/12 11:19 AM, Andriy Kornatskyy wrote: > I have run recently a benchmark of a trivial 'hello world' application for various python web frameworks (bottle, django, flask, pyramid, web.py, wheezy.web) hosted in uWSGI/cpython2.7 and gunicorn/pypy1.9... you might find it interesting: > > http://mindref.blogspot.com/2012/09/python-fastest-web-framework.html > > Comments or suggestions are welcome. > > Thanks. > > Andriy Kornatskyy > I would try this with a web app that does more than 'Hello World' You may argue that you're just trying the server stack, but that's not realistic because you don't really measure how the server behaves with a real app. Have a look at https://github.com/mozilla-services/chaussette/blob/master/chaussette/util.py#L188 (setup_bench and teardow_bench have to be run on startup and tear down of the server) I would be curious to see how things goes then Cheers Tarek