Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsEclipse 3.2 RCP help - speed up first time loading?
https://www.eclipse.org/forums/index.php/mv/msg/149948/471303/#msg_471303
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]]>Conor O'Mahony2008-01-03T15:11:08-00:00Re: Eclipse 3.2 RCP help - speed up first time loading?
https://www.eclipse.org/forums/index.php/mv/msg/149948/606315/#msg_606315
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.]]>Chris Goldthorpe2008-01-03T19:22:29-00:00Re: Eclipse 3.2 RCP help - speed up first time loading?
https://www.eclipse.org/forums/index.php/mv/msg/149948/471427/#msg_471427
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.]]>Chris Goldthorpe2008-01-03T19:22:29-00:00Re: Eclipse 3.2 RCP help - speed up first time loading?
https://www.eclipse.org/forums/index.php/mv/msg/149948/606325/#msg_606325
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.]]>Conor O'Mahony2008-01-04T11:12:21-00:00Re: Eclipse 3.2 RCP help - speed up first time loading?
https://www.eclipse.org/forums/index.php/mv/msg/149948/471431/#msg_471431
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.]]>Conor O'Mahony2008-01-04T11:12:21-00:00Re: Eclipse 3.2 RCP help - speed up first time loading?
https://www.eclipse.org/forums/index.php/mv/msg/149948/606328/#msg_606328
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.]]>Chris Goldthorpe2008-01-04T17:33:49-00:00Re: Eclipse 3.2 RCP help - speed up first time loading?
https://www.eclipse.org/forums/index.php/mv/msg/149948/471432/#msg_471432
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.]]>Chris Goldthorpe2008-01-04T17:33:49-00:00