Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 153037 - [Help][Webapp] The performance issue in master index view when loading a big index file
Summary: [Help][Webapp] The performance issue in master index view when loading a big ...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P2 normal with 2 votes (vote)
Target Milestone: 3.3 M6   Edit
Assignee: Chris Goldthorpe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-08 03:17 EDT by Zhou Jian Xin CLA
Modified: 2007-04-27 17:15 EDT (History)
1 user (show)

See Also:


Attachments
Here is the sample index file (632.84 KB, application/x-zip-compressed)
2006-08-08 03:20 EDT, Zhou Jian Xin CLA
no flags Details
Plug-in vresion of the zip file. (640.16 KB, application/octet-stream)
2006-10-24 14:58 EDT, Eric Sirois CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zhou Jian Xin CLA 2006-08-08 03:17:13 EDT
When you access the Infocenter which including big index file, it takes a lot of time to load master index view. I think it's a performance problem.
Comment 1 Zhou Jian Xin CLA 2006-08-08 03:20:04 EDT
Created attachment 47509 [details]
Here is the sample index file

You can reproduct the performance issue with this package.
Comment 2 Eric Sirois CLA 2006-10-24 14:58:02 EDT
Created attachment 52623 [details]
Plug-in vresion of the zip file.  

Here is the plug-in version of the zip file that was originally provided.
Comment 3 Eric Sirois CLA 2006-10-24 15:12:16 EDT
The main performance issue that we are seeing in the master index view is that processing of the index file are in the main event queue and it's freezing the browser until processing of the index files is completed.  

The behaviour that we would like to see if something similar to the Search Index tab - some sort of progress indication, allow users to do other tasks while the indexes are being processed and the imaster ndexes cached (in alphabetical order) so that the master indexes is not sorted every single time it is started in standalone mode.  

In Infocenter mode, once the master index has been generated, it seems to be doing a better job loading the values into the view.  But it seems to be using the event queue to load things and the browser is locked until all the index processing was completed.

We have a workaround, where we can merge all the index entries into one large index.xml file, but that break our guidelines for creating documentation plugins.

I'm using a WinXP Sp2 on a dual core 2.1Ghz machine with 2GB of RAM  and it was taking between 1-2 minutes to process the indexes.

Kind regards,
Eric
Comment 4 Curtis d'Entremont CLA 2006-10-30 09:36:39 EST
As confirmed with Eric, it appears this performance problem has mostly gone away in 3.3 with the rewrite of the index loading code (from 1-2 min down to ~5s).

Still, I am leaving open for more performance work near the end of 3.3.
Comment 5 Chris Goldthorpe CLA 2007-04-18 16:15:22 EDT
Eric, can you comment on whether the problem you reported is now solved (or at least significantly improved).
Comment 6 Eric Sirois CLA 2007-04-18 17:01:17 EDT
Hi Chris,

Preamble...I haven't tested the latest build.  The last time I looked at this was a couple of weeks ago. 

For the issue of the Index Tab locking up the browser when loading the index entries.  That has been solved.  That was our main issue.  The loading of the index has improved as well.  I would say that the changes are significant.

I do have a few more comments regarding this version of the index tab.
 - Visual queue for progress indication
    Is it possible to have something that displays a percentage of the time left to load the index entries.  Something along the lines as the Search Index progress indication.
  - I can't tab to next and back links in the Index tab.
  - I haven't been able to test the Index Tab in infocenter mode yet, but only as help from the workbench.  I'm not sure if the behaviour will be different in infocenter mode, but when I close the workbench and re-opne it later the help has to process the index entries again.  If I open and close the help multiple times when the workbench is running, the Index Tab does not have to do any processing.  Is it possible to have the same behaviour in the help when closing the workbench..with the caveat the if there were new plugins added, it's perfectly acceptable to process the indexes again.

If these comments are best addressed as separate defects, please let me know.

Eric
Comment 7 Curtis d'Entremont CLA 2007-04-25 16:43:05 EDT
Chris, did you want to close this one?
Comment 8 Eric Sirois CLA 2007-04-25 16:45:28 EDT
Do I need to open a defect for the other issues that I had found/raised?

Eric
Comment 9 Chris Goldthorpe CLA 2007-04-25 17:03:52 EDT
Hi Eric,

If you can file a new bug report for the other issue that would be great, then I'll close this one. 
Comment 10 Chris Goldthorpe CLA 2007-04-25 20:26:34 EDT
I think that between Curtis and myself we fixed this in M6. Eric can you file new bugs for any other performance problems (other than the problem already reported in Bug 178445).
Comment 11 Chris Goldthorpe CLA 2007-04-27 17:15:02 EDT
Closing as fixed.