Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'argument': 0.04; 'frameworks': 0.05; 'welcome.': 0.07; 'python': 0.09; 'django,': 0.09; 'received:internal': 0.09; "'hello": 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; 'stuff,': 0.16; 'wrote:': 0.17; 'tests': 0.18; 'all,': 0.21; 'header:In-Reply-To:1': 0.25; "doesn't": 0.28; 'run': 0.28; 'cases.': 0.29; 'framework': 0.30; 'hosted': 0.30; 'performing': 0.30; 'url:2012': 0.30; 'writes': 0.30; 'computer.': 0.32; 'comments': 0.33; 'received:10.0': 0.33; 'to:addr:python- list': 0.33; 'faster': 0.35; 'really': 0.36; 'but': 0.36; 'skip:p 20': 0.36; 'why': 0.37; 'subject:: ': 0.38; 'perform': 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; 'most': 0.61; 'kind': 0.61; 'series': 0.63; 'more': 0.63; 'url:blogspot': 0.64; 'real-world': 0.65; 'tasks.': 0.65; 'computers': 0.69; 'benchmark': 0.84; 'boots': 0.84; 'picture': 0.96 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=letterboxes.org; h=message-id:subject:from:to:date:in-reply-to:references :content-type:mime-version:content-transfer-encoding; s=mesmtp; bh=eExqQa6+iUy9g/3myQjosPTemZo=; b=AIY/hK9bONhNT8wF961+McKz+g9y c+4IArwph6cdoopwUmM93X/fmuQqdZFmQv15IAoWLa3cEvlvDXa9mQcrVhVOtQE3 j2MKpuI1u2cGYF+J3RJzPWq0SVR78Yu11h2t7l4Or7N28I78bBt5Kce62qgOzrZI friPibI5gfO4/58= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:subject:from:to:date :in-reply-to:references:content-type:mime-version :content-transfer-encoding; s=smtpout; bh=eExqQa6+iUy9g/3myQjosP TemZo=; b=Cqt1zjUN63TUtEcoopgsD4FNvnLm82lewPkskMY2JHtJ45FytcszBz ctTx8Wl6Q962fHEy50WhzkcJnMF1JuPJ0GN+6A4agRn36ygtGjvHKa/ziaqssSMo Tk9+BUDy6mEw2Ko+4pAootLECqVk9Ww3gyRKua+DzThBVbQLyCH0Q= X-Sasl-enc: fMxW5yrREZSIDLhGacT94Ak5krDfuvFmAR9wtaLvoUCu 1348515720 Subject: Re: Fastest web framework From: Albert Hopkins To: python-list@python.org Date: Mon, 24 Sep 2012 15:42:00 -0400 In-Reply-To: References: Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAAXNSR0IArs4c6QAAADBQTFRF1///CwsLGxsbJycnNzc3RUVFU1NTYmJicXFxf39/jIyMm5ubq6urubm5yMjI3t7eukg4JQAAAAF0Uk5TAEDm2GYAAAIoSURBVDhPpZC9btRQEEbPGIJQhOIZB4SEhGJ7W/42lihoKCJ6agoeglfgDXiQPAGEio5sKGgTLxRIFNk7DigV7FD4J4SW23jud+75ZA38x9ncnb3wf0PgjZnZdvo35rVZZWa3RiLDd+PGMNz5oABkw/2e9ne+HTgwGRt3nejHzc8Gk/EURfvx/IgLcK3YNZWB7C8vwFqtqcxEAPYD4CoAr5xUiBaJlfOrvTA+IRLqLhisWx/B9RItzckjHCJNxtqKGhRBgEiTAWCIBqGXDNBODEdBIWIEgquCiosD6GQsTYzAVVUAH0FCFDPP3ce8Byenx0hhFRBoX5cBFPXJUVILUog6rTOs5Mv5DnGyOAaXHMvb0fiU3z8QbNZAjmg5VXVbP/N0uHhyWJrAl8RYhebzVcq+K4CJ2WgomSbWsSsguRY6GtncD0N0EYImEcrRkPUxXcrKflNYN4LUmqKndQVOV5qOIDp5Vhb518oEqqxgBFuyOhSKlRF4NptPhp22Ee0ylnioNfVkPPLSix1SG9BJrRN4aFcevfNIKw8f8h5k8vtsnlUauSBiF2DD6/ePd5LPAOvzHpw97F6+dbHOk1T1X4DnXN2rlF+OWKXAuN3Cj3HHNW5u/13FzeQtEkv/YU0vDCATjZSn8KqZXwLdA3Kny+q6GZoGwPPFmZ5oNWt29TK4/XSVpK6bPRny4a+Qx1+FrNkrdATji/XHhdTbw55gMrC0TaFTEfwB/cbNxoZIacsAAAAASUVORK5CYII= Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4 Mime-Version: 1.0 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1348515724 news.xs4all.nl 6926 [2001:888:2000:d::a6]:35924 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29922 On Sun, 2012-09-23 at 12:19 +0300, 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. > The thing I don't like about these benchmarks is.. they tell you which framework is best for writing a trivial 'hello world' application. But no one writes trivial 'hello world' applications. A framework/programming language/software package/what-have-you. Can be really fast for trivial stuff, but perform much less favorably when performing "real-world" tasks. It's kind of the same argument that's used when people say X computer boots faster than Y computer. That's nice and all, but I spend much more of my time *using* my computer than *booting* it, so it doesn't give me a good picture of how the computers perform. This is why most "good" benchmarks run a series various tests based on real-world use cases. -a