Opened 7 years ago

Closed 3 years ago

#15490 closed enhancement (patchwelcome)

dojo charting - slow rendering

Reported by: Martin Repta Owned by: Eugene Lazutkin
Priority: low Milestone: 1.13
Component: Charting Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:

Description

When chart has to render many items, like in my case 300, screen rendering becomes very slow, because chart rendering is running synchronously. I did some profiling in IE9 and found that there my be need of some optimization, especially in animation... My chart contains three series, each has 100 items. That means 300 items together, but animation is running 600 times as you can see on attached picture. I have attached sample code and profile preview.

Attachments (3)

profiling.jpg (208.5 KB) - added by Martin Repta 7 years ago.
random.js (356 bytes) - added by Martin Repta 7 years ago.
script.js (1.1 KB) - added by Martin Repta 7 years ago.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by Martin Repta

Attachment: profiling.jpg added

Changed 7 years ago by Martin Repta

Attachment: random.js added

Changed 7 years ago by Martin Repta

Attachment: script.js added

comment:1 Changed 7 years ago by cjolif

Priority: undecidedlow
Type: defectenhancement

martinerko, the animation is not running 600 times. The animateColumn method is called for each data item. As you have 300 items, if there are 600 calls it means it is run 2 times not 600. That said there is certainly room for improvements. I'm keeping that one open as an enhancement request for this. Any patch improving performances is welcome.

comment:2 Changed 3 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: newclosed

Given that no one has shown interest in creating a patch in the past 3+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.