| Eclipse 3.2 RCP help - speed up first time loading? [message #471303] |
Thu, 03 January 2008 10:11  |
Conor O'Mahony Messages: 108 Registered: July 2009 |
Senior Member |
|
|
Hi,
We have an Eclipse 3.2 RCP application and we have created a help plugin for the application, which
works fine. However the first time the help is launched the help viewer takes a while to load, but
any subsequent calls to the help system open the viewer much quicker.
Is there any way to load the help when the RCP application is launching for the first time, so that
when the help is called after this it will launch quicker? Or is it not desirable load the help
plugins at startup?
Many thanks for your help,
Conor
|
|
|
|
|
| Re: Eclipse 3.2 RCP help - speed up first time loading? [message #471432 is a reply to message #471431] |
Fri, 04 January 2008 12:33  |
Chris Goldthorpe Messages: 815 Registered: July 2009 |
Senior Member |
|
|
There are a couple of things that happen only the first time help is
started: The app server is started and the contents are assembled. The
time to assemble the contents depends on the number of topics you have,
the time to start the app server is relatively constant. 8-9 seconds
sounds like a long time. If you start the application up without any
help content plugins you can see how much difference it makes, which
will at least tell you whether it is assembling the table of contents
that is eating up all of the time.
|
|
|
| Re: Eclipse 3.2 RCP help - speed up first time loading? [message #606315 is a reply to message #471303] |
Thu, 03 January 2008 14:22  |
Chris Goldthorpe Messages: 815 Registered: July 2009 |
Senior Member |
|
|
When you say that it is slow the first time do you mean that it is slow
the first time you open help after installing the RCP app or that help
opens slowly every time you relaunch the RCP app and open help? If it is
the former prebuilding your help indexes may make a difference, it will
definitely speed up the first search you do although I can't tell from
the description if that is what you are seeing.
|
|
|
| Re: Eclipse 3.2 RCP help - speed up first time loading? [message #606325 is a reply to message #471427] |
Fri, 04 January 2008 06:12  |
Conor O'Mahony Messages: 108 Registered: July 2009 |
Senior Member |
|
|
Hi Chris/all,
No it is the latter, it is when I relaunch the RCP app and open help - it takes for example 8-9
seconds to open the help viewer the first time, but then it takes for example 1-2 seconds each time
after that when I reopen help during this instance of the app.
I can see in debug mode that a number of threads are started (e.g. one is called Help Browser UI)
when I open help the first time, and these remain running when I close the help, so that when I open
help a second time, it takes much less time to display the help viewer as these threads are already
running.
Does anyone have any ideas how I can speed up the first opening of the help viewer?
Chris Goldthorpe wrote:
> When you say that it is slow the first time do you mean that it is slow
> the first time you open help after installing the RCP app or that help
> opens slowly every time you relaunch the RCP app and open help? If it is
> the former prebuilding your help indexes may make a difference, it will
> definitely speed up the first search you do although I can't tell from
> the description if that is what you are seeing.
|
|
|
| Re: Eclipse 3.2 RCP help - speed up first time loading? [message #606328 is a reply to message #471431] |
Fri, 04 January 2008 12:33  |
Chris Goldthorpe Messages: 815 Registered: July 2009 |
Senior Member |
|
|
There are a couple of things that happen only the first time help is
started: The app server is started and the contents are assembled. The
time to assemble the contents depends on the number of topics you have,
the time to start the app server is relatively constant. 8-9 seconds
sounds like a long time. If you start the application up without any
help content plugins you can see how much difference it makes, which
will at least tell you whether it is assembling the table of contents
that is eating up all of the time.
|
|
|
Powered by
FUDForum. Page generated in 0.07403 seconds