Bug 497529 - Splash screen with flashing "Loading xyz" message is annoying and costs startup performance
Summary: Splash screen with flashing "Loading xyz" message is annoying and costs start...
Status: CLOSED DUPLICATE of bug 445802
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.6   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 497527
Blocks:
  Show dependency tree
 
Reported: 2016-07-07 17:59 EDT by Lars Vogel CLA
Modified: 2016-08-17 07:24 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2016-07-07 17:59:24 EDT
The spash screen gets currently updated very frequently with message about "Loading xyz ..." These messages are to fast to read and I suggest to replace them with a static message "Loading"...
Comment 1 Lars Vogel CLA 2016-07-07 18:14:45 EDT
With current progress reporting:

Millisencs 1875
Millisencs 1940
Millisencs 1893
Millisencs 1795
Millisencs 1658
Millisencs 1791

Without bundle information

Milli 1896
Milli 1715
Milli 1770
Milli 1700
Milli 1937
Milli 1701

Without bundle info and only every 4 ticks a UI update

Milli 1605
Milli 1640
Milli 1587
Milli 1760
Milli 1721
Milli 1618
Comment 2 Lars Vogel CLA 2016-07-07 18:19:08 EDT
To test the change:

Add the following to line 649 in Workbench.java

showProgress = true;
long start = System.currentTimeMillis();

Add the following before if (returnCode[0] == PlatformUI.RETURN_OK) { in line 675

long stop = System.currentTimeMillis();
System.out.println("Milli " + (stop - start)); //$NON-NLS-1$
Comment 3 Eclipse Genie CLA 2016-07-07 18:22:33 EDT
New Gerrit change created: https://git.eclipse.org/r/76912
Comment 4 Dirk Fauth CLA 2016-07-08 01:31:00 EDT
It also could lead to misinterpreting startup performance issues. On my Windows 7 machine at work the startup process hangs after starting the PC new with saying

"Loading org.eclipse.equinox.frameworkadmin"

Note that this is only happening the first time I start Eclipse Neon after the PC is started. On restarting it doesn't happen anymore. It sometimes comes if I switch to another workspace. But even that is not reproducable everytime. I suspect this is more related to cold start and Java in general and not Eclipse, as sub-sequent starts of Eclipse Neon are quite fast. But the message tells the user that there is a loading issue with the platform.
Comment 5 Brian de Alwis CLA 2016-07-11 08:06:07 EDT
-1 on removing the messages, at least by default: they provide valuable debugging support for diagnosing startup problems.
Comment 6 David Williams CLA 2016-07-16 11:54:20 EDT
I've never found the messages to be very helpful in debugging. Seems to me it is often the bundle *after* the one displayed that has a problem, and there is no way to determine which one that is without some other debugging. 

I do like the "progress" though. Seems to me it ought to be "percent" or perhaps 
something like "n of total" displayed (which could be in increments of 10 or something, if that improved performance). Naturally "total" may not be known exactly the first time, and we would just have to include an initial guess. But then each time it's started, "total" could be updated and "remembered" in instance preferences so it would be more accurate over time.  The advantage of this is that there would then be sort of an "explanation" presented to the user that the more they install, the longer the startup is (typically). 

Just an idea.
Comment 7 David Williams CLA 2016-07-16 11:56:20 EDT
And, I meant to say, I think some work was done similar to this, like 6 years ago. But, I looked and could not find any bugs that mentioned it. I looked primarily in 'releng' though, no "UI".
Comment 8 Lars Vogel CLA 2016-08-17 07:24:05 EDT

*** This bug has been marked as a duplicate of bug 445802 ***