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


Groups > comp.lang.python > #31301

RE: Fastest web framework

From Andriy Kornatskyy <andriy.kornatskyy@live.com>
Subject RE: Fastest web framework
Date 2012-10-15 16:39 +0300
References <DUB117-W80EE2285B5E415AA14B5B9919F0@phx.gbl>
Newsgroups comp.lang.python
Message-ID <mailman.2203.1350308439.27098.python-list@python.org> (permalink)

Show all headers | 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