Menu Performance
2005/10/19 16:29
Viewed 4897 times
Replies: 1/8

I have an issue with menu loading.

Was bench marking performance issues on my page loading. During the first few loads, the hmenu.js loads with in a second.

As I increase the page loads, by reloading many times, the time taken for the menu to load increases gradually.

I checked after many page loads, the time has increased to 6 seconds.

The application which I am working is very crittical and performance takes the highest priority.

Any help will be appreciated. If you need the code which I am working on, I can mail it.

thanks ......

Re: Menu Performance
2005/10/19 16:39
Viewed 6353 times
Replies: 1/7

Try using the "lazy" parameter.

In any case, what you describe happens usually in Internet Explorer due to memory leaks. We carefully designed our menu to avoid such leaks, but if other code on your page leaks memory then you'll get the same results...

last
Re[2]: Menu Performance
2005/10/19 17:07
Viewed 7830 times
Replies: 1/6

I used 'lazy : true ' parameter in the menu setup. code for menu setup

menu=DynarchMenu.setup('menu',{electric: 10000, context: true, lazy : true});

When I use lazy parameter, I get javascript error

menu.items.somesubmenu is null or not an object.

Here is the scenario what I am doing,

My page contains lot of div which are dynamically tranformed using xml and xsl.

I enable or diable menus based on some permissions. So when I use the lazy parameter, i think the menu is not getting loaded and I am trying to disable or enable some of the items which are not yet loaded.

Any idea?

last
Google