Re: URL dispatcher slow?

2012-10-16 Thread Moonlight
static[0] 138017 function calls in 0.818 seconds Ordered by: internal time List reduced from 79 to 10 due to restriction <10> ncalls tottime percall cumtime percall filename:lineno(function) 10000.0620.0000.4900.000 base.py:72(get_response) 2000

Re: Django performance vs others

2012-10-16 Thread Moonlight
another one: http://mindref.blogspot.com/2012/10/python-web-reverse-urls-benchmark.html On Thursday, October 4, 2012 10:50:35 AM UTC+3, Moonlight wrote: > > I found the following benchmarks recently: > 1. http://mindref.blogspot.com/2012/09/python-fastest-web-framework.html

Re: URL dispatcher slow?

2012-10-12 Thread Moonlight
> FWIW, here's a link to a cProfile result for the mentioned > benchmark[1] on Django 1.4.1 and CPython 2.7.3. A quick look shows > that we're calling get_language() 1.5mln times (read: for every > pattern), so that's definitely going to slow down things. > Happy to see we moved it a bit for

Re: URL dispatcher slow?

2012-10-11 Thread Moonlight
> > So, the benchmarks are interesting. They tell us which stacks are > fully featured, and which stacks are very lightweight. Apart from > that, they don't tell us much at all - is Django's template engine > slow, or is it about right for the work it does? This benchmark > doesn't tell us tha

Re: URL dispatcher slow?

2012-10-11 Thread Moonlight
Well I am not that good to get it fixed it django... it quite easy get lost there. But I definitely would appreciate if someone from core team I guess or in the community finally have a look there... That said, if you really think Django's urlresolver is to slow, go ahead, > profile it and

URL dispatcher slow?

2012-10-10 Thread Moonlight
Here is an article comparing various URL dispatchers: http://mindref.blogspot.com/2012/10/python-web-routing-benchmark.html What cause django URL dispatcher that much... slow? -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view this d

Re: Django performance vs others

2012-10-10 Thread Moonlight
I think this one explains how it works. By the way, I had the curiosity to take a look at Python ML entrywhich is called "Fastest web framework" and I the Wheezy > fra

Re: Django performance vs others

2012-10-05 Thread Moonlight
9:50:35 AM UTC+2, Moonlight wrote: >> >> I found the following benchmarks recently: >> 1. http://mindref.blogspot.com/2012/09/python-fastest-web-framework.html >> 2. http://mindref.blogspot.com/2012/07/python-fastest-template.html >> >> It is interesting to see the perform

Re: Django performance vs others

2012-10-05 Thread Moonlight
Roberto, is there a way run uwsgi on pypy? I think the article shows best of two words: cpython and pypy and uwsgi on cpython, while gunicorn on pypy. I do not believe there were attempt to compare web servers... On Thursday, October 4, 2012 4:37:25 PM UTC+3, Roberto De Ioris wrote: > > > >

Django performance vs others

2012-10-04 Thread Moonlight
I found the following benchmarks recently: 1. http://mindref.blogspot.com/2012/09/python-fastest-web-framework.html 2. http://mindref.blogspot.com/2012/07/python-fastest-template.html It is interesting to see the performance boost using pypy. -- You received this message because you are subscrib