🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.python
3 messages
3 total messages Started by Dsue Tue, 07 Feb 2012 07:59
Czas generowania - Django
#28393
Author: Dsue
Date: Tue, 07 Feb 2012 07:59
6 lines
931 bytes
Jak sprawdzić jakie operacje zajmują Django czas? Napisałem system 
który jest dość rozbudowany, ale czas generowania strony mnie nie 
satysfakcjonuje i chciałbym zobaczyć które etapy trwają dłużej. Jest 
jakaś możliwość sprawdzenia tego?

Pozdrawiam
Re: Czas generowania - Django
#28394
Author: lrekucki
Date: Tue, 07 Feb 2012 11:07
14 lines
1970 bytes
On Tuesday, 7 February 2012 08:59:04 UTC+1, Dsue  wrote:
> Jak sprawdzić jakie operacje zajmują Django czas? Napisałem system 
> który jest dość rozbudowany, ale czas generowania strony mnie nie 
> satysfakcjonuje i chciałbym zobaczyć które etapy trwają dłużej. Jest 
> jakaś możliwość sprawdzenia tego?
>

https://code.djangoproject.com/wiki/ProfilingDjango
http://stackoverflow.com/questions/2361985/profiling-django
http://packages.python.org/django-extensions/runprofileserver.html

Zasadniczo masz 3 opcje, każda trochę inna: hotshot, django-extensions lub django-debug-toolbar. 

Do monitorowania wąskich gardeła na produkcji polecam za to: http://newrelic.com/friends?tellapal.id=3faa9fc2-e9ab-4e21-889f-fa34dae77f9d&dist_src=link
Re: Czas generowania - Django
#28395
Author: Dsue
Date: Thu, 09 Feb 2012 13:47
16 lines
1341 bytes
On 2012-02-07 11:07:17 +0000, lrekucki@gmail.com said:
> 
> https://code.djangoproject.com/wiki/ProfilingDjango
> http://stackoverflow.com/questions/2361985/profiling-django
> http://packages.python.org/django-extensions/runprofileserver.html
> 
> Zasadniczo masz 3 opcje, każda trochę inna: hotshot, django-extensions
> lub django-debug-toolbar.
> 
> Do monitorowania wąskich gardeła na produkcji polecam za to: http://new
> relic.com/friends?tellapal.id=3faa9fc2-e9ab-4e21-889f-fa34dae77f9d&dist_s
> rc=link

Dzięki, przydało się.

Pozdrawiam
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads