Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#9388 closed enhancement (fixed)

Grid performance poor on data notifications

Reported by: Nathan Toone Owned by: Nathan Toone
Priority: high Milestone: 1.4
Component: DojoX Grid Version: 1.3.0
Keywords: Cc:
Blocked By: Blocking:

Description

When the datastore notifcation calls many onSet/onNew/onDelete in succession, the performance of the grid gets really poor - since we try to rerender that row (or page, or whatever) only to have the item (or another one) change really soon afterwards.

There should be some kind of delay - so that when updating items within a loop (a common occurance), the grid doesn't render for a short time. This delay should be configurable.

Change History (7)

comment:1 Changed 10 years ago by Nathan Toone

(In [17834]) Refs #9388 - test cases to check our performance gain

comment:2 Changed 10 years ago by Nathan Toone

(In [17836]) Refs #9388 - fix test case to not die

comment:3 Changed 10 years ago by Nathan Toone

We should be able to leverage the beginUpdate/endUpdate mechanism here to accomplish this.

comment:4 Changed 10 years ago by Nathan Toone

Resolution: fixed
Status: newclosed

(In [17837]) Fixes #9388 - use beginUpdate/endUpdate in order to provide more performance when datastores are changed frequently !strict

comment:5 Changed 10 years ago by Nathan Toone

(In [17838]) Refs #9388 - missed deleting the timeout item when finished with it !strict

comment:6 Changed 10 years ago by Nathan Toone

(In [17851]) Refs #9388 - bad scope !strict

comment:7 Changed 10 years ago by Adam Peller

Milestone: tbd1.4
Note: See TracTickets for help on using tickets.