Hi,

I was doing some loading time benchmarking in Chrome and I noticed that the 
javascript that sets up the actions in the admin page takes some time.

I pinpointed the problem to this jquery:

        $('form#changelist-form table#result_list tr').find('td:gt(0) 
:input').change(function() {
            list_editable_changed = true;
        });

If I replace it with the following top-down approach, the execution time of 
the overall function call is reduced from ~115ms to ~53ms (as seen in the 
attached screenshots)

        $('form#changelist-form table#result_list tr')
*.find('td:gt(0)').find(':input')*.change(function() {
            list_editable_changed = true;
        });

Has anybody noticed this or can reproduce it?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/86804109-cd6d-4514-82c1-72b53e000ef2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to