Re: Admin actions.js performance

2017-08-07 Thread ecas
er row). > > I can get it ~15ms faster by making it just one event handler, though it's > a bigger change: > $('#result_list').on('change', 'td:nth-child(n+2) :input', function() { > > On Fri, Aug 4, 2017 at 7:29 AM, ecas > > wrote: > >

Admin actions.js performance

2017-08-04 Thread ecas
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() {