Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] Profiling results: switching between editors

Hi Stefan,

Thanks for the analysis. The Team in Canada is on a long holiday so for
RC1 I don't think they can take a look.

Would you mind filing a bug so that we can track informations about this
there.

Please post the bug-id afterwards to this forum.

Tom

Am 01.07.10 18:48, schrieb Stefan Mücke:
> With the jar file from Tom, the E4 SDK now works fine again.
> 
> Switching between editors, however, is still very slow. I did a quick analysis with the YourKit Java Profiler, just in case it might be useful to you for some final fixes (if it's not too late already).
> 
> Here is what I did:
> 
> 1. Open two text files (almost empty)
> 2. Start the profiler
> 3. Switch from one editor to the other
> 4. Stop the profiler
> 
> Thus, there was only a single focus transfer.
> 
> The results are (see also attached screenshots): Most of the time is consumed by the invocation of java.lang.reflect.Method.getParameterAnnotations(). For a single focus transfer, this method is called several thousand times. The back traces show that these inovations come from the setId() and setClassname() methods in the PartRenderingEngine, which in turn gets called on part activation (WBWRenderer.trackActivePart(...)).
> Unfortunately, I cannot tell which method in the stack trace actually causes these many invations, because the invocation counts in the profiler are not shown (for some unknown reason).
> 
> Is there a way to reduce this high count of invocations? This would greatly improve the editor switching time.
> 
> Please let me know if I can help you with some more profiling.
> 
> Stefan Mücke
> 
> 
> 
> 
> _______________________________________________
> e4-dev mailing list
> e4-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/e4-dev


-- 
B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl                                        geschaeftsfuehrer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5/1    A-6020 innsbruck      phone    ++43 512 935834


Back to the top