You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "mbien (via GitHub)" <gi...@apache.org> on 2023/03/09 05:00:56 UTC

[GitHub] [netbeans] mbien opened a new pull request, #5638: disable warmup tasks

mbien opened a new pull request, #5638:
URL: https://github.com/apache/netbeans/pull/5638

   draft/experiment
   
   Some of the warmup tasks were written in times without concurrent classloading, no class data sharing, no tierd compilation, stop the world GCs, systems with 1-2 cores and mechanical disks.
   
   Today, they likely do more harm than good.
   I tested with disabled warmup tasks the first time usage of: menu entries, auto completion, rename refactoring, drag and drop, popups etc and could see no difference to before. Everything appeared instantly.
   
   The tasks would have taken ~3s total on my system after startup, time the IDE can spend for other things.
   
   the following tasks were active (X means now disabled):
   ```
   Found [
   X WarmUp/org-netbeans-modules-editor-EditorWarmUpTask,
   WarmUp/org-netbeans-modules-java-j2seplatform-DebianJavaPlatformDetector,
   X WarmUp/org-netbeans-modules-java-j2seplatform-J2SEPlatformWarmUp,
   WarmUp/org-netbeans-modules-java-j2seplatform-SdkManJavaPlatformDetector,
   X WarmUp/org-netbeans-modules-refactoring-impl-RefactoringWarmUpTask,
   MetaInfServicesLookup.Item[org.netbeans.core.ui.warmup.DiagnosticTask],
   X MetaInfServicesLookup.Item[org.netbeans.core.ui.warmup.DnDWarmUpTask],
   X MetaInfServicesLookup.Item[org.netbeans.core.ui.warmup.MenuWarmUpTask],
   X MetaInfServicesLookup.Item[org.netbeans.modules.java.editor.JavaEditorWarmUpTask$Provider]
   ] warm up task(s)
   ```
   remaining tasks are not used for warmup purposes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] lkishalmi commented on pull request #5638: disable warmup tasks

Posted by "lkishalmi (via GitHub)" <gi...@apache.org>.
lkishalmi commented on PR #5638:
URL: https://github.com/apache/netbeans/pull/5638#issuecomment-1461317965

   Well, I think they were written to get the tiered compilation kick in, so the UI and most important the editor performance would be good right from the start.
   
   I do not remember why I used the WarmUp hook for JavaPlatform detection instead of the usual module/main window lifecycle.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] mbien commented on pull request #5638: disable warmup tasks

Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on PR #5638:
URL: https://github.com/apache/netbeans/pull/5638#issuecomment-1467178864

   note to self: could reproduce a small slowdown (probably less than a second, compared to instant opening) when the very first editor tab opens. Might be a reason for keeping one of the editor warmup tasks active after investigating what needs to be still warmed up.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] mbien commented on pull request #5638: disable warmup tasks

Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on PR #5638:
URL: https://github.com/apache/netbeans/pull/5638#issuecomment-1461368305

   @lkishalmi I looked though the repo history and some were written when java 1.4 was hot (no tierd compiler back then). Some also mention class loading and even font loading in the comments.
   
   also I just mentioned that there might be more since some use the [`@OnShowing`](https://github.com/apache/netbeans/blob/master/platform/openide.windows/src/org/openide/windows/OnShowing.java) annotation


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists