Re: Slow page load performance with a large number of formsets (over 25)

2022-02-26 Thread Carlos R. Pacheco F.
The solution is to use select2 with ajax El vie, 25 feb 2022 a la(s) 19:58, Jacob Greene (jacobgreene1...@gmail.com) escribió: > If you're using model choice fields, it's very likely you are making an > SQL query for each form set. It should be pretty obvio

Re: Slow page load performance with a large number of formsets (over 25)

2022-02-26 Thread Antonis Christofides
es for a week and I’m starting to lose it…lol Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows *From: *Jacob Greene <mailto:jacobgreene1...@gmail.com> *Sent: *Friday, February 25, 2022 5:58 PM *To: *django-users@googlegroups.com *Subje

Re: Slow page load performance with a large number of formsets (over 25)

2022-02-25 Thread Steve Smith
, February 25, 2022 5:58 PM To: django-users@googlegroups.com<mailto:django-users@googlegroups.com> Subject: Re: Slow page load performance with a large number of formsets (over 25) If you're using model choice fields, it's very likely you are making an SQL query for each form

Re: Slow page load performance with a large number of formsets (over 25)

2022-02-25 Thread Jacob Greene
o: *django-users@googlegroups.com > *Subject: *Re: Slow page load performance with a large number of formsets > (over 25) > > > > If you're using model choice fields, it's very likely you are making an > SQL query for each form set. It should be pretty obvious in the log with

RE: Slow page load performance with a large number of formsets (over 25)

2022-02-25 Thread Steve Smith
2 5:58 PM To: django-users@googlegroups.com<mailto:django-users@googlegroups.com> Subject: Re: Slow page load performance with a large number of formsets (over 25) If you're using model choice fields, it's very likely you are making an SQL query for each form set. It should be pretty o

Re: Slow page load performance with a large number of formsets (over 25)

2022-02-25 Thread Jacob Greene
If you're using model choice fields, it's very likely you are making an SQL query for each form set. It should be pretty obvious in the log with debug turned on. On Fri, Feb 25, 2022, 4:31 PM Ryan Nowakowski wrote: > Steven, are you using ModelFormSet? If so, Is it the initial query > that's sl

Re: Slow page load performance with a large number of formsets (over 25)

2022-02-25 Thread Ryan Nowakowski
Steven, are you using ModelFormSet? If so, Is it the initial query that's slow? The form rendering? Or is it the POST back to the server that's slow? You can use django-debug-toolbar[1] to profile your page and get these metrics. Once you figure out what part is slowest, then you can optimize.

Re: Slow page load performance with a large number of formsets (over 25)

2022-02-08 Thread Steven Smith
What is hard reload? On Monday, February 7, 2022 at 12:43:08 PM UTC-6 abdouli...@gmail.com wrote: > Try hard reload it's little bit faster > > On Mon, Feb 7, 2022, 18:12 Steven Smith wrote: > >> Did this issue ever get resolved? I'm experiencing the same thing. Once >> it hits 100 forms or so

Re: Slow page load performance with a large number of formsets (over 25)

2022-02-07 Thread Abdulrahman Abbas
Try hard reload it's little bit faster On Mon, Feb 7, 2022, 18:12 Steven Smith wrote: > Did this issue ever get resolved? I'm experiencing the same thing. Once > it hits 100 forms or so it gets pretty slow. > > On Monday, September 22, 2014 at 10:48:52 AM UTC-5 Collin Anderson wrote: > >> Yes,

Re: Slow page load performance with a large number of formsets (over 25)

2022-02-07 Thread Steven Smith
Did this issue ever get resolved? I'm experiencing the same thing. Once it hits 100 forms or so it gets pretty slow. On Monday, September 22, 2014 at 10:48:52 AM UTC-5 Collin Anderson wrote: > Yes, if you want speed, using javascript and ajax is probably your best > bet. It will probably also

Re: Slow page load performance with a large number of formsets (over 25)

2014-09-22 Thread Collin Anderson
Yes, if you want speed, using javascript and ajax is probably your best bet. It will probably also reduce merge-conflicts. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an

Re: Slow page load performance with a large number of formsets (over 25)

2014-09-21 Thread bobhaugen
We have had the same problem, but with a large number of forms. I have profiled the situation and the load time is dominated by form rendering on the server. I remember vaguely something about caching forms so they don't need to be re-rendered, but can't find it now. And I don't understand the

Slow page load performance with a large number of formsets (over 25)

2014-09-20 Thread Jason
We are new to the Django framework and are currently building an application in PythonAnywhere. We have a couple of html pages where the volume of formsets that we are loading up varies from 25 to 100. We find that when we use a small number of formsets, the page loads very quickly. However,