Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EPF » 40% off publishing time needed :)
40% off publishing time needed :) [message #37759] Mon, 13 August 2007 14:05 Go to next message
danny foncke is currently offline danny fonckeFriend
Messages: 92
Registered: July 2009
Member
Investigating the publish mechanism (because I need to change it) I
noticed that HtmlBuilder.generateHtml(IElementLayout layout) gets called
twice, due to the thread-checking code in
AbstractViewBuilder.publish(final IProgressMonitor monitor, final
MethodElement element)

Eliminating one call (commentin out the thread-checking code) saved me
40 % on publication time :) (without side effects .... I think ;) )
was :
org.eclipse.epf.publishing.services.ConfigurationViewBuilder .buildViews:
134574 ms
becomes:
org.eclipse.epf.publishing.services.ConfigurationViewBuilder .buildViews:
74235 ms

Danny
Re: 40% off publishing time needed :) [message #37832 is a reply to message #37759] Mon, 13 August 2007 20:06 Go to previous messageGo to next message
Peter Haumer is currently offline Peter HaumerFriend
Messages: 228
Registered: July 2009
Senior Member
That is good info. We will look into that. Thanks a lot.
Peter.


"danny" <danny.foncke@smals-mvm.be> wrote in message
news:f9pof1$vio$1@build.eclipse.org...
> Investigating the publish mechanism (because I need to change it) I
> noticed that HtmlBuilder.generateHtml(IElementLayout layout) gets called
> twice, due to the thread-checking code in
> AbstractViewBuilder.publish(final IProgressMonitor monitor, final
> MethodElement element)
>
> Eliminating one call (commentin out the thread-checking code) saved me 40
> % on publication time :) (without side effects .... I think ;) )
> was :
> org.eclipse.epf.publishing.services.ConfigurationViewBuilder .buildViews:
> 134574 ms
> becomes:
> org.eclipse.epf.publishing.services.ConfigurationViewBuilder .buildViews:
> 74235 ms
>
> Danny
>
Re: 40% off publishing time needed :) [message #37898 is a reply to message #37832] Mon, 13 August 2007 23:57 Go to previous message
Peter Haumer is currently offline Peter HaumerFriend
Messages: 228
Registered: July 2009
Senior Member
Hi Danny.
This was a good catch. An error that happened during refactoring. Our
committer Jinhua has fixed it and you should see it in today's or tomorrow's
nightly build. Thanks a lot for pointing this out to us.

Peter.



"Peter Haumer" <phaumer@us.ibm.com> wrote in message
news:f9qdjb$b3q$1@build.eclipse.org...
> That is good info. We will look into that. Thanks a lot.
> Peter.
>
>
> "danny" <danny.foncke@smals-mvm.be> wrote in message
> news:f9pof1$vio$1@build.eclipse.org...
>> Investigating the publish mechanism (because I need to change it) I
>> noticed that HtmlBuilder.generateHtml(IElementLayout layout) gets called
>> twice, due to the thread-checking code in
>> AbstractViewBuilder.publish(final IProgressMonitor monitor, final
>> MethodElement element)
>>
>> Eliminating one call (commentin out the thread-checking code) saved me 40
>> % on publication time :) (without side effects .... I think ;) )
>> was :
>> org.eclipse.epf.publishing.services.ConfigurationViewBuilder .buildViews:
>> 134574 ms
>> becomes:
>> org.eclipse.epf.publishing.services.ConfigurationViewBuilder .buildViews:
>> 74235 ms
>>
>> Danny
>>
>
>
Re: 40% off publishing time needed :) [message #581747 is a reply to message #37759] Mon, 13 August 2007 20:06 Go to previous message
Peter Haumer is currently offline Peter HaumerFriend
Messages: 228
Registered: July 2009
Senior Member
That is good info. We will look into that. Thanks a lot.
Peter.


"danny" <danny.foncke@smals-mvm.be> wrote in message
news:f9pof1$vio$1@build.eclipse.org...
> Investigating the publish mechanism (because I need to change it) I
> noticed that HtmlBuilder.generateHtml(IElementLayout layout) gets called
> twice, due to the thread-checking code in
> AbstractViewBuilder.publish(final IProgressMonitor monitor, final
> MethodElement element)
>
> Eliminating one call (commentin out the thread-checking code) saved me 40
> % on publication time :) (without side effects .... I think ;) )
> was :
> org.eclipse.epf.publishing.services.ConfigurationViewBuilder .buildViews:
> 134574 ms
> becomes:
> org.eclipse.epf.publishing.services.ConfigurationViewBuilder .buildViews:
> 74235 ms
>
> Danny
>
Re: 40% off publishing time needed :) [message #581775 is a reply to message #37832] Mon, 13 August 2007 23:57 Go to previous message
Peter Haumer is currently offline Peter HaumerFriend
Messages: 228
Registered: July 2009
Senior Member
Hi Danny.
This was a good catch. An error that happened during refactoring. Our
committer Jinhua has fixed it and you should see it in today's or tomorrow's
nightly build. Thanks a lot for pointing this out to us.

Peter.



"Peter Haumer" <phaumer@us.ibm.com> wrote in message
news:f9qdjb$b3q$1@build.eclipse.org...
> That is good info. We will look into that. Thanks a lot.
> Peter.
>
>
> "danny" <danny.foncke@smals-mvm.be> wrote in message
> news:f9pof1$vio$1@build.eclipse.org...
>> Investigating the publish mechanism (because I need to change it) I
>> noticed that HtmlBuilder.generateHtml(IElementLayout layout) gets called
>> twice, due to the thread-checking code in
>> AbstractViewBuilder.publish(final IProgressMonitor monitor, final
>> MethodElement element)
>>
>> Eliminating one call (commentin out the thread-checking code) saved me 40
>> % on publication time :) (without side effects .... I think ;) )
>> was :
>> org.eclipse.epf.publishing.services.ConfigurationViewBuilder .buildViews:
>> 134574 ms
>> becomes:
>> org.eclipse.epf.publishing.services.ConfigurationViewBuilder .buildViews:
>> 74235 ms
>>
>> Danny
>>
>
>
Previous Topic:EPF webinar coming next week
Next Topic:Define Vision#Gather stakeholder requests
Goto Forum:
  


Current Time: Fri Nov 21 02:32:55 GMT 2014

Powered by FUDForum. Page generated in 0.03009 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software