Vote count:
0
I am developing a Django application.. everything works fine, but some pages are just really really slow. I did some profiling and the result was, that there is a lot of waste of time in the encoding.py
django_ws/venv/local/lib/python2.7/site-packages/django/utils/encoding.py:84(force_text)
I am losing more than five seconds and over 200.000 ncalls are mentioned. the webpage is a big form containing some subforms and there is one with a dropdown (about 2000 values). When I remove this dropdown it was half the calls considering encoding.py.
Why is force_text called THAT often? And why is it slowing down my webapp :(
asked 1 min ago
Django performance slow - encoding.py's fault?
Aucun commentaire:
Enregistrer un commentaire