Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #31301

RE: Fastest web framework

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <andriy.kornatskyy@live.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.022
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'cpython': 0.05; 'frameworks': 0.05; 'url:bitbucket': 0.05; 'executed': 0.07; 'welcome.': 0.07; 'python': 0.09; 'django,': 0.09; 'etc).': 0.09; 'handler,': 0.09; 'sep': 0.09; "'hello": 0.16; '(django,': 0.16; '+0300': 0.16; 'handlers.': 0.16; 'interesting:': 0.16; 'to:name :python-list@python.org': 0.20; 'skip:- 40': 0.21; 'thanks.': 0.21; 'header:In-Reply-To:1': 0.25; '(e.g.': 0.27; 'pages,': 0.27; 'run': 0.28; 'environment': 0.29; 'date:': 0.29; 'url:mailman': 0.29; 'source': 0.29; 'related': 0.30; 'framework': 0.30; 'hosted': 0.30; 'url:2012': 0.30; 'function': 0.30; 'url:python': 0.32; 'url:listinfo': 0.32; 'comments': 0.33; 'from:addr:live.com': 0.33; 'to:addr:python-list': 0.33; 'fastest': 0.35; 'mapping': 0.35; 'subject:': 0.36; 'url:org': 0.36; 'email addr:python.org': 0.36; 'subject:: ': 0.38; 'from:': 0.38; 'page': 0.38; 'to:addr:python.org': 0.39; 'build': 0.39; 'application': 0.40; 'url:mail': 0.40; 'your': 0.60; 'skip:u 10': 0.60; 'most': 0.61; 'here:': 0.62; 'email name:python-list': 0.62; 'between': 0.63; 'url:blogspot': 0.64; 'here': 0.65; 'reverse': 0.65; 'url:10': 0.65; 'incoming': 0.69; 'email addr:live.com': 0.71; 'viewed': 0.78; '2.7.': 0.84; 'benchmark': 0.84; 'isolated': 0.84; 'dozen': 0.91; 'charset:windows-1251': 0.97
X-Originating-IP [194.44.213.194]
From Andriy Kornatskyy <andriy.kornatskyy@live.com>
To "python-list@python.org" <python-list@python.org>
Subject RE: Fastest web framework
Date Mon, 15 Oct 2012 16:39:30 +0300
Importance Normal
In-Reply-To <DUB117-W80EE2285B5E415AA14B5B9919F0@phx.gbl>
References <DUB117-W80EE2285B5E415AA14B5B9919F0@phx.gbl>
Content-Type text/plain; charset="windows-1251"
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-OriginalArrivalTime 15 Oct 2012 13:39:31.0380 (UTC) FILETIME=[8160A740:01CDAADA]
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2203.1350308439.27098.python-list@python.org> (permalink)
Lines 49
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1350308439 news.xs4all.nl 6843 [2001:888:2000:d::a6]:45488
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:31301

Show key headers only | View raw


How fast python web frameworks reverse urls?

While routing is a mapping of incoming request to a handler, url reverse function is designed to build urls for those handlers. A web page may have a number of urls from few dozen to hundreds... all related to your web site (e.g. links between related pages, tag cloud, most viewed posts, etc).

Here is a benchmark for various web frameworks (django, flask, pyramid, tornado and wheezy.web):

http://mindref.blogspot.com/2012/10/python-web-reverse-urls-benchmark.html

Benchmark is executed in isolated environment using CPython 2.7. Source is here:

https://bitbucket.org/akorn/helloworld/src/tip/03-urls

Comments or suggestions are welcome.
 
Thanks.

Andriy Kornatskyy


----------------------------------------
> From: andriy.kornatskyy@live.com
> To: python-list@python.org
> Subject: Fastest web framework
> Date: Sun, 23 Sep 2012 12:19:16 +0300
>
>
> 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
>
> --
> http://mail.python.org/mailman/listinfo/python-list
 		 	   		  

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

RE: Fastest web framework Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-10-15 16:39 +0300
  Re: Fastest web framework alex23 <wuwei23@gmail.com> - 2012-10-15 18:26 -0700
    RE: Fastest web framework Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-10-16 14:49 +0300
    Re: Fastest web framework Demian Brecht <demianbrecht@gmail.com> - 2012-10-16 07:08 -0700
    RE: Fastest web framework Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-10-16 17:47 +0300
    Re: Fastest web framework Demian Brecht <demianbrecht@gmail.com> - 2012-10-16 09:07 -0700
    RE: Fastest web framework Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-10-16 19:35 +0300
    RE: Fastest web framework Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-10-26 13:53 +0300

csiph-web