Opened 16 years ago

Closed 15 years ago

#854 closed defect (invalid)

Dojo 0.3 page loading is slower than in 0.2.2 version

Reported by: [email protected] Owned by: bill
Priority: high Milestone: 0.9
Component: Widgets Version: 0.3
Keywords: widgets loading time 0.3 slower 0.2.2 Cc:
Blocked By: Blocking:


We are building web application based on dojo library. We are using many widget components(main page is very complex) like SplitPane?, LayoutPane?, FloatingPane?, ContentPane?, etc. Last time my job was performance optimalization of page loading time. One of my steps was to include the newest version of dojo - 0.3 (previous was 0.2.2). I had to make changes connected with new names of widgets we were using (SplitPane? -> SplitContainer?, LayotPane? -> LayoutContainer?) I have noticed that time of page loading (time when dojo is creating the widgets) is much longer for version 0.3 than 0.2.2 (in my case the difference was 2:1). I was trying to use djConfig.parseWidgets:false and searchIds but it doesn't help too much. In this situation our decision was to stay with dojo 0.2.2. I was wondering if it is possible to fix performance of page loading in 0.3 version ?

Change History (7)

comment:1 Changed 16 years ago by dylan

Component: GeneralWidgets
Milestone: 0.4
Owner: changed from anonymous to bill

is this still the case with the current svn head?

comment:2 Changed 16 years ago by dylan

Type: enhancementdefect

comment:3 Changed 16 years ago by tk

emailing the person who filed this ticket to get feedback.


comment:4 Changed 16 years ago by [email protected]

I have repeated the performance tests with the latest version of dojo and here are the results:

  1. The results are much better (about 60%) than on first version of dojo 0.3
  2. But there is still about 2 seconds difference between 0.2.2 and latest 0.3.x (it was 5 seconds before).

comment:5 Changed 16 years ago by [email protected]

These are the details of our main page widgets structure:

The main widget is a LayoutContainer? which contains few ContentPanes? and SplitContainer? with three containers. We have also few FloatingPanes? which usually contains LayoutConatiners? and one or two Buttons.

comment:6 Changed 16 years ago by bill

Milestone: 0.40.5

comment:7 Changed 15 years ago by Adam Peller

Resolution: invalid
Status: newclosed

too much has changed since the last comment. Dijit has completely rewritten the parser and many of the widgets, so 0.3 and 0.2 performance is no longer relevant.

Note: See TracTickets for help on using tickets.