RE: Fastest web framework

2012-11-01 Thread Andriy Kornatskyy
Per community request turbogears and pysi were added. The following posts have been updated: http://mindref.blogspot.com/2012/09/python-fastest-web-framework.html http://mindref.blogspot.com/2012/10/python-web-pep8-consistency.html Comments or suggestions are welcome. Thanks. Andriy ---

RE: Fastest web framework

2012-10-26 Thread Andriy Kornatskyy
Alex, You can read wheezy.web introduction here: http://mindref.blogspot.com/2012/10/wheezy-web-introduction.html Thanks. Andriy Kornatskyy > Date: Mon, 15 Oct 2012 18:26:16 -0700 > Subject: Re: Fastest web framework > From: wuwe...@gmail

RE: Fastest web framework

2012-10-25 Thread Andriy Kornatskyy
Web content caching is the most effective type of cache. This way your python handler is not executed to determine a valid response to user, instead one returned from cache. Since the operation is that simple, it should be the maximum possible speed your `real world` application capable to prov

RE: Fastest web framework

2012-10-16 Thread Andriy Kornatskyy
Demian, Thank you, see below. > I think that my first batch of questions were slightly out of context, > mostly due to a lack of caffeine first thing in the morning. My > understanding at the time was that your "an answer to effectivity" was, > in fact, a list of highlights for wheezy.web (which

Re: Fastest web framework

2012-10-16 Thread Demian Brecht
On 10/16/2012 7:47 AM, Andriy Kornatskyy wrote: I think that my first batch of questions were slightly out of context, mostly due to a lack of caffeine first thing in the morning. My understanding at the time was that your "an answer to effectivity" was, in fact, a list of highlights for wheezy

RE: Fastest web framework

2012-10-16 Thread Andriy Kornatskyy
Demian, Thank you, I appreciate your input. See below. > > Performance and effectivity are related metrics. Longer feature list can not explain why it less effective. An answer to effectivity question might be related to: > > - code quality (we have PEP8) > > Any static code analysis such as p

Re: Fastest web framework

2012-10-16 Thread Demian Brecht
Let me say right off the bat that I've taken a brief look through the code and documentation and found that I wouldn't mind trying it out for personal projects. So, the intention here is not to slag the framework. > Performance and effectivity are related metrics. Longer feature list can not > ex

RE: Fastest web framework

2012-10-16 Thread Andriy Kornatskyy
g/wheezy.web/tutorial.html All web frameworks are good, some better. It is important what you see as an advantage... Thanks. Andriy Kornatskyy > Date: Mon, 15 Oct 2012 18:26:16 -0700 > Subject: Re: Fastest web framework > From: wuwe...@gmail.com &g

RE: Fastest web framework

2012-10-16 Thread Andriy Kornatskyy
/python-web-routing-benchmark.html Thanks. Andriy > From: andriy.kornats...@live.com > To: python-list@python.org > Subject: RE: Fastest web framework > Date: Tue, 9 Oct 2012 16:44:19 +0300 > > > How fast python web framework process

Re: Fastest web framework

2012-10-15 Thread alex23
On Oct 15, 11:40 pm, Andriy Kornatskyy wrote: > Comments or suggestions are welcome. Performance speed is possibly the least interesting aspect of web frameworks; ease of use & readily re-usable 3rd party code figures much higher, IMO. Rather than constantly hammer on about performance, maybe you

RE: Fastest web framework

2012-10-15 Thread Andriy Kornatskyy
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 relat

RE: Fastest web framework

2012-10-09 Thread Andriy Kornatskyy
How fast python web framework process routing (URL dispatch)? Here is a benchmark for various web frameworks (bottle, django, flask, pyramid, tornado and wheezy.web) running the following routing: static, dynamic, SEO and missing... with a trivial 'hello world' application (all routes are point

RE: Fastest web framework

2012-10-02 Thread Andriy Kornatskyy
To: ta...@ziade.org > Subject: RE: Fastest web framework > Date: Sat, 29 Sep 2012 12:18:32 +0300 > CC: python-list@python.org > > > Tarek, > > My response inline to your: > > > You are not getting my point. What happens to weezhy or XXX framework > > when you

RE: Fastest web framework

2012-09-29 Thread Andriy Kornatskyy
prioritize and/or practically implement them? Thanks. Andriy > Date: Wed, 26 Sep 2012 11:41:26 +0200 > From: ta...@ziade.org > To: andriy.kornats...@live.com > CC: python-list@python.org > Subject: Re: Fastest web framework > > On 9/26/12

RE: Fastest web framework

2012-09-27 Thread Prasad, Ramit
Andriy Kornatskyy wrote: > Try to see 'Hello World' benchmark as an answer to the question how effective > is the framework inside... > > If computer X boots faster than Y, it means it is more effective in this > particular area. > > If a sportsman runs a distance 1 second faster than other, he g

RE: Fastest web framework

2012-09-27 Thread Andriy Kornatskyy
CherryPy is in the list now. http://mindref.blogspot.com/2012/09/python-fastest-web-framework.html Thanks. Andriy > From: andriy.kornats...@live.com > To: python-list@python.org > Subject: RE: Fastest web framework > Date: Tue, 25 Sep 2

Re: Fastest web framework

2012-09-26 Thread Alec Taylor
hmark for web2py I noticed a memory leak. It > constantly grows and never release it... > > Thanks. > > Andriy Kornatskyy > > > > Date: Mon, 24 Sep 2012 17:36:25 +1000 > > Subject: Re: Fastest web framework > > From: alec.tayl...@gm

RE: Fastest web framework

2012-09-26 Thread Andriy Kornatskyy
> Date: Wed, 26 Sep 2012 05:48:48 -0400 > Subject: Re: Fastest web framework > From: dwightdhu...@gmail.com > To: ta...@ziade.org > CC: andriy.kornats...@live.com; python-list@python.org > > to Andriy > You can use a framework, however, the function fro

Re: Fastest web framework

2012-09-26 Thread Dwight Hutto
to Andriy You can use a framework, however, the function from the framework has to be used, and the parameters utilized by the frameworks functions. It would seem that writing your own witin the main page, or using the original function in place from the framework would run a timeit better. I'll

Re: Fastest web framework

2012-09-26 Thread Tarek Ziadé
erver-benchmarking-we-need/ Cheers Tarek Date: Wed, 26 Sep 2012 11:08:19 +0200 From: ta...@ziade.org To: andriy.kornats...@live.com CC: python-list@python.org Subject: Re: Fastest web framework On 9/25/12 3:21 PM, Andriy Kornatskyy wrote: Tarek,

RE: Fastest web framework

2012-09-26 Thread Andriy Kornatskyy
python-list@python.org > Subject: Re: Fastest web framework > > On 9/25/12 3:21 PM, Andriy Kornatskyy wrote: > > Tarek, > > > > With all respect, running benchmark on something that has sleeps, etc is > > pretty far from real world use case. So I went a little bit

Re: Fastest web framework

2012-09-26 Thread Tarek Ziadé
- Date: Mon, 24 Sep 2012 13:50:31 +0200 From: ta...@ziade.org To: python-list@python.org Subject: Re: Fastest web framework 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,

RE: Fastest web framework

2012-09-25 Thread Andriy Kornatskyy
. Andriy > Date: Mon, 24 Sep 2012 13:50:31 +0200 > From: ta...@ziade.org > To: python-list@python.org > Subject: Re: Fastest web framework > > On 9/23/12 11:19 AM, Andriy Kornatskyy wrote: > > I have run recently a benchmark of a trivial &

RE: Fastest web framework

2012-09-25 Thread Andriy Kornatskyy
Alec While performing benchmark for web2py I noticed a memory leak. It constantly grows and never release it... Thanks. Andriy Kornatskyy > Date: Mon, 24 Sep 2012 17:36:25 +1000 > Subject: Re: Fastest web framework > From: alec.tayl...@gmail.

RE: Fastest web framework

2012-09-25 Thread Andriy Kornatskyy
The post has been updated with two more frameworks (per community request): tornado and web2py. Comments or suggestions are welcome. Thanks. Andriy Kornatskyy > From: andriy.kornats...@live.com > To: python-list@python.org > Subject: Fastest web frame

RE: Fastest web framework

2012-09-24 Thread Andriy Kornatskyy
not quite adequate to say if I load sportsman with 50 kilo bag he will not run that fast... just try split the concerns). Thanks. Andriy > Subject: Re: Fastest web framework > From: mar...@letterboxes.org > To: python-list@python.org > Date: Mon

Re: Fastest web framework

2012-09-24 Thread Albert Hopkins
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 i

Re: Fastest web framework

2012-09-24 Thread Tarek Ziadé
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://

RE: Fastest web framework

2012-09-24 Thread Andriy Kornatskyy
Accepted. > Date: Mon, 24 Sep 2012 17:36:25 +1000 > Subject: Re: Fastest web framework > From: alec.tayl...@gmail.com > To: andriy.kornats...@live.com > CC: python-list@python.org > > Can you throw in web2py? > > Thanks >

Re: Fastest web framework

2012-09-24 Thread Alec Taylor
Can you throw in web2py? Thanks On Sun, Sep 23, 2012 at 7:19 PM, Andriy Kornatskyy < andriy.kornats...@live.com> 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

RE: Fastest web framework

2012-09-23 Thread Andriy Kornatskyy
Andriy > To: python-list@python.org > From: acl...@aclark.net > Subject: Re: Fastest web framework > Date: Sun, 23 Sep 2012 17:25:20 -0400 > > On 2012-09-23 09:19:16 +, Andriy Kornatskyy said: > > > > > I have run recently a benchmark

RE: Fastest web framework

2012-09-23 Thread Andriy Kornatskyy
dedicated to test purpose). Thanks. Andriy Kornatskyy > Date: Sun, 3 Sep 012 6::6::5 -400< > Subject: Re: Fastest web framework > From: dwightdhu...@gmail.com > To: andriy.kornats...@live.com > CC: python-list@python.org > >> Hope I u

Re: Fastest web framework

2012-09-23 Thread Alex Clark
On 2012-09-23 09:19:16 +, Andriy Kornatskyy said: 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

Re: Fastest web framework

2012-09-23 Thread Dwight Hutto
> Hope I understood you correctly. > Well, lets break down timing something in a more scientific method approach through questioning. What's your processor speed? What is the constant temperature of the internals of your system? What OS, and version? What other processes are running? There's

RE: Fastest web framework

2012-09-23 Thread Andriy Kornatskyy
> On Sun, Sep 23, 2012 at 5: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 > > There a

Re: Fastest web framework

2012-09-23 Thread Dwight Hutto
On Sun, Sep 23, 2012 at 5: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 There are other conside

RE: Fastest web framework

2012-09-23 Thread Andriy Kornatskyy
> To: python-list@python.org > From: stefan...@behnel.de > Subject: Re: Fastest web framework > Date: Sun, Sep 2 :: +0<<< > > Andriy Kornatskyy, ..2 :: > > If we take a look at web application we can split it into at least two >

RE: Fastest web framework

2012-09-23 Thread Andriy Kornatskyy
#cachedependency Andriy > To: python-list@python.org > From: breamore...@yahoo.co.uk > Subject: Re: Fastest web framework > Date: Sun, 23 Sep 2012 18:20:03 +0100 > > On 23/09/2012 16:50, Stefan Behnel wrote: > > Roy Smith, 23.09.2012 16:02: >

RE: Fastest web framework

2012-09-23 Thread Andriy Kornatskyy
#cachedependency Andriy > To: python-list@python.org > From: breamore...@yahoo.co.uk > Subject: Re: Fastest web framework > Date: Sun, 23 Sep 2012 18:20:03 +0100 > > On 23/09/2012 16:50, Stefan Behnel wrote: > > Roy Smith, 23.09.2012 16:02: >

RE: Fastest web framework

2012-09-23 Thread Andriy Kornatskyy
#cachedependency Andriy > To: python-list@python.org > From: breamore...@yahoo.co.uk > Subject: Re: Fastest web framework > Date: Sun, 23 Sep 2012 18:20:03 +0100 > > On 23/09/2012 16:50, Stefan Behnel wrote: > > Roy Smith, 23.09.2012 16:02: >

RE: Fastest web framework

2012-09-23 Thread Andriy Kornatskyy
and pretty happy. In my case I have got 2x boost of web application performance just by switching to wheezy.template, that simple. Thanks. Andriy > To: python-list@python.org > From: stefan...@behnel.de > Subject: Re: Fastest web framework >

Re: Fastest web framework

2012-09-23 Thread Stefan Behnel
Andriy Kornatskyy, 23.09.2012 19:42: > If we take a look at web application we can split it into at least two > parts, one that renders things out and the other one that does data > extraction, e.g. from database (this is what you are pointing at). > > If you made a first call to database you get

RE: Fastest web framework

2012-09-23 Thread Andriy Kornatskyy
next call IS without impact that database call may cause... but you still keep serving pages out... Thanks. Andriy From: r...@panix.com Subject: Re: Fastest web framework Date: Sun, 23 Sep 2012 10:02:28 -0400 To: python-list@python.org In article , Andriy

Re: Fastest web framework

2012-09-23 Thread Mark Lawrence
On 23/09/2012 16:50, Stefan Behnel wrote: Roy Smith, 23.09.2012 16:02: 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/p

Re: Fastest web framework

2012-09-23 Thread Stefan Behnel
Roy Smith, 23.09.2012 16:02: > 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 >>

Re: Fastest web framework

2012-09-23 Thread Roy Smith
In article , 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: > > ht