You are viewing a plain text version of this content. The canonical link for it is here.
Posted to netcat@netbeans.apache.org by Scott Palmer <sw...@gmail.com> on 2019/04/12 14:26:29 UTC

Very Slow Operations with NB 11

What is the best course of action for reporting slowness?  I can’t share my project.
I’m not certain how to give step-by-step instructions when the problem is basically one step in most cases.  E.g. invoke auto-complete - nothing happens for several seconds.  Invoke rename - dialog doesn’t appear for several seconds.  Find usages - extremely slow > 5 second delay on a private member of a class less than 100 lines.

In general it seems NB 11 is noticeably slower than NB 8.2. Not good considering slowness was already my #1 complaint about NB 8.2.  I have so far found the benefits of NB outweigh the fact that it is much slower than other IDEs for the same operations, but the slowness of NB 11 is tipping the scale.  I don’t want to switch IDEs, pease don’t interpret this as some sort of threat to do so. I would like to help find the issues in NB.  But I don’t have the bandwidth to debug NB and not being about to share my project makes it difficult to provide helpful reports :-(

Are others seeing the slowness?

Find usages, renames, call-hierarchy, auto-complete… things I use all the time, I often have to wait 5 to 10 seconds for a response from the IDE, sometimes more.

I’ve already deleted user dir and cache and restarted. 
I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.

Is there a wiki page with instructions on profiling the IDE?  Maybe I can collect something useful.

Scott


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

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


Re: Very Slow Operations with NB 11

Posted by Thomas Wolf <tj...@gmail.com>.
Hi Scott,
My JSE project has 622 java files (about 130k ncsl).   But I’ve used NB 8
at a previous company without any of the delays you mention - and there, I
had a JSE project with some 4,000+ Java files.

tom

On Fri, Apr 12, 2019 at 11:07 AM Scott Palmer <sw...@gmail.com> wrote:

> I’m not the only one in my organization that has issues with NB speed, and
> that was with 8.2.
> Some of the others choose to use Eclipse because these operations are so
> much faster (no perceivable delay vs seconds of delay in NB).
>
> I’m the only one that has tried NB 11 so far.
>
> I will try to see if I can make a Maven project template that will load my
> project for testing purposes It would be too much work to make a similar
> size project from scratch and small projects are less likely to exhibit the
> problem.
>
> Just curious, how many java files are in the projects you are using?
>
> I have a bit over 900 .java files in multiple sub-projects.  Usually 3 or
> 4 of the subprojects would be open in NB.  The three main projects have:
>
> 489 java files
> 304 java files
> 61 java files
>
> Scott
>
>
> On Apr 12, 2019, at 10:51 AM, Thomas Wolf <tj...@gmail.com> wrote:
>
> "Are others seeing the slowness?"
>
> I just switched from 8.2 to 11 and haven't seen the slowness you describe.
>   I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my project with
> JDK 8.  Also, I've used NB since the early days (first used it in 1999) and
> 8.2 was pretty quick compared to some previous releases.  I certainly
> didn't think it was any slower in doing the activities you mention than,
> say, IntelliJ that I recently tried out for a week or so.  If you thought
> 8.2 was already slow, perhaps it's something environmental related - i.e.
> something in your setup.
> (a few years ago, some people were having problems with NB on networked
> file systems.  Is your project on a shared/networked drive?  Just stabbing
> in the dark.)
>
>
> On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <sw...@gmail.com> wrote:
>
>> What is the best course of action for reporting slowness?  I can’t share
>> my project.
>> I’m not certain how to give step-by-step instructions when the problem is
>> basically one step in most cases.  E.g. invoke auto-complete - nothing
>> happens for several seconds.  Invoke rename - dialog doesn’t appear for
>> several seconds.  Find usages - extremely slow > 5 second delay on a
>> private member of a class less than 100 lines.
>>
>> In general it seems NB 11 is noticeably slower than NB 8.2. Not good
>> considering slowness was already my #1 complaint about NB 8.2.  I have so
>> far found the benefits of NB outweigh the fact that it is much slower than
>> other IDEs for the same operations, but the slowness of NB 11 is tipping
>> the scale.  I don’t want to switch IDEs, pease don’t interpret this as some
>> sort of threat to do so. I would like to help find the issues in NB.  But I
>> don’t have the bandwidth to debug NB and not being about to share my
>> project makes it difficult to provide helpful reports :-(
>>
>> Are others seeing the slowness?
>>
>> Find usages, renames, call-hierarchy, auto-complete… things I use all the
>> time, I often have to wait 5 to 10 seconds for a response from the IDE,
>> sometimes more.
>>
>> I’ve already deleted user dir and cache and restarted.
>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>>
>> Is there a wiki page with instructions on profiling the IDE?  Maybe I can
>> collect something useful.
>>
>> Scott
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: netcat-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>
> --
> tjwolf@gmail.com
> http://landofwolf.blogspot.com/
>
>
> --
tjwolf@gmail.com
http://landofwolf.blogspot.com/

RE: Very Slow Operations with NB 11

Posted by pe...@webparity.net.
There are only 44 .java files for me and I never program in Java. I'm an Angular/Node/Bootstrap guy.  This is for 8.2

There are only 33 being used in NB 10

There are only 36 being used in NB 11

This is for me...


Peter Borreggine
Owner and Developer
Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO
WebParity.net
A Service Connected Disabled Veteran Owned Business
WA State License: 603-501-609
360-830-8926 C

“Lead, Follow or Get Out of the Way…”
- Lee Iacocca, former head of Chrysler and Ford

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and its attachments. Any unauthorized review, use, disclosure, or distribution is prohibited.

-----Original Message-----
From: Scott Palmer <sw...@gmail.com> 
Sent: Friday, April 12, 2019 8:08 AM
To: Thomas Wolf <tj...@gmail.com>
Cc: dev <de...@netbeans.incubator.apache.org>; netcat <ne...@netbeans.apache.org>; Geertjan Wielenga <ge...@apache.org>
Subject: Re: Very Slow Operations with NB 11

I’m not the only one in my organization that has issues with NB speed, and that was with 8.2.  
Some of the others choose to use Eclipse because these operations are so much faster (no perceivable delay vs seconds of delay in NB).

I’m the only one that has tried NB 11 so far.

I will try to see if I can make a Maven project template that will load my project for testing purposes It would be too much work to make a similar size project from scratch and small projects are less likely to exhibit the problem.

Just curious, how many java files are in the projects you are using?

I have a bit over 900 .java files in multiple sub-projects.  Usually 3 or 4 of the subprojects would be open in NB.  The three main projects have:

489 java files
304 java files
61 java files

Scott


> On Apr 12, 2019, at 10:51 AM, Thomas Wolf <tj...@gmail.com> wrote:
> 
> "Are others seeing the slowness?"
> 
> I just switched from 8.2 to 11 and haven't seen the slowness you describe.   I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my project with JDK 8.  Also, I've used NB since the early days (first used it in 1999) and 8.2 was pretty quick compared to some previous releases.  I certainly didn't think it was any slower in doing the activities you mention than, say, IntelliJ that I recently tried out for a week or so.  If you thought 8.2 was already slow, perhaps it's something environmental related - i.e. something in your setup.
> (a few years ago, some people were having problems with NB on 
> networked file systems.  Is your project on a shared/networked drive?  
> Just stabbing in the dark.)
> 
> 
> On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <swpalmer@gmail.com <ma...@gmail.com>> wrote:
> What is the best course of action for reporting slowness?  I can’t share my project.
> I’m not certain how to give step-by-step instructions when the problem is basically one step in most cases.  E.g. invoke auto-complete - nothing happens for several seconds.  Invoke rename - dialog doesn’t appear for several seconds.  Find usages - extremely slow > 5 second delay on a private member of a class less than 100 lines.
> 
> In general it seems NB 11 is noticeably slower than NB 8.2. Not good 
> considering slowness was already my #1 complaint about NB 8.2.  I have 
> so far found the benefits of NB outweigh the fact that it is much 
> slower than other IDEs for the same operations, but the slowness of NB 
> 11 is tipping the scale.  I don’t want to switch IDEs, pease don’t 
> interpret this as some sort of threat to do so. I would like to help 
> find the issues in NB.  But I don’t have the bandwidth to debug NB and 
> not being about to share my project makes it difficult to provide 
> helpful reports :-(
> 
> Are others seeing the slowness?
> 
> Find usages, renames, call-hierarchy, auto-complete… things I use all the time, I often have to wait 5 to 10 seconds for a response from the IDE, sometimes more.
> 
> I’ve already deleted user dir and cache and restarted. 
> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
> 
> Is there a wiki page with instructions on profiling the IDE?  Maybe I can collect something useful.
> 
> Scott
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org 
> <ma...@netbeans.apache.org>
> For additional commands, e-mail: netcat-help@netbeans.apache.org 
> <ma...@netbeans.apache.org>
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists 
> <https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
> 
> 
> 
> --
> tjwolf@gmail.com <ma...@gmail.com> 
> http://landofwolf.blogspot.com/ <http://landofwolf.blogspot.com/>


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

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


RE: Very Slow Operations with NB 11

Posted by pe...@webparity.net.
There are only 44 .java files for me and I never program in Java. I'm an Angular/Node/Bootstrap guy.  This is for 8.2

There are only 33 being used in NB 10

There are only 36 being used in NB 11

This is for me...


Peter Borreggine
Owner and Developer
Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO
WebParity.net
A Service Connected Disabled Veteran Owned Business
WA State License: 603-501-609
360-830-8926 C

“Lead, Follow or Get Out of the Way…”
- Lee Iacocca, former head of Chrysler and Ford

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and its attachments. Any unauthorized review, use, disclosure, or distribution is prohibited.

-----Original Message-----
From: Scott Palmer <sw...@gmail.com> 
Sent: Friday, April 12, 2019 8:08 AM
To: Thomas Wolf <tj...@gmail.com>
Cc: dev <de...@netbeans.incubator.apache.org>; netcat <ne...@netbeans.apache.org>; Geertjan Wielenga <ge...@apache.org>
Subject: Re: Very Slow Operations with NB 11

I’m not the only one in my organization that has issues with NB speed, and that was with 8.2.  
Some of the others choose to use Eclipse because these operations are so much faster (no perceivable delay vs seconds of delay in NB).

I’m the only one that has tried NB 11 so far.

I will try to see if I can make a Maven project template that will load my project for testing purposes It would be too much work to make a similar size project from scratch and small projects are less likely to exhibit the problem.

Just curious, how many java files are in the projects you are using?

I have a bit over 900 .java files in multiple sub-projects.  Usually 3 or 4 of the subprojects would be open in NB.  The three main projects have:

489 java files
304 java files
61 java files

Scott


> On Apr 12, 2019, at 10:51 AM, Thomas Wolf <tj...@gmail.com> wrote:
> 
> "Are others seeing the slowness?"
> 
> I just switched from 8.2 to 11 and haven't seen the slowness you describe.   I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my project with JDK 8.  Also, I've used NB since the early days (first used it in 1999) and 8.2 was pretty quick compared to some previous releases.  I certainly didn't think it was any slower in doing the activities you mention than, say, IntelliJ that I recently tried out for a week or so.  If you thought 8.2 was already slow, perhaps it's something environmental related - i.e. something in your setup.
> (a few years ago, some people were having problems with NB on 
> networked file systems.  Is your project on a shared/networked drive?  
> Just stabbing in the dark.)
> 
> 
> On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <swpalmer@gmail.com <ma...@gmail.com>> wrote:
> What is the best course of action for reporting slowness?  I can’t share my project.
> I’m not certain how to give step-by-step instructions when the problem is basically one step in most cases.  E.g. invoke auto-complete - nothing happens for several seconds.  Invoke rename - dialog doesn’t appear for several seconds.  Find usages - extremely slow > 5 second delay on a private member of a class less than 100 lines.
> 
> In general it seems NB 11 is noticeably slower than NB 8.2. Not good 
> considering slowness was already my #1 complaint about NB 8.2.  I have 
> so far found the benefits of NB outweigh the fact that it is much 
> slower than other IDEs for the same operations, but the slowness of NB 
> 11 is tipping the scale.  I don’t want to switch IDEs, pease don’t 
> interpret this as some sort of threat to do so. I would like to help 
> find the issues in NB.  But I don’t have the bandwidth to debug NB and 
> not being about to share my project makes it difficult to provide 
> helpful reports :-(
> 
> Are others seeing the slowness?
> 
> Find usages, renames, call-hierarchy, auto-complete… things I use all the time, I often have to wait 5 to 10 seconds for a response from the IDE, sometimes more.
> 
> I’ve already deleted user dir and cache and restarted. 
> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
> 
> Is there a wiki page with instructions on profiling the IDE?  Maybe I can collect something useful.
> 
> Scott
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org 
> <ma...@netbeans.apache.org>
> For additional commands, e-mail: netcat-help@netbeans.apache.org 
> <ma...@netbeans.apache.org>
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists 
> <https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
> 
> 
> 
> --
> tjwolf@gmail.com <ma...@gmail.com> 
> http://landofwolf.blogspot.com/ <http://landofwolf.blogspot.com/>


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

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




RE: Very Slow Operations with NB 11

Posted by pe...@webparity.net.
OH? So Gradle is "built-into" NBs? 

Forgive my ignorance. Thank you


Peter Borreggine
Owner and Developer
Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO
WebParity.net
A Service Connected Disabled Veteran Owned Business
WA State License: 603-501-609
360-830-8926 C

“Lead, Follow or Get Out of the Way…”
- Lee Iacocca, former head of Chrysler and Ford

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and its attachments. Any unauthorized review, use, disclosure, or distribution is prohibited.

-----Original Message-----
From: Geertjan Wielenga <ge...@apache.org> 
Sent: Friday, April 12, 2019 8:14 AM
To: dev <de...@netbeans.incubator.apache.org>
Cc: Thomas Wolf <tj...@gmail.com>; netcat <ne...@netbeans.apache.org>
Subject: Re: Very Slow Operations with NB 11

You are using Gradle. There is no reason not to believe that the problems you encounter are with Gradle.

Also, Kirk has provided clear guidance about how to help identify the cause of the problem here.

And here is the project I use in NetBeans, considerably more than 900 files, etc: https://github.com/apache/incubator-netbeans

Gj


On Fri, Apr 12, 2019 at 5:07 PM Scott Palmer <sw...@gmail.com> wrote:

> I’m not the only one in my organization that has issues with NB speed, 
> and that was with 8.2.
> Some of the others choose to use Eclipse because these operations are 
> so much faster (no perceivable delay vs seconds of delay in NB).
>
> I’m the only one that has tried NB 11 so far.
>
> I will try to see if I can make a Maven project template that will 
> load my project for testing purposes It would be too much work to make 
> a similar size project from scratch and small projects are less likely 
> to exhibit the problem.
>
> Just curious, how many java files are in the projects you are using?
>
> I have a bit over 900 .java files in multiple sub-projects.  Usually 3 
> or
> 4 of the subprojects would be open in NB.  The three main projects have:
>
> 489 java files
> 304 java files
> 61 java files
>
> Scott
>
>
> > On Apr 12, 2019, at 10:51 AM, Thomas Wolf <tj...@gmail.com> wrote:
> >
> > "Are others seeing the slowness?"
> >
> > I just switched from 8.2 to 11 and haven't seen the slowness you
> describe.   I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my
> project with JDK 8.  Also, I've used NB since the early days (first 
> used it in 1999) and 8.2 was pretty quick compared to some previous 
> releases.  I certainly didn't think it was any slower in doing the 
> activities you mention than, say, IntelliJ that I recently tried out 
> for a week or so.  If you thought 8.2 was already slow, perhaps it's 
> something environmental related - i.e. something in your setup.
> > (a few years ago, some people were having problems with NB on 
> > networked
> file systems.  Is your project on a shared/networked drive?  Just 
> stabbing in the dark.)
> >
> >
> > On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <swpalmer@gmail.com
> <ma...@gmail.com>> wrote:
> > What is the best course of action for reporting slowness?  I can’t 
> > share
> my project.
> > I’m not certain how to give step-by-step instructions when the 
> > problem
> is basically one step in most cases.  E.g. invoke auto-complete - 
> nothing happens for several seconds.  Invoke rename - dialog doesn’t 
> appear for several seconds.  Find usages - extremely slow > 5 second 
> delay on a private member of a class less than 100 lines.
> >
> > In general it seems NB 11 is noticeably slower than NB 8.2. Not good
> considering slowness was already my #1 complaint about NB 8.2.  I have 
> so far found the benefits of NB outweigh the fact that it is much 
> slower than other IDEs for the same operations, but the slowness of NB 
> 11 is tipping the scale.  I don’t want to switch IDEs, pease don’t 
> interpret this as some sort of threat to do so. I would like to help 
> find the issues in NB.  But I don’t have the bandwidth to debug NB and 
> not being about to share my project makes it difficult to provide 
> helpful reports :-(
> >
> > Are others seeing the slowness?
> >
> > Find usages, renames, call-hierarchy, auto-complete… things I use 
> > all
> the time, I often have to wait 5 to 10 seconds for a response from the 
> IDE, sometimes more.
> >
> > I’ve already deleted user dir and cache and restarted.
> > I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
> >
> > Is there a wiki page with instructions on profiling the IDE?  Maybe 
> > I
> can collect something useful.
> >
> > Scott
> >
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org 
> > <mailto:
> netcat-unsubscribe@netbeans.apache.org>
> > For additional commands, e-mail: netcat-help@netbeans.apache.org
> <ma...@netbeans.apache.org>
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists <
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
> >
> >
> >
> > --
> > tjwolf@gmail.com <ma...@gmail.com> 
> > http://landofwolf.blogspot.com/ <http://landofwolf.blogspot.com/>
>


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

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




Re: Very Slow Operations with NB 11

Posted by Kodewerk <ki...@kodewerk.com>.
Hi,

It is my belief that we can solve this with about 2 or 3 strategically timed thread dumps. The thing with execution profiling is that it will pick up the hot method. In this case there is likely something hung up and it’s very likely that the execution profiler will miss it. The NB execution profiler misses just about every non-event causing a performance regression unless you configure it appropriately. Stack traces only contain the safe-point bias which I suspect won’t be a factor in this case. But without *any* data, this is all speculation.

Kind regards,
Kirk


> On Apr 12, 2019, at 9:15 AM, <pe...@webparity.net> <pe...@webparity.net> wrote:
> 
> NB 11 just locked up cutting and pasting, then just got a message: not responsive for 20 sec...  Sent 10 review and reports...
> 
> 
> Peter Borreggine
> Owner and Developer
> Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO
> WebParity.net
> A Service Connected Disabled Veteran Owned Business
> WA State License: 603-501-609
> 360-830-8926 C
> 
> “Lead, Follow or Get Out of the Way…”
> - Lee Iacocca, former head of Chrysler and Ford
> 
> This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and its attachments. Any unauthorized review, use, disclosure, or distribution is prohibited.
> 
> -----Original Message-----
> From: Scott Palmer <sw...@gmail.com> 
> Sent: Friday, April 12, 2019 8:37 AM
> To: Geertjan Wielenga <ge...@apache.org>
> Cc: dev <de...@netbeans.incubator.apache.org>; Thomas Wolf <tj...@gmail.com>; netcat <ne...@netbeans.apache.org>
> Subject: Re: Very Slow Operations with NB 11
> 
> I understand that nothing will happen unless I can provide some useful data.  That is why I started the conversation.  I will try to collect the requested data.
> 
> There are times when NB is responsive, and other times when it is painfully slow.  I have to be ready to get the data when the slowdowns are presenting.
> 
> I have also noticed that NB 11 seems to use significantly more memory.  That may be related. But right now NB is responsive, though I am working from home at the moment via Remote Desktop, so it isn’t ideal eating conditions.
> I remember NB taking less than 1GB most of the time, but NB 11 is about double.
> 
> 
> Scott
> 
>> On Apr 12, 2019, at 11:14 AM, Geertjan Wielenga <ge...@apache.org> wrote:
>> 
>> You are using Gradle. There is no reason not to believe that the 
>> problems you encounter are with Gradle.
>> 
>> Also, Kirk has provided clear guidance about how to help identify the 
>> cause of the problem here.
>> 
>> And here is the project I use in NetBeans, considerably more than 900 
>> files, etc: https://github.com/apache/incubator-netbeans
>> 
>> Gj
>> 
>> 
>> On Fri, Apr 12, 2019 at 5:07 PM Scott Palmer <sw...@gmail.com> wrote:
>> 
>>> I’m not the only one in my organization that has issues with NB 
>>> speed, and that was with 8.2.
>>> Some of the others choose to use Eclipse because these operations are 
>>> so much faster (no perceivable delay vs seconds of delay in NB).
>>> 
>>> I’m the only one that has tried NB 11 so far.
>>> 
>>> I will try to see if I can make a Maven project template that will 
>>> load my project for testing purposes It would be too much work to 
>>> make a similar size project from scratch and small projects are less 
>>> likely to exhibit the problem.
>>> 
>>> Just curious, how many java files are in the projects you are using?
>>> 
>>> I have a bit over 900 .java files in multiple sub-projects.  Usually 
>>> 3 or
>>> 4 of the subprojects would be open in NB.  The three main projects have:
>>> 
>>> 489 java files
>>> 304 java files
>>> 61 java files
>>> 
>>> Scott
>>> 
>>> 
>>>> On Apr 12, 2019, at 10:51 AM, Thomas Wolf <tj...@gmail.com> wrote:
>>>> 
>>>> "Are others seeing the slowness?"
>>>> 
>>>> I just switched from 8.2 to 11 and haven't seen the slowness you
>>> describe.   I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my
>>> project with JDK 8.  Also, I've used NB since the early days (first 
>>> used it in 1999) and 8.2 was pretty quick compared to some previous 
>>> releases.  I certainly didn't think it was any slower in doing the 
>>> activities you mention than, say, IntelliJ that I recently tried out 
>>> for a week or so.  If you thought 8.2 was already slow, perhaps it's 
>>> something environmental related - i.e. something in your setup.
>>>> (a few years ago, some people were having problems with NB on 
>>>> networked
>>> file systems.  Is your project on a shared/networked drive?  Just 
>>> stabbing in the dark.)
>>>> 
>>>> 
>>>> On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <swpalmer@gmail.com
>>> <ma...@gmail.com>> wrote:
>>>> What is the best course of action for reporting slowness?  I can’t 
>>>> share
>>> my project.
>>>> I’m not certain how to give step-by-step instructions when the 
>>>> problem
>>> is basically one step in most cases.  E.g. invoke auto-complete - 
>>> nothing happens for several seconds.  Invoke rename - dialog doesn’t 
>>> appear for several seconds.  Find usages - extremely slow > 5 second 
>>> delay on a private member of a class less than 100 lines.
>>>> 
>>>> In general it seems NB 11 is noticeably slower than NB 8.2. Not good
>>> considering slowness was already my #1 complaint about NB 8.2.  I 
>>> have so far found the benefits of NB outweigh the fact that it is 
>>> much slower than other IDEs for the same operations, but the slowness 
>>> of NB 11 is tipping the scale.  I don’t want to switch IDEs, pease 
>>> don’t interpret this as some sort of threat to do so. I would like to 
>>> help find the issues in NB.  But I don’t have the bandwidth to debug 
>>> NB and not being about to share my project makes it difficult to 
>>> provide helpful reports :-(
>>>> 
>>>> Are others seeing the slowness?
>>>> 
>>>> Find usages, renames, call-hierarchy, auto-complete… things I use 
>>>> all
>>> the time, I often have to wait 5 to 10 seconds for a response from 
>>> the IDE, sometimes more.
>>>> 
>>>> I’ve already deleted user dir and cache and restarted.
>>>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>>>> 
>>>> Is there a wiki page with instructions on profiling the IDE?  Maybe 
>>>> I
>>> can collect something useful.
>>>> 
>>>> Scott
>>>> 
>>>> 
>>>> --------------------------------------------------------------------
>>>> - To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org 
>>>> <mailto:
>>> netcat-unsubscribe@netbeans.apache.org>
>>>> For additional commands, e-mail: netcat-help@netbeans.apache.org
>>> <ma...@netbeans.apache.org>
>>>> 
>>>> For further information about the NetBeans mailing lists, visit:
>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists <
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
>>>> 
>>>> 
>>>> 
>>>> --
>>>> tjwolf@gmail.com <ma...@gmail.com> 
>>>> http://landofwolf.blogspot.com/ <http://landofwolf.blogspot.com/>
>>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: netcat-help@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> 


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

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


RE: Very Slow Operations with NB 11

Posted by pe...@webparity.net.
Darn it!

 

I thought that by clicking review and report it did it automatically. That would be a great thing to automatically create a JIRA ticket when a problem occurs. Do you all concur?

 

Because having to retype everything slows progress.

 

V/r

 

 

Peter Borreggine

Owner and Developer

Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO

WebParity.net <http://webparity.net/> 

A Service Connected Disabled Veteran Owned Business

WA State License: 603-501-609

360-830-8926 C

 

“Lead, Follow or Get Out of the Way…”

*	Lee Iacocca, former head of Chrysler and Ford

 

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and its attachments. Any unauthorized review, use, disclosure, or distribution is prohibited.

 

From: Thomas Wolf <tj...@gmail.com> 
Sent: Friday, April 12, 2019 9:22 AM
To: peter@webparity.net
Cc: Geertjan Wielenga <ge...@apache.org>; Scott Palmer <sw...@gmail.com>; dev <de...@netbeans.incubator.apache.org>; netcat <ne...@netbeans.apache.org>
Subject: Re: Very Slow Operations with NB 11

 

You did?  I was under the impression that in Apache Netbeans you had to manually create a Jira ticket.

 

 

 

On Fri, Apr 12, 2019 at 12:15 PM <peter@webparity.net <ma...@webparity.net> > wrote:

NB 11 just locked up cutting and pasting, then just got a message: not responsive for 20 sec...  Sent 10 review and reports...


Peter Borreggine
Owner and Developer
Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO
WebParity.net
A Service Connected Disabled Veteran Owned Business
WA State License: 603-501-609
360-830-8926 C

“Lead, Follow or Get Out of the Way…”
- Lee Iacocca, former head of Chrysler and Ford

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and its attachments. Any unauthorized review, use, disclosure, or distribution is prohibited.

-----Original Message-----
From: Scott Palmer <swpalmer@gmail.com <ma...@gmail.com> > 
Sent: Friday, April 12, 2019 8:37 AM
To: Geertjan Wielenga <geertjan@apache.org <ma...@apache.org> >
Cc: dev <dev@netbeans.incubator.apache.org <ma...@netbeans.incubator.apache.org> >; Thomas Wolf <tjwolf@gmail.com <ma...@gmail.com> >; netcat <netcat@netbeans.apache.org <ma...@netbeans.apache.org> >
Subject: Re: Very Slow Operations with NB 11

I understand that nothing will happen unless I can provide some useful data.  That is why I started the conversation.  I will try to collect the requested data.

There are times when NB is responsive, and other times when it is painfully slow.  I have to be ready to get the data when the slowdowns are presenting.

I have also noticed that NB 11 seems to use significantly more memory.  That may be related. But right now NB is responsive, though I am working from home at the moment via Remote Desktop, so it isn’t ideal eating conditions.
I remember NB taking less than 1GB most of the time, but NB 11 is about double.


Scott

> On Apr 12, 2019, at 11:14 AM, Geertjan Wielenga <geertjan@apache.org <ma...@apache.org> > wrote:
> 
> You are using Gradle. There is no reason not to believe that the 
> problems you encounter are with Gradle.
> 
> Also, Kirk has provided clear guidance about how to help identify the 
> cause of the problem here.
> 
> And here is the project I use in NetBeans, considerably more than 900 
> files, etc: https://github.com/apache/incubator-netbeans
> 
> Gj
> 
> 
> On Fri, Apr 12, 2019 at 5:07 PM Scott Palmer <swpalmer@gmail.com <ma...@gmail.com> > wrote:
> 
>> I’m not the only one in my organization that has issues with NB 
>> speed, and that was with 8.2.
>> Some of the others choose to use Eclipse because these operations are 
>> so much faster (no perceivable delay vs seconds of delay in NB).
>> 
>> I’m the only one that has tried NB 11 so far.
>> 
>> I will try to see if I can make a Maven project template that will 
>> load my project for testing purposes It would be too much work to 
>> make a similar size project from scratch and small projects are less 
>> likely to exhibit the problem.
>> 
>> Just curious, how many java files are in the projects you are using?
>> 
>> I have a bit over 900 .java files in multiple sub-projects.  Usually 
>> 3 or
>> 4 of the subprojects would be open in NB.  The three main projects have:
>> 
>> 489 java files
>> 304 java files
>> 61 java files
>> 
>> Scott
>> 
>> 
>>> On Apr 12, 2019, at 10:51 AM, Thomas Wolf <tjwolf@gmail.com <ma...@gmail.com> > wrote:
>>> 
>>> "Are others seeing the slowness?"
>>> 
>>> I just switched from 8.2 to 11 and haven't seen the slowness you
>> describe.   I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my
>> project with JDK 8.  Also, I've used NB since the early days (first 
>> used it in 1999) and 8.2 was pretty quick compared to some previous 
>> releases.  I certainly didn't think it was any slower in doing the 
>> activities you mention than, say, IntelliJ that I recently tried out 
>> for a week or so.  If you thought 8.2 was already slow, perhaps it's 
>> something environmental related - i.e. something in your setup.
>>> (a few years ago, some people were having problems with NB on 
>>> networked
>> file systems.  Is your project on a shared/networked drive?  Just 
>> stabbing in the dark.)
>>> 
>>> 
>>> On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <swpalmer@gmail.com <ma...@gmail.com> 
>> <mailto:swpalmer@gmail.com <ma...@gmail.com> >> wrote:
>>> What is the best course of action for reporting slowness?  I can’t 
>>> share
>> my project.
>>> I’m not certain how to give step-by-step instructions when the 
>>> problem
>> is basically one step in most cases.  E.g. invoke auto-complete - 
>> nothing happens for several seconds.  Invoke rename - dialog doesn’t 
>> appear for several seconds.  Find usages - extremely slow > 5 second 
>> delay on a private member of a class less than 100 lines.
>>> 
>>> In general it seems NB 11 is noticeably slower than NB 8.2. Not good
>> considering slowness was already my #1 complaint about NB 8.2.  I 
>> have so far found the benefits of NB outweigh the fact that it is 
>> much slower than other IDEs for the same operations, but the slowness 
>> of NB 11 is tipping the scale.  I don’t want to switch IDEs, pease 
>> don’t interpret this as some sort of threat to do so. I would like to 
>> help find the issues in NB.  But I don’t have the bandwidth to debug 
>> NB and not being about to share my project makes it difficult to 
>> provide helpful reports :-(
>>> 
>>> Are others seeing the slowness?
>>> 
>>> Find usages, renames, call-hierarchy, auto-complete… things I use 
>>> all
>> the time, I often have to wait 5 to 10 seconds for a response from 
>> the IDE, sometimes more.
>>> 
>>> I’ve already deleted user dir and cache and restarted.
>>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>>> 
>>> Is there a wiki page with instructions on profiling the IDE?  Maybe 
>>> I
>> can collect something useful.
>>> 
>>> Scott
>>> 
>>> 
>>> --------------------------------------------------------------------
>>> - To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org <ma...@netbeans.apache.org>  
>>> <mailto: <mailto:%0b> 
>> netcat-unsubscribe@netbeans.apache.org <ma...@netbeans.apache.org> >
>>> For additional commands, e-mail: netcat-help@netbeans.apache.org <ma...@netbeans.apache.org> 
>> <mailto:netcat-help@netbeans.apache.org <ma...@netbeans.apache.org> >
>>> 
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists <
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
>>> 
>>> 
>>> 
>>> --
>>> tjwolf@gmail.com <ma...@gmail.com>  <mailto:tjwolf@gmail.com <ma...@gmail.com> > 
>>> http://landofwolf.blogspot.com/ <http://landofwolf.blogspot.com/>
>> 


---------------------------------------------------------------------
To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org <ma...@netbeans.apache.org> 
For additional commands, e-mail: netcat-help@netbeans.apache.org <ma...@netbeans.apache.org> 

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

-- 

tjwolf@gmail.com <ma...@gmail.com> 
http://landofwolf.blogspot.com/


RE: Very Slow Operations with NB 11

Posted by pe...@webparity.net.
Darn it!

 

I thought that by clicking review and report it did it automatically. That would be a great thing to automatically create a JIRA ticket when a problem occurs. Do you all concur?

 

Because having to retype everything slows progress.

 

V/r

 

 

Peter Borreggine

Owner and Developer

Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO

WebParity.net <http://webparity.net/> 

A Service Connected Disabled Veteran Owned Business

WA State License: 603-501-609

360-830-8926 C

 

“Lead, Follow or Get Out of the Way…”

*	Lee Iacocca, former head of Chrysler and Ford

 

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and its attachments. Any unauthorized review, use, disclosure, or distribution is prohibited.

 

From: Thomas Wolf <tj...@gmail.com> 
Sent: Friday, April 12, 2019 9:22 AM
To: peter@webparity.net
Cc: Geertjan Wielenga <ge...@apache.org>; Scott Palmer <sw...@gmail.com>; dev <de...@netbeans.incubator.apache.org>; netcat <ne...@netbeans.apache.org>
Subject: Re: Very Slow Operations with NB 11

 

You did?  I was under the impression that in Apache Netbeans you had to manually create a Jira ticket.

 

 

 

On Fri, Apr 12, 2019 at 12:15 PM <peter@webparity.net <ma...@webparity.net> > wrote:

NB 11 just locked up cutting and pasting, then just got a message: not responsive for 20 sec...  Sent 10 review and reports...


Peter Borreggine
Owner and Developer
Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO
WebParity.net
A Service Connected Disabled Veteran Owned Business
WA State License: 603-501-609
360-830-8926 C

“Lead, Follow or Get Out of the Way…”
- Lee Iacocca, former head of Chrysler and Ford

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and its attachments. Any unauthorized review, use, disclosure, or distribution is prohibited.

-----Original Message-----
From: Scott Palmer <swpalmer@gmail.com <ma...@gmail.com> > 
Sent: Friday, April 12, 2019 8:37 AM
To: Geertjan Wielenga <geertjan@apache.org <ma...@apache.org> >
Cc: dev <dev@netbeans.incubator.apache.org <ma...@netbeans.incubator.apache.org> >; Thomas Wolf <tjwolf@gmail.com <ma...@gmail.com> >; netcat <netcat@netbeans.apache.org <ma...@netbeans.apache.org> >
Subject: Re: Very Slow Operations with NB 11

I understand that nothing will happen unless I can provide some useful data.  That is why I started the conversation.  I will try to collect the requested data.

There are times when NB is responsive, and other times when it is painfully slow.  I have to be ready to get the data when the slowdowns are presenting.

I have also noticed that NB 11 seems to use significantly more memory.  That may be related. But right now NB is responsive, though I am working from home at the moment via Remote Desktop, so it isn’t ideal eating conditions.
I remember NB taking less than 1GB most of the time, but NB 11 is about double.


Scott

> On Apr 12, 2019, at 11:14 AM, Geertjan Wielenga <geertjan@apache.org <ma...@apache.org> > wrote:
> 
> You are using Gradle. There is no reason not to believe that the 
> problems you encounter are with Gradle.
> 
> Also, Kirk has provided clear guidance about how to help identify the 
> cause of the problem here.
> 
> And here is the project I use in NetBeans, considerably more than 900 
> files, etc: https://github.com/apache/incubator-netbeans
> 
> Gj
> 
> 
> On Fri, Apr 12, 2019 at 5:07 PM Scott Palmer <swpalmer@gmail.com <ma...@gmail.com> > wrote:
> 
>> I’m not the only one in my organization that has issues with NB 
>> speed, and that was with 8.2.
>> Some of the others choose to use Eclipse because these operations are 
>> so much faster (no perceivable delay vs seconds of delay in NB).
>> 
>> I’m the only one that has tried NB 11 so far.
>> 
>> I will try to see if I can make a Maven project template that will 
>> load my project for testing purposes It would be too much work to 
>> make a similar size project from scratch and small projects are less 
>> likely to exhibit the problem.
>> 
>> Just curious, how many java files are in the projects you are using?
>> 
>> I have a bit over 900 .java files in multiple sub-projects.  Usually 
>> 3 or
>> 4 of the subprojects would be open in NB.  The three main projects have:
>> 
>> 489 java files
>> 304 java files
>> 61 java files
>> 
>> Scott
>> 
>> 
>>> On Apr 12, 2019, at 10:51 AM, Thomas Wolf <tjwolf@gmail.com <ma...@gmail.com> > wrote:
>>> 
>>> "Are others seeing the slowness?"
>>> 
>>> I just switched from 8.2 to 11 and haven't seen the slowness you
>> describe.   I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my
>> project with JDK 8.  Also, I've used NB since the early days (first 
>> used it in 1999) and 8.2 was pretty quick compared to some previous 
>> releases.  I certainly didn't think it was any slower in doing the 
>> activities you mention than, say, IntelliJ that I recently tried out 
>> for a week or so.  If you thought 8.2 was already slow, perhaps it's 
>> something environmental related - i.e. something in your setup.
>>> (a few years ago, some people were having problems with NB on 
>>> networked
>> file systems.  Is your project on a shared/networked drive?  Just 
>> stabbing in the dark.)
>>> 
>>> 
>>> On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <swpalmer@gmail.com <ma...@gmail.com> 
>> <mailto:swpalmer@gmail.com <ma...@gmail.com> >> wrote:
>>> What is the best course of action for reporting slowness?  I can’t 
>>> share
>> my project.
>>> I’m not certain how to give step-by-step instructions when the 
>>> problem
>> is basically one step in most cases.  E.g. invoke auto-complete - 
>> nothing happens for several seconds.  Invoke rename - dialog doesn’t 
>> appear for several seconds.  Find usages - extremely slow > 5 second 
>> delay on a private member of a class less than 100 lines.
>>> 
>>> In general it seems NB 11 is noticeably slower than NB 8.2. Not good
>> considering slowness was already my #1 complaint about NB 8.2.  I 
>> have so far found the benefits of NB outweigh the fact that it is 
>> much slower than other IDEs for the same operations, but the slowness 
>> of NB 11 is tipping the scale.  I don’t want to switch IDEs, pease 
>> don’t interpret this as some sort of threat to do so. I would like to 
>> help find the issues in NB.  But I don’t have the bandwidth to debug 
>> NB and not being about to share my project makes it difficult to 
>> provide helpful reports :-(
>>> 
>>> Are others seeing the slowness?
>>> 
>>> Find usages, renames, call-hierarchy, auto-complete… things I use 
>>> all
>> the time, I often have to wait 5 to 10 seconds for a response from 
>> the IDE, sometimes more.
>>> 
>>> I’ve already deleted user dir and cache and restarted.
>>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>>> 
>>> Is there a wiki page with instructions on profiling the IDE?  Maybe 
>>> I
>> can collect something useful.
>>> 
>>> Scott
>>> 
>>> 
>>> --------------------------------------------------------------------
>>> - To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org <ma...@netbeans.apache.org>  
>>> <mailto: <mailto:%0b> 
>> netcat-unsubscribe@netbeans.apache.org <ma...@netbeans.apache.org> >
>>> For additional commands, e-mail: netcat-help@netbeans.apache.org <ma...@netbeans.apache.org> 
>> <mailto:netcat-help@netbeans.apache.org <ma...@netbeans.apache.org> >
>>> 
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists <
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
>>> 
>>> 
>>> 
>>> --
>>> tjwolf@gmail.com <ma...@gmail.com>  <mailto:tjwolf@gmail.com <ma...@gmail.com> > 
>>> http://landofwolf.blogspot.com/ <http://landofwolf.blogspot.com/>
>> 


---------------------------------------------------------------------
To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org <ma...@netbeans.apache.org> 
For additional commands, e-mail: netcat-help@netbeans.apache.org <ma...@netbeans.apache.org> 

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

-- 

tjwolf@gmail.com <ma...@gmail.com> 
http://landofwolf.blogspot.com/


Re: Very Slow Operations with NB 11

Posted by Thomas Wolf <tj...@gmail.com>.
You did?  I was under the impression that in Apache Netbeans you had to
manually create a Jira ticket.



On Fri, Apr 12, 2019 at 12:15 PM <pe...@webparity.net> wrote:

> NB 11 just locked up cutting and pasting, then just got a message: not
> responsive for 20 sec...  Sent 10 review and reports...
>
>
> Peter Borreggine
> Owner and Developer
> Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO
> WebParity.net
> A Service Connected Disabled Veteran Owned Business
> WA State License: 603-501-609
> 360-830-8926 C
>
> “Lead, Follow or Get Out of the Way…”
> - Lee Iacocca, former head of Chrysler and Ford
>
> This email message is for the sole use of the intended recipient(s) and
> may contain confidential and privileged information. If you are not the
> intended recipient, please contact the sender and destroy all copies of the
> original message and its attachments. Any unauthorized review, use,
> disclosure, or distribution is prohibited.
>
> -----Original Message-----
> From: Scott Palmer <sw...@gmail.com>
> Sent: Friday, April 12, 2019 8:37 AM
> To: Geertjan Wielenga <ge...@apache.org>
> Cc: dev <de...@netbeans.incubator.apache.org>; Thomas Wolf <tj...@gmail.com>;
> netcat <ne...@netbeans.apache.org>
> Subject: Re: Very Slow Operations with NB 11
>
> I understand that nothing will happen unless I can provide some useful
> data.  That is why I started the conversation.  I will try to collect the
> requested data.
>
> There are times when NB is responsive, and other times when it is
> painfully slow.  I have to be ready to get the data when the slowdowns are
> presenting.
>
> I have also noticed that NB 11 seems to use significantly more memory.
> That may be related. But right now NB is responsive, though I am working
> from home at the moment via Remote Desktop, so it isn’t ideal eating
> conditions.
> I remember NB taking less than 1GB most of the time, but NB 11 is about
> double.
>
>
> Scott
>
> > On Apr 12, 2019, at 11:14 AM, Geertjan Wielenga <ge...@apache.org>
> wrote:
> >
> > You are using Gradle. There is no reason not to believe that the
> > problems you encounter are with Gradle.
> >
> > Also, Kirk has provided clear guidance about how to help identify the
> > cause of the problem here.
> >
> > And here is the project I use in NetBeans, considerably more than 900
> > files, etc: https://github.com/apache/incubator-netbeans
> >
> > Gj
> >
> >
> > On Fri, Apr 12, 2019 at 5:07 PM Scott Palmer <sw...@gmail.com> wrote:
> >
> >> I’m not the only one in my organization that has issues with NB
> >> speed, and that was with 8.2.
> >> Some of the others choose to use Eclipse because these operations are
> >> so much faster (no perceivable delay vs seconds of delay in NB).
> >>
> >> I’m the only one that has tried NB 11 so far.
> >>
> >> I will try to see if I can make a Maven project template that will
> >> load my project for testing purposes It would be too much work to
> >> make a similar size project from scratch and small projects are less
> >> likely to exhibit the problem.
> >>
> >> Just curious, how many java files are in the projects you are using?
> >>
> >> I have a bit over 900 .java files in multiple sub-projects.  Usually
> >> 3 or
> >> 4 of the subprojects would be open in NB.  The three main projects have:
> >>
> >> 489 java files
> >> 304 java files
> >> 61 java files
> >>
> >> Scott
> >>
> >>
> >>> On Apr 12, 2019, at 10:51 AM, Thomas Wolf <tj...@gmail.com> wrote:
> >>>
> >>> "Are others seeing the slowness?"
> >>>
> >>> I just switched from 8.2 to 11 and haven't seen the slowness you
> >> describe.   I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my
> >> project with JDK 8.  Also, I've used NB since the early days (first
> >> used it in 1999) and 8.2 was pretty quick compared to some previous
> >> releases.  I certainly didn't think it was any slower in doing the
> >> activities you mention than, say, IntelliJ that I recently tried out
> >> for a week or so.  If you thought 8.2 was already slow, perhaps it's
> >> something environmental related - i.e. something in your setup.
> >>> (a few years ago, some people were having problems with NB on
> >>> networked
> >> file systems.  Is your project on a shared/networked drive?  Just
> >> stabbing in the dark.)
> >>>
> >>>
> >>> On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <swpalmer@gmail.com
> >> <ma...@gmail.com>> wrote:
> >>> What is the best course of action for reporting slowness?  I can’t
> >>> share
> >> my project.
> >>> I’m not certain how to give step-by-step instructions when the
> >>> problem
> >> is basically one step in most cases.  E.g. invoke auto-complete -
> >> nothing happens for several seconds.  Invoke rename - dialog doesn’t
> >> appear for several seconds.  Find usages - extremely slow > 5 second
> >> delay on a private member of a class less than 100 lines.
> >>>
> >>> In general it seems NB 11 is noticeably slower than NB 8.2. Not good
> >> considering slowness was already my #1 complaint about NB 8.2.  I
> >> have so far found the benefits of NB outweigh the fact that it is
> >> much slower than other IDEs for the same operations, but the slowness
> >> of NB 11 is tipping the scale.  I don’t want to switch IDEs, pease
> >> don’t interpret this as some sort of threat to do so. I would like to
> >> help find the issues in NB.  But I don’t have the bandwidth to debug
> >> NB and not being about to share my project makes it difficult to
> >> provide helpful reports :-(
> >>>
> >>> Are others seeing the slowness?
> >>>
> >>> Find usages, renames, call-hierarchy, auto-complete… things I use
> >>> all
> >> the time, I often have to wait 5 to 10 seconds for a response from
> >> the IDE, sometimes more.
> >>>
> >>> I’ve already deleted user dir and cache and restarted.
> >>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
> >>>
> >>> Is there a wiki page with instructions on profiling the IDE?  Maybe
> >>> I
> >> can collect something useful.
> >>>
> >>> Scott
> >>>
> >>>
> >>> --------------------------------------------------------------------
> >>> - To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org
> >>> <mailto:
> >> netcat-unsubscribe@netbeans.apache.org>
> >>> For additional commands, e-mail: netcat-help@netbeans.apache.org
> >> <ma...@netbeans.apache.org>
> >>>
> >>> For further information about the NetBeans mailing lists, visit:
> >>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists <
> >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
> >>>
> >>>
> >>>
> >>> --
> >>> tjwolf@gmail.com <ma...@gmail.com>
> >>> http://landofwolf.blogspot.com/ <http://landofwolf.blogspot.com/>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: netcat-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
> --
tjwolf@gmail.com
http://landofwolf.blogspot.com/

Re: Very Slow Operations with NB 11

Posted by Kodewerk <ki...@kodewerk.com>.
Hi,

It is my belief that we can solve this with about 2 or 3 strategically timed thread dumps. The thing with execution profiling is that it will pick up the hot method. In this case there is likely something hung up and it’s very likely that the execution profiler will miss it. The NB execution profiler misses just about every non-event causing a performance regression unless you configure it appropriately. Stack traces only contain the safe-point bias which I suspect won’t be a factor in this case. But without *any* data, this is all speculation.

Kind regards,
Kirk


> On Apr 12, 2019, at 9:15 AM, <pe...@webparity.net> <pe...@webparity.net> wrote:
> 
> NB 11 just locked up cutting and pasting, then just got a message: not responsive for 20 sec...  Sent 10 review and reports...
> 
> 
> Peter Borreggine
> Owner and Developer
> Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO
> WebParity.net
> A Service Connected Disabled Veteran Owned Business
> WA State License: 603-501-609
> 360-830-8926 C
> 
> “Lead, Follow or Get Out of the Way…”
> - Lee Iacocca, former head of Chrysler and Ford
> 
> This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and its attachments. Any unauthorized review, use, disclosure, or distribution is prohibited.
> 
> -----Original Message-----
> From: Scott Palmer <sw...@gmail.com> 
> Sent: Friday, April 12, 2019 8:37 AM
> To: Geertjan Wielenga <ge...@apache.org>
> Cc: dev <de...@netbeans.incubator.apache.org>; Thomas Wolf <tj...@gmail.com>; netcat <ne...@netbeans.apache.org>
> Subject: Re: Very Slow Operations with NB 11
> 
> I understand that nothing will happen unless I can provide some useful data.  That is why I started the conversation.  I will try to collect the requested data.
> 
> There are times when NB is responsive, and other times when it is painfully slow.  I have to be ready to get the data when the slowdowns are presenting.
> 
> I have also noticed that NB 11 seems to use significantly more memory.  That may be related. But right now NB is responsive, though I am working from home at the moment via Remote Desktop, so it isn’t ideal eating conditions.
> I remember NB taking less than 1GB most of the time, but NB 11 is about double.
> 
> 
> Scott
> 
>> On Apr 12, 2019, at 11:14 AM, Geertjan Wielenga <ge...@apache.org> wrote:
>> 
>> You are using Gradle. There is no reason not to believe that the 
>> problems you encounter are with Gradle.
>> 
>> Also, Kirk has provided clear guidance about how to help identify the 
>> cause of the problem here.
>> 
>> And here is the project I use in NetBeans, considerably more than 900 
>> files, etc: https://github.com/apache/incubator-netbeans
>> 
>> Gj
>> 
>> 
>> On Fri, Apr 12, 2019 at 5:07 PM Scott Palmer <sw...@gmail.com> wrote:
>> 
>>> I’m not the only one in my organization that has issues with NB 
>>> speed, and that was with 8.2.
>>> Some of the others choose to use Eclipse because these operations are 
>>> so much faster (no perceivable delay vs seconds of delay in NB).
>>> 
>>> I’m the only one that has tried NB 11 so far.
>>> 
>>> I will try to see if I can make a Maven project template that will 
>>> load my project for testing purposes It would be too much work to 
>>> make a similar size project from scratch and small projects are less 
>>> likely to exhibit the problem.
>>> 
>>> Just curious, how many java files are in the projects you are using?
>>> 
>>> I have a bit over 900 .java files in multiple sub-projects.  Usually 
>>> 3 or
>>> 4 of the subprojects would be open in NB.  The three main projects have:
>>> 
>>> 489 java files
>>> 304 java files
>>> 61 java files
>>> 
>>> Scott
>>> 
>>> 
>>>> On Apr 12, 2019, at 10:51 AM, Thomas Wolf <tj...@gmail.com> wrote:
>>>> 
>>>> "Are others seeing the slowness?"
>>>> 
>>>> I just switched from 8.2 to 11 and haven't seen the slowness you
>>> describe.   I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my
>>> project with JDK 8.  Also, I've used NB since the early days (first 
>>> used it in 1999) and 8.2 was pretty quick compared to some previous 
>>> releases.  I certainly didn't think it was any slower in doing the 
>>> activities you mention than, say, IntelliJ that I recently tried out 
>>> for a week or so.  If you thought 8.2 was already slow, perhaps it's 
>>> something environmental related - i.e. something in your setup.
>>>> (a few years ago, some people were having problems with NB on 
>>>> networked
>>> file systems.  Is your project on a shared/networked drive?  Just 
>>> stabbing in the dark.)
>>>> 
>>>> 
>>>> On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <swpalmer@gmail.com
>>> <ma...@gmail.com>> wrote:
>>>> What is the best course of action for reporting slowness?  I can’t 
>>>> share
>>> my project.
>>>> I’m not certain how to give step-by-step instructions when the 
>>>> problem
>>> is basically one step in most cases.  E.g. invoke auto-complete - 
>>> nothing happens for several seconds.  Invoke rename - dialog doesn’t 
>>> appear for several seconds.  Find usages - extremely slow > 5 second 
>>> delay on a private member of a class less than 100 lines.
>>>> 
>>>> In general it seems NB 11 is noticeably slower than NB 8.2. Not good
>>> considering slowness was already my #1 complaint about NB 8.2.  I 
>>> have so far found the benefits of NB outweigh the fact that it is 
>>> much slower than other IDEs for the same operations, but the slowness 
>>> of NB 11 is tipping the scale.  I don’t want to switch IDEs, pease 
>>> don’t interpret this as some sort of threat to do so. I would like to 
>>> help find the issues in NB.  But I don’t have the bandwidth to debug 
>>> NB and not being about to share my project makes it difficult to 
>>> provide helpful reports :-(
>>>> 
>>>> Are others seeing the slowness?
>>>> 
>>>> Find usages, renames, call-hierarchy, auto-complete… things I use 
>>>> all
>>> the time, I often have to wait 5 to 10 seconds for a response from 
>>> the IDE, sometimes more.
>>>> 
>>>> I’ve already deleted user dir and cache and restarted.
>>>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>>>> 
>>>> Is there a wiki page with instructions on profiling the IDE?  Maybe 
>>>> I
>>> can collect something useful.
>>>> 
>>>> Scott
>>>> 
>>>> 
>>>> --------------------------------------------------------------------
>>>> - To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org 
>>>> <mailto:
>>> netcat-unsubscribe@netbeans.apache.org>
>>>> For additional commands, e-mail: netcat-help@netbeans.apache.org
>>> <ma...@netbeans.apache.org>
>>>> 
>>>> For further information about the NetBeans mailing lists, visit:
>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists <
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
>>>> 
>>>> 
>>>> 
>>>> --
>>>> tjwolf@gmail.com <ma...@gmail.com> 
>>>> http://landofwolf.blogspot.com/ <http://landofwolf.blogspot.com/>
>>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: netcat-help@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> 


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

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




Re: Very Slow Operations with NB 11

Posted by Scott Palmer <sw...@gmail.com>.
On Apr 12, 2019, at 12:37 PM, Glenn Holmer <ce...@kolabnow.com.INVALID> wrote:
> 
> On 4/12/19 11:15 AM, peter@webparity.net wrote:
>> NB 11 just locked up cutting and pasting
> 
> Is there a good reason for this entire thread to be cross-posted?

I originally include groups that I thought could help.  I’m fine with just dev.

Scott 


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

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




Re: Very Slow Operations with NB 11

Posted by Glenn Holmer <ce...@kolabnow.com.INVALID>.
On 4/12/19 11:15 AM, peter@webparity.net wrote:
> NB 11 just locked up cutting and pasting

Is there a good reason for this entire thread to be cross-posted?

-- 
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."

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

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




Re: Very Slow Operations with NB 11

Posted by Thomas Wolf <tj...@gmail.com>.
You did?  I was under the impression that in Apache Netbeans you had to
manually create a Jira ticket.



On Fri, Apr 12, 2019 at 12:15 PM <pe...@webparity.net> wrote:

> NB 11 just locked up cutting and pasting, then just got a message: not
> responsive for 20 sec...  Sent 10 review and reports...
>
>
> Peter Borreggine
> Owner and Developer
> Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO
> WebParity.net
> A Service Connected Disabled Veteran Owned Business
> WA State License: 603-501-609
> 360-830-8926 C
>
> “Lead, Follow or Get Out of the Way…”
> - Lee Iacocca, former head of Chrysler and Ford
>
> This email message is for the sole use of the intended recipient(s) and
> may contain confidential and privileged information. If you are not the
> intended recipient, please contact the sender and destroy all copies of the
> original message and its attachments. Any unauthorized review, use,
> disclosure, or distribution is prohibited.
>
> -----Original Message-----
> From: Scott Palmer <sw...@gmail.com>
> Sent: Friday, April 12, 2019 8:37 AM
> To: Geertjan Wielenga <ge...@apache.org>
> Cc: dev <de...@netbeans.incubator.apache.org>; Thomas Wolf <tj...@gmail.com>;
> netcat <ne...@netbeans.apache.org>
> Subject: Re: Very Slow Operations with NB 11
>
> I understand that nothing will happen unless I can provide some useful
> data.  That is why I started the conversation.  I will try to collect the
> requested data.
>
> There are times when NB is responsive, and other times when it is
> painfully slow.  I have to be ready to get the data when the slowdowns are
> presenting.
>
> I have also noticed that NB 11 seems to use significantly more memory.
> That may be related. But right now NB is responsive, though I am working
> from home at the moment via Remote Desktop, so it isn’t ideal eating
> conditions.
> I remember NB taking less than 1GB most of the time, but NB 11 is about
> double.
>
>
> Scott
>
> > On Apr 12, 2019, at 11:14 AM, Geertjan Wielenga <ge...@apache.org>
> wrote:
> >
> > You are using Gradle. There is no reason not to believe that the
> > problems you encounter are with Gradle.
> >
> > Also, Kirk has provided clear guidance about how to help identify the
> > cause of the problem here.
> >
> > And here is the project I use in NetBeans, considerably more than 900
> > files, etc: https://github.com/apache/incubator-netbeans
> >
> > Gj
> >
> >
> > On Fri, Apr 12, 2019 at 5:07 PM Scott Palmer <sw...@gmail.com> wrote:
> >
> >> I’m not the only one in my organization that has issues with NB
> >> speed, and that was with 8.2.
> >> Some of the others choose to use Eclipse because these operations are
> >> so much faster (no perceivable delay vs seconds of delay in NB).
> >>
> >> I’m the only one that has tried NB 11 so far.
> >>
> >> I will try to see if I can make a Maven project template that will
> >> load my project for testing purposes It would be too much work to
> >> make a similar size project from scratch and small projects are less
> >> likely to exhibit the problem.
> >>
> >> Just curious, how many java files are in the projects you are using?
> >>
> >> I have a bit over 900 .java files in multiple sub-projects.  Usually
> >> 3 or
> >> 4 of the subprojects would be open in NB.  The three main projects have:
> >>
> >> 489 java files
> >> 304 java files
> >> 61 java files
> >>
> >> Scott
> >>
> >>
> >>> On Apr 12, 2019, at 10:51 AM, Thomas Wolf <tj...@gmail.com> wrote:
> >>>
> >>> "Are others seeing the slowness?"
> >>>
> >>> I just switched from 8.2 to 11 and haven't seen the slowness you
> >> describe.   I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my
> >> project with JDK 8.  Also, I've used NB since the early days (first
> >> used it in 1999) and 8.2 was pretty quick compared to some previous
> >> releases.  I certainly didn't think it was any slower in doing the
> >> activities you mention than, say, IntelliJ that I recently tried out
> >> for a week or so.  If you thought 8.2 was already slow, perhaps it's
> >> something environmental related - i.e. something in your setup.
> >>> (a few years ago, some people were having problems with NB on
> >>> networked
> >> file systems.  Is your project on a shared/networked drive?  Just
> >> stabbing in the dark.)
> >>>
> >>>
> >>> On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <swpalmer@gmail.com
> >> <ma...@gmail.com>> wrote:
> >>> What is the best course of action for reporting slowness?  I can’t
> >>> share
> >> my project.
> >>> I’m not certain how to give step-by-step instructions when the
> >>> problem
> >> is basically one step in most cases.  E.g. invoke auto-complete -
> >> nothing happens for several seconds.  Invoke rename - dialog doesn’t
> >> appear for several seconds.  Find usages - extremely slow > 5 second
> >> delay on a private member of a class less than 100 lines.
> >>>
> >>> In general it seems NB 11 is noticeably slower than NB 8.2. Not good
> >> considering slowness was already my #1 complaint about NB 8.2.  I
> >> have so far found the benefits of NB outweigh the fact that it is
> >> much slower than other IDEs for the same operations, but the slowness
> >> of NB 11 is tipping the scale.  I don’t want to switch IDEs, pease
> >> don’t interpret this as some sort of threat to do so. I would like to
> >> help find the issues in NB.  But I don’t have the bandwidth to debug
> >> NB and not being about to share my project makes it difficult to
> >> provide helpful reports :-(
> >>>
> >>> Are others seeing the slowness?
> >>>
> >>> Find usages, renames, call-hierarchy, auto-complete… things I use
> >>> all
> >> the time, I often have to wait 5 to 10 seconds for a response from
> >> the IDE, sometimes more.
> >>>
> >>> I’ve already deleted user dir and cache and restarted.
> >>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
> >>>
> >>> Is there a wiki page with instructions on profiling the IDE?  Maybe
> >>> I
> >> can collect something useful.
> >>>
> >>> Scott
> >>>
> >>>
> >>> --------------------------------------------------------------------
> >>> - To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org
> >>> <mailto:
> >> netcat-unsubscribe@netbeans.apache.org>
> >>> For additional commands, e-mail: netcat-help@netbeans.apache.org
> >> <ma...@netbeans.apache.org>
> >>>
> >>> For further information about the NetBeans mailing lists, visit:
> >>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists <
> >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
> >>>
> >>>
> >>>
> >>> --
> >>> tjwolf@gmail.com <ma...@gmail.com>
> >>> http://landofwolf.blogspot.com/ <http://landofwolf.blogspot.com/>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: netcat-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
> --
tjwolf@gmail.com
http://landofwolf.blogspot.com/

RE: Very Slow Operations with NB 11

Posted by pe...@webparity.net.
NB 11 just locked up cutting and pasting, then just got a message: not responsive for 20 sec...  Sent 10 review and reports...


Peter Borreggine
Owner and Developer
Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO
WebParity.net
A Service Connected Disabled Veteran Owned Business
WA State License: 603-501-609
360-830-8926 C

“Lead, Follow or Get Out of the Way…”
- Lee Iacocca, former head of Chrysler and Ford

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and its attachments. Any unauthorized review, use, disclosure, or distribution is prohibited.

-----Original Message-----
From: Scott Palmer <sw...@gmail.com> 
Sent: Friday, April 12, 2019 8:37 AM
To: Geertjan Wielenga <ge...@apache.org>
Cc: dev <de...@netbeans.incubator.apache.org>; Thomas Wolf <tj...@gmail.com>; netcat <ne...@netbeans.apache.org>
Subject: Re: Very Slow Operations with NB 11

I understand that nothing will happen unless I can provide some useful data.  That is why I started the conversation.  I will try to collect the requested data.

There are times when NB is responsive, and other times when it is painfully slow.  I have to be ready to get the data when the slowdowns are presenting.

I have also noticed that NB 11 seems to use significantly more memory.  That may be related. But right now NB is responsive, though I am working from home at the moment via Remote Desktop, so it isn’t ideal eating conditions.
I remember NB taking less than 1GB most of the time, but NB 11 is about double.


Scott

> On Apr 12, 2019, at 11:14 AM, Geertjan Wielenga <ge...@apache.org> wrote:
> 
> You are using Gradle. There is no reason not to believe that the 
> problems you encounter are with Gradle.
> 
> Also, Kirk has provided clear guidance about how to help identify the 
> cause of the problem here.
> 
> And here is the project I use in NetBeans, considerably more than 900 
> files, etc: https://github.com/apache/incubator-netbeans
> 
> Gj
> 
> 
> On Fri, Apr 12, 2019 at 5:07 PM Scott Palmer <sw...@gmail.com> wrote:
> 
>> I’m not the only one in my organization that has issues with NB 
>> speed, and that was with 8.2.
>> Some of the others choose to use Eclipse because these operations are 
>> so much faster (no perceivable delay vs seconds of delay in NB).
>> 
>> I’m the only one that has tried NB 11 so far.
>> 
>> I will try to see if I can make a Maven project template that will 
>> load my project for testing purposes It would be too much work to 
>> make a similar size project from scratch and small projects are less 
>> likely to exhibit the problem.
>> 
>> Just curious, how many java files are in the projects you are using?
>> 
>> I have a bit over 900 .java files in multiple sub-projects.  Usually 
>> 3 or
>> 4 of the subprojects would be open in NB.  The three main projects have:
>> 
>> 489 java files
>> 304 java files
>> 61 java files
>> 
>> Scott
>> 
>> 
>>> On Apr 12, 2019, at 10:51 AM, Thomas Wolf <tj...@gmail.com> wrote:
>>> 
>>> "Are others seeing the slowness?"
>>> 
>>> I just switched from 8.2 to 11 and haven't seen the slowness you
>> describe.   I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my
>> project with JDK 8.  Also, I've used NB since the early days (first 
>> used it in 1999) and 8.2 was pretty quick compared to some previous 
>> releases.  I certainly didn't think it was any slower in doing the 
>> activities you mention than, say, IntelliJ that I recently tried out 
>> for a week or so.  If you thought 8.2 was already slow, perhaps it's 
>> something environmental related - i.e. something in your setup.
>>> (a few years ago, some people were having problems with NB on 
>>> networked
>> file systems.  Is your project on a shared/networked drive?  Just 
>> stabbing in the dark.)
>>> 
>>> 
>>> On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <swpalmer@gmail.com
>> <ma...@gmail.com>> wrote:
>>> What is the best course of action for reporting slowness?  I can’t 
>>> share
>> my project.
>>> I’m not certain how to give step-by-step instructions when the 
>>> problem
>> is basically one step in most cases.  E.g. invoke auto-complete - 
>> nothing happens for several seconds.  Invoke rename - dialog doesn’t 
>> appear for several seconds.  Find usages - extremely slow > 5 second 
>> delay on a private member of a class less than 100 lines.
>>> 
>>> In general it seems NB 11 is noticeably slower than NB 8.2. Not good
>> considering slowness was already my #1 complaint about NB 8.2.  I 
>> have so far found the benefits of NB outweigh the fact that it is 
>> much slower than other IDEs for the same operations, but the slowness 
>> of NB 11 is tipping the scale.  I don’t want to switch IDEs, pease 
>> don’t interpret this as some sort of threat to do so. I would like to 
>> help find the issues in NB.  But I don’t have the bandwidth to debug 
>> NB and not being about to share my project makes it difficult to 
>> provide helpful reports :-(
>>> 
>>> Are others seeing the slowness?
>>> 
>>> Find usages, renames, call-hierarchy, auto-complete… things I use 
>>> all
>> the time, I often have to wait 5 to 10 seconds for a response from 
>> the IDE, sometimes more.
>>> 
>>> I’ve already deleted user dir and cache and restarted.
>>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>>> 
>>> Is there a wiki page with instructions on profiling the IDE?  Maybe 
>>> I
>> can collect something useful.
>>> 
>>> Scott
>>> 
>>> 
>>> --------------------------------------------------------------------
>>> - To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org 
>>> <mailto:
>> netcat-unsubscribe@netbeans.apache.org>
>>> For additional commands, e-mail: netcat-help@netbeans.apache.org
>> <ma...@netbeans.apache.org>
>>> 
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists <
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
>>> 
>>> 
>>> 
>>> --
>>> tjwolf@gmail.com <ma...@gmail.com> 
>>> http://landofwolf.blogspot.com/ <http://landofwolf.blogspot.com/>
>> 


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

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


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

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


RE: Very Slow Operations with NB 11

Posted by pe...@webparity.net.
NB 11 just locked up cutting and pasting, then just got a message: not responsive for 20 sec...  Sent 10 review and reports...


Peter Borreggine
Owner and Developer
Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO
WebParity.net
A Service Connected Disabled Veteran Owned Business
WA State License: 603-501-609
360-830-8926 C

“Lead, Follow or Get Out of the Way…”
- Lee Iacocca, former head of Chrysler and Ford

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and its attachments. Any unauthorized review, use, disclosure, or distribution is prohibited.

-----Original Message-----
From: Scott Palmer <sw...@gmail.com> 
Sent: Friday, April 12, 2019 8:37 AM
To: Geertjan Wielenga <ge...@apache.org>
Cc: dev <de...@netbeans.incubator.apache.org>; Thomas Wolf <tj...@gmail.com>; netcat <ne...@netbeans.apache.org>
Subject: Re: Very Slow Operations with NB 11

I understand that nothing will happen unless I can provide some useful data.  That is why I started the conversation.  I will try to collect the requested data.

There are times when NB is responsive, and other times when it is painfully slow.  I have to be ready to get the data when the slowdowns are presenting.

I have also noticed that NB 11 seems to use significantly more memory.  That may be related. But right now NB is responsive, though I am working from home at the moment via Remote Desktop, so it isn’t ideal eating conditions.
I remember NB taking less than 1GB most of the time, but NB 11 is about double.


Scott

> On Apr 12, 2019, at 11:14 AM, Geertjan Wielenga <ge...@apache.org> wrote:
> 
> You are using Gradle. There is no reason not to believe that the 
> problems you encounter are with Gradle.
> 
> Also, Kirk has provided clear guidance about how to help identify the 
> cause of the problem here.
> 
> And here is the project I use in NetBeans, considerably more than 900 
> files, etc: https://github.com/apache/incubator-netbeans
> 
> Gj
> 
> 
> On Fri, Apr 12, 2019 at 5:07 PM Scott Palmer <sw...@gmail.com> wrote:
> 
>> I’m not the only one in my organization that has issues with NB 
>> speed, and that was with 8.2.
>> Some of the others choose to use Eclipse because these operations are 
>> so much faster (no perceivable delay vs seconds of delay in NB).
>> 
>> I’m the only one that has tried NB 11 so far.
>> 
>> I will try to see if I can make a Maven project template that will 
>> load my project for testing purposes It would be too much work to 
>> make a similar size project from scratch and small projects are less 
>> likely to exhibit the problem.
>> 
>> Just curious, how many java files are in the projects you are using?
>> 
>> I have a bit over 900 .java files in multiple sub-projects.  Usually 
>> 3 or
>> 4 of the subprojects would be open in NB.  The three main projects have:
>> 
>> 489 java files
>> 304 java files
>> 61 java files
>> 
>> Scott
>> 
>> 
>>> On Apr 12, 2019, at 10:51 AM, Thomas Wolf <tj...@gmail.com> wrote:
>>> 
>>> "Are others seeing the slowness?"
>>> 
>>> I just switched from 8.2 to 11 and haven't seen the slowness you
>> describe.   I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my
>> project with JDK 8.  Also, I've used NB since the early days (first 
>> used it in 1999) and 8.2 was pretty quick compared to some previous 
>> releases.  I certainly didn't think it was any slower in doing the 
>> activities you mention than, say, IntelliJ that I recently tried out 
>> for a week or so.  If you thought 8.2 was already slow, perhaps it's 
>> something environmental related - i.e. something in your setup.
>>> (a few years ago, some people were having problems with NB on 
>>> networked
>> file systems.  Is your project on a shared/networked drive?  Just 
>> stabbing in the dark.)
>>> 
>>> 
>>> On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <swpalmer@gmail.com
>> <ma...@gmail.com>> wrote:
>>> What is the best course of action for reporting slowness?  I can’t 
>>> share
>> my project.
>>> I’m not certain how to give step-by-step instructions when the 
>>> problem
>> is basically one step in most cases.  E.g. invoke auto-complete - 
>> nothing happens for several seconds.  Invoke rename - dialog doesn’t 
>> appear for several seconds.  Find usages - extremely slow > 5 second 
>> delay on a private member of a class less than 100 lines.
>>> 
>>> In general it seems NB 11 is noticeably slower than NB 8.2. Not good
>> considering slowness was already my #1 complaint about NB 8.2.  I 
>> have so far found the benefits of NB outweigh the fact that it is 
>> much slower than other IDEs for the same operations, but the slowness 
>> of NB 11 is tipping the scale.  I don’t want to switch IDEs, pease 
>> don’t interpret this as some sort of threat to do so. I would like to 
>> help find the issues in NB.  But I don’t have the bandwidth to debug 
>> NB and not being about to share my project makes it difficult to 
>> provide helpful reports :-(
>>> 
>>> Are others seeing the slowness?
>>> 
>>> Find usages, renames, call-hierarchy, auto-complete… things I use 
>>> all
>> the time, I often have to wait 5 to 10 seconds for a response from 
>> the IDE, sometimes more.
>>> 
>>> I’ve already deleted user dir and cache and restarted.
>>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>>> 
>>> Is there a wiki page with instructions on profiling the IDE?  Maybe 
>>> I
>> can collect something useful.
>>> 
>>> Scott
>>> 
>>> 
>>> --------------------------------------------------------------------
>>> - To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org 
>>> <mailto:
>> netcat-unsubscribe@netbeans.apache.org>
>>> For additional commands, e-mail: netcat-help@netbeans.apache.org
>> <ma...@netbeans.apache.org>
>>> 
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists <
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
>>> 
>>> 
>>> 
>>> --
>>> tjwolf@gmail.com <ma...@gmail.com> 
>>> http://landofwolf.blogspot.com/ <http://landofwolf.blogspot.com/>
>> 


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

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


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

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




Re: Very Slow Operations with NB 11

Posted by Scott Palmer <sw...@gmail.com>.
I understand that nothing will happen unless I can provide some useful data.  That is why I started the conversation.  I will try to collect the requested data.

There are times when NB is responsive, and other times when it is painfully slow.  I have to be ready to get the data when the slowdowns are presenting.

I have also noticed that NB 11 seems to use significantly more memory.  That may be related. But right now NB is responsive, though I am working from home at the moment via Remote Desktop, so it isn’t ideal eating conditions.
I remember NB taking less than 1GB most of the time, but NB 11 is about double.


Scott

> On Apr 12, 2019, at 11:14 AM, Geertjan Wielenga <ge...@apache.org> wrote:
> 
> You are using Gradle. There is no reason not to believe that the problems
> you encounter are with Gradle.
> 
> Also, Kirk has provided clear guidance about how to help identify the cause
> of the problem here.
> 
> And here is the project I use in NetBeans, considerably more than 900
> files, etc: https://github.com/apache/incubator-netbeans
> 
> Gj
> 
> 
> On Fri, Apr 12, 2019 at 5:07 PM Scott Palmer <sw...@gmail.com> wrote:
> 
>> I’m not the only one in my organization that has issues with NB speed, and
>> that was with 8.2.
>> Some of the others choose to use Eclipse because these operations are so
>> much faster (no perceivable delay vs seconds of delay in NB).
>> 
>> I’m the only one that has tried NB 11 so far.
>> 
>> I will try to see if I can make a Maven project template that will load my
>> project for testing purposes It would be too much work to make a similar
>> size project from scratch and small projects are less likely to exhibit the
>> problem.
>> 
>> Just curious, how many java files are in the projects you are using?
>> 
>> I have a bit over 900 .java files in multiple sub-projects.  Usually 3 or
>> 4 of the subprojects would be open in NB.  The three main projects have:
>> 
>> 489 java files
>> 304 java files
>> 61 java files
>> 
>> Scott
>> 
>> 
>>> On Apr 12, 2019, at 10:51 AM, Thomas Wolf <tj...@gmail.com> wrote:
>>> 
>>> "Are others seeing the slowness?"
>>> 
>>> I just switched from 8.2 to 11 and haven't seen the slowness you
>> describe.   I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my
>> project with JDK 8.  Also, I've used NB since the early days (first used it
>> in 1999) and 8.2 was pretty quick compared to some previous releases.  I
>> certainly didn't think it was any slower in doing the activities you
>> mention than, say, IntelliJ that I recently tried out for a week or so.  If
>> you thought 8.2 was already slow, perhaps it's something environmental
>> related - i.e. something in your setup.
>>> (a few years ago, some people were having problems with NB on networked
>> file systems.  Is your project on a shared/networked drive?  Just stabbing
>> in the dark.)
>>> 
>>> 
>>> On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <swpalmer@gmail.com
>> <ma...@gmail.com>> wrote:
>>> What is the best course of action for reporting slowness?  I can’t share
>> my project.
>>> I’m not certain how to give step-by-step instructions when the problem
>> is basically one step in most cases.  E.g. invoke auto-complete - nothing
>> happens for several seconds.  Invoke rename - dialog doesn’t appear for
>> several seconds.  Find usages - extremely slow > 5 second delay on a
>> private member of a class less than 100 lines.
>>> 
>>> In general it seems NB 11 is noticeably slower than NB 8.2. Not good
>> considering slowness was already my #1 complaint about NB 8.2.  I have so
>> far found the benefits of NB outweigh the fact that it is much slower than
>> other IDEs for the same operations, but the slowness of NB 11 is tipping
>> the scale.  I don’t want to switch IDEs, pease don’t interpret this as some
>> sort of threat to do so. I would like to help find the issues in NB.  But I
>> don’t have the bandwidth to debug NB and not being about to share my
>> project makes it difficult to provide helpful reports :-(
>>> 
>>> Are others seeing the slowness?
>>> 
>>> Find usages, renames, call-hierarchy, auto-complete… things I use all
>> the time, I often have to wait 5 to 10 seconds for a response from the IDE,
>> sometimes more.
>>> 
>>> I’ve already deleted user dir and cache and restarted.
>>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>>> 
>>> Is there a wiki page with instructions on profiling the IDE?  Maybe I
>> can collect something useful.
>>> 
>>> Scott
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org <mailto:
>> netcat-unsubscribe@netbeans.apache.org>
>>> For additional commands, e-mail: netcat-help@netbeans.apache.org
>> <ma...@netbeans.apache.org>
>>> 
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists <
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
>>> 
>>> 
>>> 
>>> --
>>> tjwolf@gmail.com <ma...@gmail.com>
>>> http://landofwolf.blogspot.com/ <http://landofwolf.blogspot.com/>
>> 


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

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




Re: Very Slow Operations with NB 11

Posted by Scott Palmer <sw...@gmail.com>.
I understand that nothing will happen unless I can provide some useful data.  That is why I started the conversation.  I will try to collect the requested data.

There are times when NB is responsive, and other times when it is painfully slow.  I have to be ready to get the data when the slowdowns are presenting.

I have also noticed that NB 11 seems to use significantly more memory.  That may be related. But right now NB is responsive, though I am working from home at the moment via Remote Desktop, so it isn’t ideal eating conditions.
I remember NB taking less than 1GB most of the time, but NB 11 is about double.


Scott

> On Apr 12, 2019, at 11:14 AM, Geertjan Wielenga <ge...@apache.org> wrote:
> 
> You are using Gradle. There is no reason not to believe that the problems
> you encounter are with Gradle.
> 
> Also, Kirk has provided clear guidance about how to help identify the cause
> of the problem here.
> 
> And here is the project I use in NetBeans, considerably more than 900
> files, etc: https://github.com/apache/incubator-netbeans
> 
> Gj
> 
> 
> On Fri, Apr 12, 2019 at 5:07 PM Scott Palmer <sw...@gmail.com> wrote:
> 
>> I’m not the only one in my organization that has issues with NB speed, and
>> that was with 8.2.
>> Some of the others choose to use Eclipse because these operations are so
>> much faster (no perceivable delay vs seconds of delay in NB).
>> 
>> I’m the only one that has tried NB 11 so far.
>> 
>> I will try to see if I can make a Maven project template that will load my
>> project for testing purposes It would be too much work to make a similar
>> size project from scratch and small projects are less likely to exhibit the
>> problem.
>> 
>> Just curious, how many java files are in the projects you are using?
>> 
>> I have a bit over 900 .java files in multiple sub-projects.  Usually 3 or
>> 4 of the subprojects would be open in NB.  The three main projects have:
>> 
>> 489 java files
>> 304 java files
>> 61 java files
>> 
>> Scott
>> 
>> 
>>> On Apr 12, 2019, at 10:51 AM, Thomas Wolf <tj...@gmail.com> wrote:
>>> 
>>> "Are others seeing the slowness?"
>>> 
>>> I just switched from 8.2 to 11 and haven't seen the slowness you
>> describe.   I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my
>> project with JDK 8.  Also, I've used NB since the early days (first used it
>> in 1999) and 8.2 was pretty quick compared to some previous releases.  I
>> certainly didn't think it was any slower in doing the activities you
>> mention than, say, IntelliJ that I recently tried out for a week or so.  If
>> you thought 8.2 was already slow, perhaps it's something environmental
>> related - i.e. something in your setup.
>>> (a few years ago, some people were having problems with NB on networked
>> file systems.  Is your project on a shared/networked drive?  Just stabbing
>> in the dark.)
>>> 
>>> 
>>> On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <swpalmer@gmail.com
>> <ma...@gmail.com>> wrote:
>>> What is the best course of action for reporting slowness?  I can’t share
>> my project.
>>> I’m not certain how to give step-by-step instructions when the problem
>> is basically one step in most cases.  E.g. invoke auto-complete - nothing
>> happens for several seconds.  Invoke rename - dialog doesn’t appear for
>> several seconds.  Find usages - extremely slow > 5 second delay on a
>> private member of a class less than 100 lines.
>>> 
>>> In general it seems NB 11 is noticeably slower than NB 8.2. Not good
>> considering slowness was already my #1 complaint about NB 8.2.  I have so
>> far found the benefits of NB outweigh the fact that it is much slower than
>> other IDEs for the same operations, but the slowness of NB 11 is tipping
>> the scale.  I don’t want to switch IDEs, pease don’t interpret this as some
>> sort of threat to do so. I would like to help find the issues in NB.  But I
>> don’t have the bandwidth to debug NB and not being about to share my
>> project makes it difficult to provide helpful reports :-(
>>> 
>>> Are others seeing the slowness?
>>> 
>>> Find usages, renames, call-hierarchy, auto-complete… things I use all
>> the time, I often have to wait 5 to 10 seconds for a response from the IDE,
>> sometimes more.
>>> 
>>> I’ve already deleted user dir and cache and restarted.
>>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>>> 
>>> Is there a wiki page with instructions on profiling the IDE?  Maybe I
>> can collect something useful.
>>> 
>>> Scott
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org <mailto:
>> netcat-unsubscribe@netbeans.apache.org>
>>> For additional commands, e-mail: netcat-help@netbeans.apache.org
>> <ma...@netbeans.apache.org>
>>> 
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists <
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
>>> 
>>> 
>>> 
>>> --
>>> tjwolf@gmail.com <ma...@gmail.com>
>>> http://landofwolf.blogspot.com/ <http://landofwolf.blogspot.com/>
>> 


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

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


RE: Very Slow Operations with NB 11

Posted by pe...@webparity.net.
OH? So Gradle is "built-into" NBs? 

Forgive my ignorance. Thank you


Peter Borreggine
Owner and Developer
Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO
WebParity.net
A Service Connected Disabled Veteran Owned Business
WA State License: 603-501-609
360-830-8926 C

“Lead, Follow or Get Out of the Way…”
- Lee Iacocca, former head of Chrysler and Ford

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and its attachments. Any unauthorized review, use, disclosure, or distribution is prohibited.

-----Original Message-----
From: Geertjan Wielenga <ge...@apache.org> 
Sent: Friday, April 12, 2019 8:14 AM
To: dev <de...@netbeans.incubator.apache.org>
Cc: Thomas Wolf <tj...@gmail.com>; netcat <ne...@netbeans.apache.org>
Subject: Re: Very Slow Operations with NB 11

You are using Gradle. There is no reason not to believe that the problems you encounter are with Gradle.

Also, Kirk has provided clear guidance about how to help identify the cause of the problem here.

And here is the project I use in NetBeans, considerably more than 900 files, etc: https://github.com/apache/incubator-netbeans

Gj


On Fri, Apr 12, 2019 at 5:07 PM Scott Palmer <sw...@gmail.com> wrote:

> I’m not the only one in my organization that has issues with NB speed, 
> and that was with 8.2.
> Some of the others choose to use Eclipse because these operations are 
> so much faster (no perceivable delay vs seconds of delay in NB).
>
> I’m the only one that has tried NB 11 so far.
>
> I will try to see if I can make a Maven project template that will 
> load my project for testing purposes It would be too much work to make 
> a similar size project from scratch and small projects are less likely 
> to exhibit the problem.
>
> Just curious, how many java files are in the projects you are using?
>
> I have a bit over 900 .java files in multiple sub-projects.  Usually 3 
> or
> 4 of the subprojects would be open in NB.  The three main projects have:
>
> 489 java files
> 304 java files
> 61 java files
>
> Scott
>
>
> > On Apr 12, 2019, at 10:51 AM, Thomas Wolf <tj...@gmail.com> wrote:
> >
> > "Are others seeing the slowness?"
> >
> > I just switched from 8.2 to 11 and haven't seen the slowness you
> describe.   I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my
> project with JDK 8.  Also, I've used NB since the early days (first 
> used it in 1999) and 8.2 was pretty quick compared to some previous 
> releases.  I certainly didn't think it was any slower in doing the 
> activities you mention than, say, IntelliJ that I recently tried out 
> for a week or so.  If you thought 8.2 was already slow, perhaps it's 
> something environmental related - i.e. something in your setup.
> > (a few years ago, some people were having problems with NB on 
> > networked
> file systems.  Is your project on a shared/networked drive?  Just 
> stabbing in the dark.)
> >
> >
> > On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <swpalmer@gmail.com
> <ma...@gmail.com>> wrote:
> > What is the best course of action for reporting slowness?  I can’t 
> > share
> my project.
> > I’m not certain how to give step-by-step instructions when the 
> > problem
> is basically one step in most cases.  E.g. invoke auto-complete - 
> nothing happens for several seconds.  Invoke rename - dialog doesn’t 
> appear for several seconds.  Find usages - extremely slow > 5 second 
> delay on a private member of a class less than 100 lines.
> >
> > In general it seems NB 11 is noticeably slower than NB 8.2. Not good
> considering slowness was already my #1 complaint about NB 8.2.  I have 
> so far found the benefits of NB outweigh the fact that it is much 
> slower than other IDEs for the same operations, but the slowness of NB 
> 11 is tipping the scale.  I don’t want to switch IDEs, pease don’t 
> interpret this as some sort of threat to do so. I would like to help 
> find the issues in NB.  But I don’t have the bandwidth to debug NB and 
> not being about to share my project makes it difficult to provide 
> helpful reports :-(
> >
> > Are others seeing the slowness?
> >
> > Find usages, renames, call-hierarchy, auto-complete… things I use 
> > all
> the time, I often have to wait 5 to 10 seconds for a response from the 
> IDE, sometimes more.
> >
> > I’ve already deleted user dir and cache and restarted.
> > I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
> >
> > Is there a wiki page with instructions on profiling the IDE?  Maybe 
> > I
> can collect something useful.
> >
> > Scott
> >
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org 
> > <mailto:
> netcat-unsubscribe@netbeans.apache.org>
> > For additional commands, e-mail: netcat-help@netbeans.apache.org
> <ma...@netbeans.apache.org>
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists <
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
> >
> >
> >
> > --
> > tjwolf@gmail.com <ma...@gmail.com> 
> > http://landofwolf.blogspot.com/ <http://landofwolf.blogspot.com/>
>


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

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


Re: Very Slow Operations with NB 11

Posted by Geertjan Wielenga <ge...@apache.org>.
You are using Gradle. There is no reason not to believe that the problems
you encounter are with Gradle.

Also, Kirk has provided clear guidance about how to help identify the cause
of the problem here.

And here is the project I use in NetBeans, considerably more than 900
files, etc: https://github.com/apache/incubator-netbeans

Gj


On Fri, Apr 12, 2019 at 5:07 PM Scott Palmer <sw...@gmail.com> wrote:

> I’m not the only one in my organization that has issues with NB speed, and
> that was with 8.2.
> Some of the others choose to use Eclipse because these operations are so
> much faster (no perceivable delay vs seconds of delay in NB).
>
> I’m the only one that has tried NB 11 so far.
>
> I will try to see if I can make a Maven project template that will load my
> project for testing purposes It would be too much work to make a similar
> size project from scratch and small projects are less likely to exhibit the
> problem.
>
> Just curious, how many java files are in the projects you are using?
>
> I have a bit over 900 .java files in multiple sub-projects.  Usually 3 or
> 4 of the subprojects would be open in NB.  The three main projects have:
>
> 489 java files
> 304 java files
> 61 java files
>
> Scott
>
>
> > On Apr 12, 2019, at 10:51 AM, Thomas Wolf <tj...@gmail.com> wrote:
> >
> > "Are others seeing the slowness?"
> >
> > I just switched from 8.2 to 11 and haven't seen the slowness you
> describe.   I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my
> project with JDK 8.  Also, I've used NB since the early days (first used it
> in 1999) and 8.2 was pretty quick compared to some previous releases.  I
> certainly didn't think it was any slower in doing the activities you
> mention than, say, IntelliJ that I recently tried out for a week or so.  If
> you thought 8.2 was already slow, perhaps it's something environmental
> related - i.e. something in your setup.
> > (a few years ago, some people were having problems with NB on networked
> file systems.  Is your project on a shared/networked drive?  Just stabbing
> in the dark.)
> >
> >
> > On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <swpalmer@gmail.com
> <ma...@gmail.com>> wrote:
> > What is the best course of action for reporting slowness?  I can’t share
> my project.
> > I’m not certain how to give step-by-step instructions when the problem
> is basically one step in most cases.  E.g. invoke auto-complete - nothing
> happens for several seconds.  Invoke rename - dialog doesn’t appear for
> several seconds.  Find usages - extremely slow > 5 second delay on a
> private member of a class less than 100 lines.
> >
> > In general it seems NB 11 is noticeably slower than NB 8.2. Not good
> considering slowness was already my #1 complaint about NB 8.2.  I have so
> far found the benefits of NB outweigh the fact that it is much slower than
> other IDEs for the same operations, but the slowness of NB 11 is tipping
> the scale.  I don’t want to switch IDEs, pease don’t interpret this as some
> sort of threat to do so. I would like to help find the issues in NB.  But I
> don’t have the bandwidth to debug NB and not being about to share my
> project makes it difficult to provide helpful reports :-(
> >
> > Are others seeing the slowness?
> >
> > Find usages, renames, call-hierarchy, auto-complete… things I use all
> the time, I often have to wait 5 to 10 seconds for a response from the IDE,
> sometimes more.
> >
> > I’ve already deleted user dir and cache and restarted.
> > I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
> >
> > Is there a wiki page with instructions on profiling the IDE?  Maybe I
> can collect something useful.
> >
> > Scott
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org <mailto:
> netcat-unsubscribe@netbeans.apache.org>
> > For additional commands, e-mail: netcat-help@netbeans.apache.org
> <ma...@netbeans.apache.org>
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists <
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
> >
> >
> >
> > --
> > tjwolf@gmail.com <ma...@gmail.com>
> > http://landofwolf.blogspot.com/ <http://landofwolf.blogspot.com/>
>

Re: Very Slow Operations with NB 11

Posted by Geertjan Wielenga <ge...@apache.org>.
You are using Gradle. There is no reason not to believe that the problems
you encounter are with Gradle.

Also, Kirk has provided clear guidance about how to help identify the cause
of the problem here.

And here is the project I use in NetBeans, considerably more than 900
files, etc: https://github.com/apache/incubator-netbeans

Gj


On Fri, Apr 12, 2019 at 5:07 PM Scott Palmer <sw...@gmail.com> wrote:

> I’m not the only one in my organization that has issues with NB speed, and
> that was with 8.2.
> Some of the others choose to use Eclipse because these operations are so
> much faster (no perceivable delay vs seconds of delay in NB).
>
> I’m the only one that has tried NB 11 so far.
>
> I will try to see if I can make a Maven project template that will load my
> project for testing purposes It would be too much work to make a similar
> size project from scratch and small projects are less likely to exhibit the
> problem.
>
> Just curious, how many java files are in the projects you are using?
>
> I have a bit over 900 .java files in multiple sub-projects.  Usually 3 or
> 4 of the subprojects would be open in NB.  The three main projects have:
>
> 489 java files
> 304 java files
> 61 java files
>
> Scott
>
>
> > On Apr 12, 2019, at 10:51 AM, Thomas Wolf <tj...@gmail.com> wrote:
> >
> > "Are others seeing the slowness?"
> >
> > I just switched from 8.2 to 11 and haven't seen the slowness you
> describe.   I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my
> project with JDK 8.  Also, I've used NB since the early days (first used it
> in 1999) and 8.2 was pretty quick compared to some previous releases.  I
> certainly didn't think it was any slower in doing the activities you
> mention than, say, IntelliJ that I recently tried out for a week or so.  If
> you thought 8.2 was already slow, perhaps it's something environmental
> related - i.e. something in your setup.
> > (a few years ago, some people were having problems with NB on networked
> file systems.  Is your project on a shared/networked drive?  Just stabbing
> in the dark.)
> >
> >
> > On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <swpalmer@gmail.com
> <ma...@gmail.com>> wrote:
> > What is the best course of action for reporting slowness?  I can’t share
> my project.
> > I’m not certain how to give step-by-step instructions when the problem
> is basically one step in most cases.  E.g. invoke auto-complete - nothing
> happens for several seconds.  Invoke rename - dialog doesn’t appear for
> several seconds.  Find usages - extremely slow > 5 second delay on a
> private member of a class less than 100 lines.
> >
> > In general it seems NB 11 is noticeably slower than NB 8.2. Not good
> considering slowness was already my #1 complaint about NB 8.2.  I have so
> far found the benefits of NB outweigh the fact that it is much slower than
> other IDEs for the same operations, but the slowness of NB 11 is tipping
> the scale.  I don’t want to switch IDEs, pease don’t interpret this as some
> sort of threat to do so. I would like to help find the issues in NB.  But I
> don’t have the bandwidth to debug NB and not being about to share my
> project makes it difficult to provide helpful reports :-(
> >
> > Are others seeing the slowness?
> >
> > Find usages, renames, call-hierarchy, auto-complete… things I use all
> the time, I often have to wait 5 to 10 seconds for a response from the IDE,
> sometimes more.
> >
> > I’ve already deleted user dir and cache and restarted.
> > I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
> >
> > Is there a wiki page with instructions on profiling the IDE?  Maybe I
> can collect something useful.
> >
> > Scott
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org <mailto:
> netcat-unsubscribe@netbeans.apache.org>
> > For additional commands, e-mail: netcat-help@netbeans.apache.org
> <ma...@netbeans.apache.org>
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists <
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
> >
> >
> >
> > --
> > tjwolf@gmail.com <ma...@gmail.com>
> > http://landofwolf.blogspot.com/ <http://landofwolf.blogspot.com/>
>

Re: Very Slow Operations with NB 11

Posted by Thomas Wolf <tj...@gmail.com>.
Hi Scott,
My JSE project has 622 java files (about 130k ncsl).   But I’ve used NB 8
at a previous company without any of the delays you mention - and there, I
had a JSE project with some 4,000+ Java files.

tom

On Fri, Apr 12, 2019 at 11:07 AM Scott Palmer <sw...@gmail.com> wrote:

> I’m not the only one in my organization that has issues with NB speed, and
> that was with 8.2.
> Some of the others choose to use Eclipse because these operations are so
> much faster (no perceivable delay vs seconds of delay in NB).
>
> I’m the only one that has tried NB 11 so far.
>
> I will try to see if I can make a Maven project template that will load my
> project for testing purposes It would be too much work to make a similar
> size project from scratch and small projects are less likely to exhibit the
> problem.
>
> Just curious, how many java files are in the projects you are using?
>
> I have a bit over 900 .java files in multiple sub-projects.  Usually 3 or
> 4 of the subprojects would be open in NB.  The three main projects have:
>
> 489 java files
> 304 java files
> 61 java files
>
> Scott
>
>
> On Apr 12, 2019, at 10:51 AM, Thomas Wolf <tj...@gmail.com> wrote:
>
> "Are others seeing the slowness?"
>
> I just switched from 8.2 to 11 and haven't seen the slowness you describe.
>   I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my project with
> JDK 8.  Also, I've used NB since the early days (first used it in 1999) and
> 8.2 was pretty quick compared to some previous releases.  I certainly
> didn't think it was any slower in doing the activities you mention than,
> say, IntelliJ that I recently tried out for a week or so.  If you thought
> 8.2 was already slow, perhaps it's something environmental related - i.e.
> something in your setup.
> (a few years ago, some people were having problems with NB on networked
> file systems.  Is your project on a shared/networked drive?  Just stabbing
> in the dark.)
>
>
> On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <sw...@gmail.com> wrote:
>
>> What is the best course of action for reporting slowness?  I can’t share
>> my project.
>> I’m not certain how to give step-by-step instructions when the problem is
>> basically one step in most cases.  E.g. invoke auto-complete - nothing
>> happens for several seconds.  Invoke rename - dialog doesn’t appear for
>> several seconds.  Find usages - extremely slow > 5 second delay on a
>> private member of a class less than 100 lines.
>>
>> In general it seems NB 11 is noticeably slower than NB 8.2. Not good
>> considering slowness was already my #1 complaint about NB 8.2.  I have so
>> far found the benefits of NB outweigh the fact that it is much slower than
>> other IDEs for the same operations, but the slowness of NB 11 is tipping
>> the scale.  I don’t want to switch IDEs, pease don’t interpret this as some
>> sort of threat to do so. I would like to help find the issues in NB.  But I
>> don’t have the bandwidth to debug NB and not being about to share my
>> project makes it difficult to provide helpful reports :-(
>>
>> Are others seeing the slowness?
>>
>> Find usages, renames, call-hierarchy, auto-complete… things I use all the
>> time, I often have to wait 5 to 10 seconds for a response from the IDE,
>> sometimes more.
>>
>> I’ve already deleted user dir and cache and restarted.
>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>>
>> Is there a wiki page with instructions on profiling the IDE?  Maybe I can
>> collect something useful.
>>
>> Scott
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: netcat-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>
> --
> tjwolf@gmail.com
> http://landofwolf.blogspot.com/
>
>
> --
tjwolf@gmail.com
http://landofwolf.blogspot.com/

Re: Very Slow Operations with NB 11

Posted by Scott Palmer <sw...@gmail.com>.
I’m not the only one in my organization that has issues with NB speed, and that was with 8.2.  
Some of the others choose to use Eclipse because these operations are so much faster (no perceivable delay vs seconds of delay in NB).

I’m the only one that has tried NB 11 so far.

I will try to see if I can make a Maven project template that will load my project for testing purposes It would be too much work to make a similar size project from scratch and small projects are less likely to exhibit the problem.

Just curious, how many java files are in the projects you are using?

I have a bit over 900 .java files in multiple sub-projects.  Usually 3 or 4 of the subprojects would be open in NB.  The three main projects have:

489 java files
304 java files
61 java files

Scott


> On Apr 12, 2019, at 10:51 AM, Thomas Wolf <tj...@gmail.com> wrote:
> 
> "Are others seeing the slowness?"
> 
> I just switched from 8.2 to 11 and haven't seen the slowness you describe.   I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my project with JDK 8.  Also, I've used NB since the early days (first used it in 1999) and 8.2 was pretty quick compared to some previous releases.  I certainly didn't think it was any slower in doing the activities you mention than, say, IntelliJ that I recently tried out for a week or so.  If you thought 8.2 was already slow, perhaps it's something environmental related - i.e. something in your setup.
> (a few years ago, some people were having problems with NB on networked file systems.  Is your project on a shared/networked drive?  Just stabbing in the dark.)
> 
> 
> On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <swpalmer@gmail.com <ma...@gmail.com>> wrote:
> What is the best course of action for reporting slowness?  I can’t share my project.
> I’m not certain how to give step-by-step instructions when the problem is basically one step in most cases.  E.g. invoke auto-complete - nothing happens for several seconds.  Invoke rename - dialog doesn’t appear for several seconds.  Find usages - extremely slow > 5 second delay on a private member of a class less than 100 lines.
> 
> In general it seems NB 11 is noticeably slower than NB 8.2. Not good considering slowness was already my #1 complaint about NB 8.2.  I have so far found the benefits of NB outweigh the fact that it is much slower than other IDEs for the same operations, but the slowness of NB 11 is tipping the scale.  I don’t want to switch IDEs, pease don’t interpret this as some sort of threat to do so. I would like to help find the issues in NB.  But I don’t have the bandwidth to debug NB and not being about to share my project makes it difficult to provide helpful reports :-(
> 
> Are others seeing the slowness?
> 
> Find usages, renames, call-hierarchy, auto-complete… things I use all the time, I often have to wait 5 to 10 seconds for a response from the IDE, sometimes more.
> 
> I’ve already deleted user dir and cache and restarted. 
> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
> 
> Is there a wiki page with instructions on profiling the IDE?  Maybe I can collect something useful.
> 
> Scott
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org <ma...@netbeans.apache.org>
> For additional commands, e-mail: netcat-help@netbeans.apache.org <ma...@netbeans.apache.org>
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists <https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
> 
> 
> 
> -- 
> tjwolf@gmail.com <ma...@gmail.com>
> http://landofwolf.blogspot.com/ <http://landofwolf.blogspot.com/>

Re: Very Slow Operations with NB 11

Posted by Scott Palmer <sw...@gmail.com>.
I’m not the only one in my organization that has issues with NB speed, and that was with 8.2.  
Some of the others choose to use Eclipse because these operations are so much faster (no perceivable delay vs seconds of delay in NB).

I’m the only one that has tried NB 11 so far.

I will try to see if I can make a Maven project template that will load my project for testing purposes It would be too much work to make a similar size project from scratch and small projects are less likely to exhibit the problem.

Just curious, how many java files are in the projects you are using?

I have a bit over 900 .java files in multiple sub-projects.  Usually 3 or 4 of the subprojects would be open in NB.  The three main projects have:

489 java files
304 java files
61 java files

Scott


> On Apr 12, 2019, at 10:51 AM, Thomas Wolf <tj...@gmail.com> wrote:
> 
> "Are others seeing the slowness?"
> 
> I just switched from 8.2 to 11 and haven't seen the slowness you describe.   I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my project with JDK 8.  Also, I've used NB since the early days (first used it in 1999) and 8.2 was pretty quick compared to some previous releases.  I certainly didn't think it was any slower in doing the activities you mention than, say, IntelliJ that I recently tried out for a week or so.  If you thought 8.2 was already slow, perhaps it's something environmental related - i.e. something in your setup.
> (a few years ago, some people were having problems with NB on networked file systems.  Is your project on a shared/networked drive?  Just stabbing in the dark.)
> 
> 
> On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <swpalmer@gmail.com <ma...@gmail.com>> wrote:
> What is the best course of action for reporting slowness?  I can’t share my project.
> I’m not certain how to give step-by-step instructions when the problem is basically one step in most cases.  E.g. invoke auto-complete - nothing happens for several seconds.  Invoke rename - dialog doesn’t appear for several seconds.  Find usages - extremely slow > 5 second delay on a private member of a class less than 100 lines.
> 
> In general it seems NB 11 is noticeably slower than NB 8.2. Not good considering slowness was already my #1 complaint about NB 8.2.  I have so far found the benefits of NB outweigh the fact that it is much slower than other IDEs for the same operations, but the slowness of NB 11 is tipping the scale.  I don’t want to switch IDEs, pease don’t interpret this as some sort of threat to do so. I would like to help find the issues in NB.  But I don’t have the bandwidth to debug NB and not being about to share my project makes it difficult to provide helpful reports :-(
> 
> Are others seeing the slowness?
> 
> Find usages, renames, call-hierarchy, auto-complete… things I use all the time, I often have to wait 5 to 10 seconds for a response from the IDE, sometimes more.
> 
> I’ve already deleted user dir and cache and restarted. 
> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
> 
> Is there a wiki page with instructions on profiling the IDE?  Maybe I can collect something useful.
> 
> Scott
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org <ma...@netbeans.apache.org>
> For additional commands, e-mail: netcat-help@netbeans.apache.org <ma...@netbeans.apache.org>
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists <https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
> 
> 
> 
> -- 
> tjwolf@gmail.com <ma...@gmail.com>
> http://landofwolf.blogspot.com/ <http://landofwolf.blogspot.com/>

Re: Very Slow Operations with NB 11

Posted by Thomas Wolf <tj...@gmail.com>.
"Are others seeing the slowness?"

I just switched from 8.2 to 11 and haven't seen the slowness you describe.
  I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my project with
JDK 8.  Also, I've used NB since the early days (first used it in 1999) and
8.2 was pretty quick compared to some previous releases.  I certainly
didn't think it was any slower in doing the activities you mention than,
say, IntelliJ that I recently tried out for a week or so.  If you thought
8.2 was already slow, perhaps it's something environmental related - i.e.
something in your setup.
(a few years ago, some people were having problems with NB on networked
file systems.  Is your project on a shared/networked drive?  Just stabbing
in the dark.)


On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <sw...@gmail.com> wrote:

> What is the best course of action for reporting slowness?  I can’t share
> my project.
> I’m not certain how to give step-by-step instructions when the problem is
> basically one step in most cases.  E.g. invoke auto-complete - nothing
> happens for several seconds.  Invoke rename - dialog doesn’t appear for
> several seconds.  Find usages - extremely slow > 5 second delay on a
> private member of a class less than 100 lines.
>
> In general it seems NB 11 is noticeably slower than NB 8.2. Not good
> considering slowness was already my #1 complaint about NB 8.2.  I have so
> far found the benefits of NB outweigh the fact that it is much slower than
> other IDEs for the same operations, but the slowness of NB 11 is tipping
> the scale.  I don’t want to switch IDEs, pease don’t interpret this as some
> sort of threat to do so. I would like to help find the issues in NB.  But I
> don’t have the bandwidth to debug NB and not being about to share my
> project makes it difficult to provide helpful reports :-(
>
> Are others seeing the slowness?
>
> Find usages, renames, call-hierarchy, auto-complete… things I use all the
> time, I often have to wait 5 to 10 seconds for a response from the IDE,
> sometimes more.
>
> I’ve already deleted user dir and cache and restarted.
> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>
> Is there a wiki page with instructions on profiling the IDE?  Maybe I can
> collect something useful.
>
> Scott
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: netcat-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

-- 
tjwolf@gmail.com
http://landofwolf.blogspot.com/

RE: Very Slow Operations with NB 11

Posted by pe...@webparity.net.
I love NB's and will never switch. I've been using it since 2013... and love it. But the lagging, the locking up on save, the memory leaks, the not being able to format... really is frustrating.  The other thing, I have only 1 or 2 projects in a group open so, it's not massive projects in the app doing it.  The background scanning takes forever...  scanning for external changes suspends not by my doing... just sits there... can't CLOSE IT...

Something I stated to John Chen in 1999 at the Sybase Techwave in Florida about Powerbuilder was, "Why are you putting out a product riddled with bugs when you can BEAT the competition and put a product as close to free of bugs?"  Well, being Chinese that was an insult which I didn't know... his response on the stage with the CEO of Tibco and other tech companies was, "Are you a plant?"  I worked for Sybase (former employee).

The next day, Raj Nathan, the VP stood in front of the 3000 people and vindicated me.  He committed to put out PB 5.0 as free from bugs as possible.  I saw John going in to a meeting and stopped him, apologized for unconsciously insulting him and he thanked me for being so bold and bringing it to his attention.

But that's what WE NEED here folks. Eat the elephant one bite at a time.

Let's do what we need before putting it out there. We know there are bugs, we know there are problems, let's fix one at a time, prioritize them as P1, P2, or P3 where P1 is a showstopper, P2 has a workaround and P3 is plainly cosmetic. I'm old school and 59 years old.  Been doing this for over 35 years.

Let's BEAT the competition and put out the best product we can.

Agreed?


Peter Borreggine
Owner and Developer
Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO
WebParity.net
A Service Connected Disabled Veteran Owned Business
WA State License: 603-501-609
360-830-8926 C

“Lead, Follow or Get Out of the Way…”
- Lee Iacocca, former head of Chrysler and Ford

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and its attachments. Any unauthorized review, use, disclosure, or distribution is prohibited.

-----Original Message-----
From: Scott Palmer <sw...@gmail.com> 
Sent: Friday, April 12, 2019 7:26 AM
To: dev <de...@netbeans.incubator.apache.org>
Cc: netcat <ne...@netbeans.apache.org>; Geertjan Wielenga <ge...@apache.org>
Subject: Very Slow Operations with NB 11

What is the best course of action for reporting slowness?  I can’t share my project.
I’m not certain how to give step-by-step instructions when the problem is basically one step in most cases.  E.g. invoke auto-complete - nothing happens for several seconds.  Invoke rename - dialog doesn’t appear for several seconds.  Find usages - extremely slow > 5 second delay on a private member of a class less than 100 lines.

In general it seems NB 11 is noticeably slower than NB 8.2. Not good considering slowness was already my #1 complaint about NB 8.2.  I have so far found the benefits of NB outweigh the fact that it is much slower than other IDEs for the same operations, but the slowness of NB 11 is tipping the scale.  I don’t want to switch IDEs, pease don’t interpret this as some sort of threat to do so. I would like to help find the issues in NB.  But I don’t have the bandwidth to debug NB and not being about to share my project makes it difficult to provide helpful reports :-(

Are others seeing the slowness?

Find usages, renames, call-hierarchy, auto-complete… things I use all the time, I often have to wait 5 to 10 seconds for a response from the IDE, sometimes more.

I’ve already deleted user dir and cache and restarted. 
I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.

Is there a wiki page with instructions on profiling the IDE?  Maybe I can collect something useful.

Scott


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

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


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

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




Re: Very Slow Operations with NB 11

Posted by John Neffenger <jo...@status6.com>.
On 4/12/19 7:26 AM, Scott Palmer wrote:
> Are others seeing the slowness?
> 
> Find usages, renames, call-hierarchy, auto-complete… things I use all the time, I often have to wait 5 to 10 seconds for a response from the IDE, sometimes more.

I saw these delays in NetBeans 10, but I'm unable to reproduce them just 
now in NetBeans 11. It would take 10 to 15 seconds to display the source 
code of a superclass from a library, for example, when Ctrl-clicking on 
the class name with the mouse.

What I found at the time was that NetBeans was very sensitive to how you 
attached the Java source files to the modular JAR files of a library.

What worked for me was to follow the instructions below under the 
heading "JavaFX and NetBeans" (which should work regardless of the 
library you're using):

https://openjfx.io/openjfx-docs/

In particular, I had to avoid attaching the sources to the Global 
Library and instead list the JAR files separately in my project and 
attach each module's sources to its own JAR file. You do that by 
selecting the JAR file, clicking the Edit button, and adding the 
expanded source directory in the Source text field. (I had to unzip the 
"src.zip" folder of the library to get the separate module source folders.)

After that, instead of taking 15 seconds (or more), clicking through to 
the library sources was instantaneous.

But as I said, I'm unable to reproduce the slowness problem on NetBeans 
11, but I still get constant java.lang.AssertionError exceptions when I 
attach the sources the "wrong" way.

John

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

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




Re: Very Slow Operations with NB 11

Posted by Thomas Wolf <tj...@gmail.com>.
"Are others seeing the slowness?"

I just switched from 8.2 to 11 and haven't seen the slowness you describe.
  I'm running the IDE with Java 11.0.1+13LTS (on a Mac) and my project with
JDK 8.  Also, I've used NB since the early days (first used it in 1999) and
8.2 was pretty quick compared to some previous releases.  I certainly
didn't think it was any slower in doing the activities you mention than,
say, IntelliJ that I recently tried out for a week or so.  If you thought
8.2 was already slow, perhaps it's something environmental related - i.e.
something in your setup.
(a few years ago, some people were having problems with NB on networked
file systems.  Is your project on a shared/networked drive?  Just stabbing
in the dark.)


On Fri, Apr 12, 2019 at 10:33 AM Scott Palmer <sw...@gmail.com> wrote:

> What is the best course of action for reporting slowness?  I can’t share
> my project.
> I’m not certain how to give step-by-step instructions when the problem is
> basically one step in most cases.  E.g. invoke auto-complete - nothing
> happens for several seconds.  Invoke rename - dialog doesn’t appear for
> several seconds.  Find usages - extremely slow > 5 second delay on a
> private member of a class less than 100 lines.
>
> In general it seems NB 11 is noticeably slower than NB 8.2. Not good
> considering slowness was already my #1 complaint about NB 8.2.  I have so
> far found the benefits of NB outweigh the fact that it is much slower than
> other IDEs for the same operations, but the slowness of NB 11 is tipping
> the scale.  I don’t want to switch IDEs, pease don’t interpret this as some
> sort of threat to do so. I would like to help find the issues in NB.  But I
> don’t have the bandwidth to debug NB and not being about to share my
> project makes it difficult to provide helpful reports :-(
>
> Are others seeing the slowness?
>
> Find usages, renames, call-hierarchy, auto-complete… things I use all the
> time, I often have to wait 5 to 10 seconds for a response from the IDE,
> sometimes more.
>
> I’ve already deleted user dir and cache and restarted.
> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>
> Is there a wiki page with instructions on profiling the IDE?  Maybe I can
> collect something useful.
>
> Scott
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: netcat-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

-- 
tjwolf@gmail.com
http://landofwolf.blogspot.com/

Re: Very Slow Operations with NB 11

Posted by Kodewerk <ki...@kodewerk.com>.
Hi all,

All projects suffer from regressions from time to time. The only way to deal with them is to gather data, which I’ve asked for, and analyze it to see what can be done to fix it. What is unhelpful are messages about this or that sucks. It’s subjective and offensive.

Kind regards,
Kirk


> On Apr 12, 2019, at 8:18 AM, peter@webparity.net wrote:
> 
> I’m not using Gradle... hate it. We have problems at work with Gradle on InteliJ which also sucks.
> 
> 
> Peter Borreggine
> Owner and Developer
> Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO
> WebParity.net
> A Service Connected Disabled Veteran Owned Business
> WA State License: 603-501-609
> 360-830-8926 C
> 
> “Lead, Follow or Get Out of the Way…”
> - Lee Iacocca, former head of Chrysler and Ford
> 
> This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and its attachments. Any unauthorized review, use, disclosure, or distribution is prohibited.
> 
> -----Original Message-----
> From: Geertjan Wielenga <ge...@apache.org> 
> Sent: Friday, April 12, 2019 7:31 AM
> To: Scott Palmer <sw...@gmail.com>
> Cc: dev <de...@netbeans.incubator.apache.org>; netcat <ne...@netbeans.apache.org>
> Subject: Re: Very Slow Operations with NB 11
> 
> Well, possibly it is related to Gradle.
> 
> Can you see if you can reproduce these problems without using Gradle-based Java projects.
> 
> Gj
> 
> On Fri, Apr 12, 2019 at 4:26 PM Scott Palmer <sw...@gmail.com> wrote:
> 
>> What is the best course of action for reporting slowness?  I can’t 
>> share my project.
>> I’m not certain how to give step-by-step instructions when the problem 
>> is basically one step in most cases.  E.g. invoke auto-complete - 
>> nothing happens for several seconds.  Invoke rename - dialog doesn’t 
>> appear for several seconds.  Find usages - extremely slow > 5 second 
>> delay on a private member of a class less than 100 lines.
>> 
>> In general it seems NB 11 is noticeably slower than NB 8.2. Not good 
>> considering slowness was already my #1 complaint about NB 8.2.  I have 
>> so far found the benefits of NB outweigh the fact that it is much 
>> slower than other IDEs for the same operations, but the slowness of NB 
>> 11 is tipping the scale.  I don’t want to switch IDEs, pease don’t 
>> interpret this as some sort of threat to do so. I would like to help 
>> find the issues in NB.  But I don’t have the bandwidth to debug NB and 
>> not being about to share my project makes it difficult to provide 
>> helpful reports :-(
>> 
>> Are others seeing the slowness?
>> 
>> Find usages, renames, call-hierarchy, auto-complete… things I use all 
>> the time, I often have to wait 5 to 10 seconds for a response from the 
>> IDE, sometimes more.
>> 
>> I’ve already deleted user dir and cache and restarted.
>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>> 
>> Is there a wiki page with instructions on profiling the IDE?  Maybe I 
>> can collect something useful.
>> 
>> Scott
>> 
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> 


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

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




Re: Very Slow Operations with NB 11

Posted by Kodewerk <ki...@kodewerk.com>.
Hi all,

All projects suffer from regressions from time to time. The only way to deal with them is to gather data, which I’ve asked for, and analyze it to see what can be done to fix it. What is unhelpful are messages about this or that sucks. It’s subjective and offensive.

Kind regards,
Kirk


> On Apr 12, 2019, at 8:18 AM, peter@webparity.net wrote:
> 
> I’m not using Gradle... hate it. We have problems at work with Gradle on InteliJ which also sucks.
> 
> 
> Peter Borreggine
> Owner and Developer
> Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO
> WebParity.net
> A Service Connected Disabled Veteran Owned Business
> WA State License: 603-501-609
> 360-830-8926 C
> 
> “Lead, Follow or Get Out of the Way…”
> - Lee Iacocca, former head of Chrysler and Ford
> 
> This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and its attachments. Any unauthorized review, use, disclosure, or distribution is prohibited.
> 
> -----Original Message-----
> From: Geertjan Wielenga <ge...@apache.org> 
> Sent: Friday, April 12, 2019 7:31 AM
> To: Scott Palmer <sw...@gmail.com>
> Cc: dev <de...@netbeans.incubator.apache.org>; netcat <ne...@netbeans.apache.org>
> Subject: Re: Very Slow Operations with NB 11
> 
> Well, possibly it is related to Gradle.
> 
> Can you see if you can reproduce these problems without using Gradle-based Java projects.
> 
> Gj
> 
> On Fri, Apr 12, 2019 at 4:26 PM Scott Palmer <sw...@gmail.com> wrote:
> 
>> What is the best course of action for reporting slowness?  I can’t 
>> share my project.
>> I’m not certain how to give step-by-step instructions when the problem 
>> is basically one step in most cases.  E.g. invoke auto-complete - 
>> nothing happens for several seconds.  Invoke rename - dialog doesn’t 
>> appear for several seconds.  Find usages - extremely slow > 5 second 
>> delay on a private member of a class less than 100 lines.
>> 
>> In general it seems NB 11 is noticeably slower than NB 8.2. Not good 
>> considering slowness was already my #1 complaint about NB 8.2.  I have 
>> so far found the benefits of NB outweigh the fact that it is much 
>> slower than other IDEs for the same operations, but the slowness of NB 
>> 11 is tipping the scale.  I don’t want to switch IDEs, pease don’t 
>> interpret this as some sort of threat to do so. I would like to help 
>> find the issues in NB.  But I don’t have the bandwidth to debug NB and 
>> not being about to share my project makes it difficult to provide 
>> helpful reports :-(
>> 
>> Are others seeing the slowness?
>> 
>> Find usages, renames, call-hierarchy, auto-complete… things I use all 
>> the time, I often have to wait 5 to 10 seconds for a response from the 
>> IDE, sometimes more.
>> 
>> I’ve already deleted user dir and cache and restarted.
>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>> 
>> Is there a wiki page with instructions on profiling the IDE?  Maybe I 
>> can collect something useful.
>> 
>> Scott
>> 
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> 


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

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


RE: Very Slow Operations with NB 11

Posted by pe...@webparity.net.
I’m not using Gradle... hate it. We have problems at work with Gradle on InteliJ which also sucks.


Peter Borreggine
Owner and Developer
Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO
WebParity.net
A Service Connected Disabled Veteran Owned Business
WA State License: 603-501-609
360-830-8926 C

“Lead, Follow or Get Out of the Way…”
- Lee Iacocca, former head of Chrysler and Ford

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and its attachments. Any unauthorized review, use, disclosure, or distribution is prohibited.

-----Original Message-----
From: Geertjan Wielenga <ge...@apache.org> 
Sent: Friday, April 12, 2019 7:31 AM
To: Scott Palmer <sw...@gmail.com>
Cc: dev <de...@netbeans.incubator.apache.org>; netcat <ne...@netbeans.apache.org>
Subject: Re: Very Slow Operations with NB 11

Well, possibly it is related to Gradle.

Can you see if you can reproduce these problems without using Gradle-based Java projects.

Gj

On Fri, Apr 12, 2019 at 4:26 PM Scott Palmer <sw...@gmail.com> wrote:

> What is the best course of action for reporting slowness?  I can’t 
> share my project.
> I’m not certain how to give step-by-step instructions when the problem 
> is basically one step in most cases.  E.g. invoke auto-complete - 
> nothing happens for several seconds.  Invoke rename - dialog doesn’t 
> appear for several seconds.  Find usages - extremely slow > 5 second 
> delay on a private member of a class less than 100 lines.
>
> In general it seems NB 11 is noticeably slower than NB 8.2. Not good 
> considering slowness was already my #1 complaint about NB 8.2.  I have 
> so far found the benefits of NB outweigh the fact that it is much 
> slower than other IDEs for the same operations, but the slowness of NB 
> 11 is tipping the scale.  I don’t want to switch IDEs, pease don’t 
> interpret this as some sort of threat to do so. I would like to help 
> find the issues in NB.  But I don’t have the bandwidth to debug NB and 
> not being about to share my project makes it difficult to provide 
> helpful reports :-(
>
> Are others seeing the slowness?
>
> Find usages, renames, call-hierarchy, auto-complete… things I use all 
> the time, I often have to wait 5 to 10 seconds for a response from the 
> IDE, sometimes more.
>
> I’ve already deleted user dir and cache and restarted.
> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>
> Is there a wiki page with instructions on profiling the IDE?  Maybe I 
> can collect something useful.
>
> Scott
>
>


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

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




RE: Very Slow Operations with NB 11

Posted by pe...@webparity.net.
I’m not using Gradle... hate it. We have problems at work with Gradle on InteliJ which also sucks.


Peter Borreggine
Owner and Developer
Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO
WebParity.net
A Service Connected Disabled Veteran Owned Business
WA State License: 603-501-609
360-830-8926 C

“Lead, Follow or Get Out of the Way…”
- Lee Iacocca, former head of Chrysler and Ford

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and its attachments. Any unauthorized review, use, disclosure, or distribution is prohibited.

-----Original Message-----
From: Geertjan Wielenga <ge...@apache.org> 
Sent: Friday, April 12, 2019 7:31 AM
To: Scott Palmer <sw...@gmail.com>
Cc: dev <de...@netbeans.incubator.apache.org>; netcat <ne...@netbeans.apache.org>
Subject: Re: Very Slow Operations with NB 11

Well, possibly it is related to Gradle.

Can you see if you can reproduce these problems without using Gradle-based Java projects.

Gj

On Fri, Apr 12, 2019 at 4:26 PM Scott Palmer <sw...@gmail.com> wrote:

> What is the best course of action for reporting slowness?  I can’t 
> share my project.
> I’m not certain how to give step-by-step instructions when the problem 
> is basically one step in most cases.  E.g. invoke auto-complete - 
> nothing happens for several seconds.  Invoke rename - dialog doesn’t 
> appear for several seconds.  Find usages - extremely slow > 5 second 
> delay on a private member of a class less than 100 lines.
>
> In general it seems NB 11 is noticeably slower than NB 8.2. Not good 
> considering slowness was already my #1 complaint about NB 8.2.  I have 
> so far found the benefits of NB outweigh the fact that it is much 
> slower than other IDEs for the same operations, but the slowness of NB 
> 11 is tipping the scale.  I don’t want to switch IDEs, pease don’t 
> interpret this as some sort of threat to do so. I would like to help 
> find the issues in NB.  But I don’t have the bandwidth to debug NB and 
> not being about to share my project makes it difficult to provide 
> helpful reports :-(
>
> Are others seeing the slowness?
>
> Find usages, renames, call-hierarchy, auto-complete… things I use all 
> the time, I often have to wait 5 to 10 seconds for a response from the 
> IDE, sometimes more.
>
> I’ve already deleted user dir and cache and restarted.
> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>
> Is there a wiki page with instructions on profiling the IDE?  Maybe I 
> can collect something useful.
>
> Scott
>
>


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

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


Re: Very Slow Operations with NB 11

Posted by Geertjan Wielenga <ge...@apache.org>.
Well, possibly it is related to Gradle.

Can you see if you can reproduce these problems without using Gradle-based
Java projects.

Gj

On Fri, Apr 12, 2019 at 4:26 PM Scott Palmer <sw...@gmail.com> wrote:

> What is the best course of action for reporting slowness?  I can’t share
> my project.
> I’m not certain how to give step-by-step instructions when the problem is
> basically one step in most cases.  E.g. invoke auto-complete - nothing
> happens for several seconds.  Invoke rename - dialog doesn’t appear for
> several seconds.  Find usages - extremely slow > 5 second delay on a
> private member of a class less than 100 lines.
>
> In general it seems NB 11 is noticeably slower than NB 8.2. Not good
> considering slowness was already my #1 complaint about NB 8.2.  I have so
> far found the benefits of NB outweigh the fact that it is much slower than
> other IDEs for the same operations, but the slowness of NB 11 is tipping
> the scale.  I don’t want to switch IDEs, pease don’t interpret this as some
> sort of threat to do so. I would like to help find the issues in NB.  But I
> don’t have the bandwidth to debug NB and not being about to share my
> project makes it difficult to provide helpful reports :-(
>
> Are others seeing the slowness?
>
> Find usages, renames, call-hierarchy, auto-complete… things I use all the
> time, I often have to wait 5 to 10 seconds for a response from the IDE,
> sometimes more.
>
> I’ve already deleted user dir and cache and restarted.
> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>
> Is there a wiki page with instructions on profiling the IDE?  Maybe I can
> collect something useful.
>
> Scott
>
>

Re: Very Slow Operations with NB 11

Posted by Scott Palmer <sw...@gmail.com>.
That explains the increase in the maximum heap. The machine has 12GB RAM.  However, even when I forced a GC it was still using all of that memory.  Between 1.6 GB and 1.85GB.  My estimate based on a fresh start and also using NB 8.2 is that it should have been under 700MB.
I was using only gradle-based Java projects. PHP shouldn’t have been activated.

Scott

> On Apr 13, 2019, at 10:37 AM, Laszlo Kishalmi <la...@gmail.com> wrote:
> 
> There might be a leak or two (especially in the PHP parser), though the increased memory usage is due to we removed the 1 Gb cap on the NB memory usage, allowing the JVM to decide on it's own which results ~2gb usage on systems which have 8 Gb RAM or up. I have 32 Gb and NetBeans memory usage rarely goes above 2 Gb.
> 
> On 4/13/19 7:32 AM, Scott Palmer wrote:
>> NB has 2G. It sometimes gets up there and is using 1.8 of that. I suspect a leak somewhere. That is much higher usage than NB 8.2 and when I restarted the initial memory usage was over 1G less. But the stalls happen when usage is low.
>> 
>> So far this appears to be a Windows issue with file system calls that are occasionally orders of magnitude slower than they should be.
>> 
>> Scott
>> 
>>> On Apr 13, 2019, at 9:35 AM, Eric Bresie <eb...@gmail.com> wrote:
>>> 
>>> Don’t suppose default java memory settings may also be coming in to play here? Maybe bumping these up some might help?
>>> 
>>> Eric Bresie
>>> Ebresie@gmail.com

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

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




Re: Very Slow Operations with NB 11

Posted by Laszlo Kishalmi <la...@gmail.com>.
There might be a leak or two (especially in the PHP parser), though the 
increased memory usage is due to we removed the 1 Gb cap on the NB 
memory usage, allowing the JVM to decide on it's own which results ~2gb 
usage on systems which have 8 Gb RAM or up. I have 32 Gb and NetBeans 
memory usage rarely goes above 2 Gb.

On 4/13/19 7:32 AM, Scott Palmer wrote:
> NB has 2G. It sometimes gets up there and is using 1.8 of that. I suspect a leak somewhere. That is much higher usage than NB 8.2 and when I restarted the initial memory usage was over 1G less. But the stalls happen when usage is low.
>
> So far this appears to be a Windows issue with file system calls that are occasionally orders of magnitude slower than they should be.
>
> Scott
>
>> On Apr 13, 2019, at 9:35 AM, Eric Bresie <eb...@gmail.com> wrote:
>>
>> Don’t suppose default java memory settings may also be coming in to play here? Maybe bumping these up some might help?
>>
>> Eric Bresie
>> Ebresie@gmail.com
>>> On April 12, 2019 at 9:31:22 AM CDT, Kodewerk <ki...@kodewerk.com> wrote:
>>> Hi Scott,
>>>
>>> I’d check to see if NB is in a long GC pause first. If not, then take 2-3 thread dumps during the slow bit and post them. Your project code will not show up in the thread dump. You can use jstack to obtain the thread dumps. Just have everything set to trigger (small script) so you don’t miss the event.
>>>
>>> Kind regards,
>>> Kirk
>>>
>>>> On Apr 12, 2019, at 7:26 AM, Scott Palmer <sw...@gmail.com> wrote:
>>>>
>>>> What is the best course of action for reporting slowness? I can’t share my project.
>>>> I’m not certain how to give step-by-step instructions when the problem is basically one step in most cases. E.g. invoke auto-complete - nothing happens for several seconds. Invoke rename - dialog doesn’t appear for several seconds. Find usages - extremely slow > 5 second delay on a private member of a class less than 100 lines.
>>>>
>>>> In general it seems NB 11 is noticeably slower than NB 8.2. Not good considering slowness was already my #1 complaint about NB 8.2. I have so far found the benefits of NB outweigh the fact that it is much slower than other IDEs for the same operations, but the slowness of NB 11 is tipping the scale. I don’t want to switch IDEs, pease don’t interpret this as some sort of threat to do so. I would like to help find the issues in NB. But I don’t have the bandwidth to debug NB and not being about to share my project makes it difficult to provide helpful reports :-(
>>>>
>>>> Are others seeing the slowness?
>>>>
>>>> Find usages, renames, call-hierarchy, auto-complete… things I use all the time, I often have to wait 5 to 10 seconds for a response from the IDE, sometimes more.
>>>>
>>>> I’ve already deleted user dir and cache and restarted.
>>>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>>>>
>>>> Is there a wiki page with instructions on profiling the IDE? Maybe I can collect something useful.
>>>>
>>>> Scott
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
>>>> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>>>>
>>>> For further information about the NetBeans mailing lists, visit:
>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>>
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
>>> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>>>
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>
>>>
>>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>

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

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




Re: Very Slow Operations with NB 11

Posted by Scott Palmer <sw...@gmail.com>.
NB has 2G. It sometimes gets up there and is using 1.8 of that. I suspect a leak somewhere. That is much higher usage than NB 8.2 and when I restarted the initial memory usage was over 1G less. But the stalls happen when usage is low. 

So far this appears to be a Windows issue with file system calls that are occasionally orders of magnitude slower than they should be. 

Scott

> On Apr 13, 2019, at 9:35 AM, Eric Bresie <eb...@gmail.com> wrote:
> 
> Don’t suppose default java memory settings may also be coming in to play here? Maybe bumping these up some might help?
> 
> Eric Bresie
> Ebresie@gmail.com
>> On April 12, 2019 at 9:31:22 AM CDT, Kodewerk <ki...@kodewerk.com> wrote:
>> Hi Scott,
>> 
>> I’d check to see if NB is in a long GC pause first. If not, then take 2-3 thread dumps during the slow bit and post them. Your project code will not show up in the thread dump. You can use jstack to obtain the thread dumps. Just have everything set to trigger (small script) so you don’t miss the event.
>> 
>> Kind regards,
>> Kirk
>> 
>>> On Apr 12, 2019, at 7:26 AM, Scott Palmer <sw...@gmail.com> wrote:
>>> 
>>> What is the best course of action for reporting slowness? I can’t share my project.
>>> I’m not certain how to give step-by-step instructions when the problem is basically one step in most cases. E.g. invoke auto-complete - nothing happens for several seconds. Invoke rename - dialog doesn’t appear for several seconds. Find usages - extremely slow > 5 second delay on a private member of a class less than 100 lines.
>>> 
>>> In general it seems NB 11 is noticeably slower than NB 8.2. Not good considering slowness was already my #1 complaint about NB 8.2. I have so far found the benefits of NB outweigh the fact that it is much slower than other IDEs for the same operations, but the slowness of NB 11 is tipping the scale. I don’t want to switch IDEs, pease don’t interpret this as some sort of threat to do so. I would like to help find the issues in NB. But I don’t have the bandwidth to debug NB and not being about to share my project makes it difficult to provide helpful reports :-(
>>> 
>>> Are others seeing the slowness?
>>> 
>>> Find usages, renames, call-hierarchy, auto-complete… things I use all the time, I often have to wait 5 to 10 seconds for a response from the IDE, sometimes more.
>>> 
>>> I’ve already deleted user dir and cache and restarted.
>>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>>> 
>>> Is there a wiki page with instructions on profiling the IDE? Maybe I can collect something useful.
>>> 
>>> Scott
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
>>> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>>> 
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>> 
>>> 
>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
>> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>> 
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>> 
>> 
>> 

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

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




Re: Re: Very Slow Operations with NB 11

Posted by Eric Bresie <eb...@gmail.com>.
Don’t suppose default java memory settings may also be coming in to play here? Maybe bumping these up some might help?

Eric Bresie
Ebresie@gmail.com
> On April 12, 2019 at 9:31:22 AM CDT, Kodewerk <ki...@kodewerk.com> wrote:
> Hi Scott,
>
> I’d check to see if NB is in a long GC pause first. If not, then take 2-3 thread dumps during the slow bit and post them. Your project code will not show up in the thread dump. You can use jstack to obtain the thread dumps. Just have everything set to trigger (small script) so you don’t miss the event.
>
> Kind regards,
> Kirk
>
> > On Apr 12, 2019, at 7:26 AM, Scott Palmer <sw...@gmail.com> wrote:
> >
> > What is the best course of action for reporting slowness? I can’t share my project.
> > I’m not certain how to give step-by-step instructions when the problem is basically one step in most cases. E.g. invoke auto-complete - nothing happens for several seconds. Invoke rename - dialog doesn’t appear for several seconds. Find usages - extremely slow > 5 second delay on a private member of a class less than 100 lines.
> >
> > In general it seems NB 11 is noticeably slower than NB 8.2. Not good considering slowness was already my #1 complaint about NB 8.2. I have so far found the benefits of NB outweigh the fact that it is much slower than other IDEs for the same operations, but the slowness of NB 11 is tipping the scale. I don’t want to switch IDEs, pease don’t interpret this as some sort of threat to do so. I would like to help find the issues in NB. But I don’t have the bandwidth to debug NB and not being about to share my project makes it difficult to provide helpful reports :-(
> >
> > Are others seeing the slowness?
> >
> > Find usages, renames, call-hierarchy, auto-complete… things I use all the time, I often have to wait 5 to 10 seconds for a response from the IDE, sometimes more.
> >
> > I’ve already deleted user dir and cache and restarted.
> > I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
> >
> > Is there a wiki page with instructions on profiling the IDE? Maybe I can collect something useful.
> >
> > Scott
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> > For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>

Re: Very Slow Operations with NB 11

Posted by Kodewerk <ki...@kodewerk.com>.
Hi Scott,

I’d check to see if NB is in a long GC pause first. If not, then take 2-3 thread dumps during the slow bit and post them. Your project code will not show up in the thread dump. You can use jstack to obtain the thread dumps. Just have everything set to trigger (small script) so you don’t miss the event.

Kind regards,
Kirk

> On Apr 12, 2019, at 7:26 AM, Scott Palmer <sw...@gmail.com> wrote:
> 
> What is the best course of action for reporting slowness?  I can’t share my project.
> I’m not certain how to give step-by-step instructions when the problem is basically one step in most cases.  E.g. invoke auto-complete - nothing happens for several seconds.  Invoke rename - dialog doesn’t appear for several seconds.  Find usages - extremely slow > 5 second delay on a private member of a class less than 100 lines.
> 
> In general it seems NB 11 is noticeably slower than NB 8.2. Not good considering slowness was already my #1 complaint about NB 8.2.  I have so far found the benefits of NB outweigh the fact that it is much slower than other IDEs for the same operations, but the slowness of NB 11 is tipping the scale.  I don’t want to switch IDEs, pease don’t interpret this as some sort of threat to do so. I would like to help find the issues in NB.  But I don’t have the bandwidth to debug NB and not being about to share my project makes it difficult to provide helpful reports :-(
> 
> Are others seeing the slowness?
> 
> Find usages, renames, call-hierarchy, auto-complete… things I use all the time, I often have to wait 5 to 10 seconds for a response from the IDE, sometimes more.
> 
> I’ve already deleted user dir and cache and restarted. 
> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
> 
> Is there a wiki page with instructions on profiling the IDE?  Maybe I can collect something useful.
> 
> Scott
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> 


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

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




Re: Very Slow Operations with NB 11

Posted by Kodewerk <ki...@kodewerk.com>.
Hi Scott,

I’d check to see if NB is in a long GC pause first. If not, then take 2-3 thread dumps during the slow bit and post them. Your project code will not show up in the thread dump. You can use jstack to obtain the thread dumps. Just have everything set to trigger (small script) so you don’t miss the event.

Kind regards,
Kirk

> On Apr 12, 2019, at 7:26 AM, Scott Palmer <sw...@gmail.com> wrote:
> 
> What is the best course of action for reporting slowness?  I can’t share my project.
> I’m not certain how to give step-by-step instructions when the problem is basically one step in most cases.  E.g. invoke auto-complete - nothing happens for several seconds.  Invoke rename - dialog doesn’t appear for several seconds.  Find usages - extremely slow > 5 second delay on a private member of a class less than 100 lines.
> 
> In general it seems NB 11 is noticeably slower than NB 8.2. Not good considering slowness was already my #1 complaint about NB 8.2.  I have so far found the benefits of NB outweigh the fact that it is much slower than other IDEs for the same operations, but the slowness of NB 11 is tipping the scale.  I don’t want to switch IDEs, pease don’t interpret this as some sort of threat to do so. I would like to help find the issues in NB.  But I don’t have the bandwidth to debug NB and not being about to share my project makes it difficult to provide helpful reports :-(
> 
> Are others seeing the slowness?
> 
> Find usages, renames, call-hierarchy, auto-complete… things I use all the time, I often have to wait 5 to 10 seconds for a response from the IDE, sometimes more.
> 
> I’ve already deleted user dir and cache and restarted. 
> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
> 
> Is there a wiki page with instructions on profiling the IDE?  Maybe I can collect something useful.
> 
> Scott
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> 


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

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


Re: Very Slow Operations with NB 11

Posted by Geertjan Wielenga <ge...@apache.org>.
Well, possibly it is related to Gradle.

Can you see if you can reproduce these problems without using Gradle-based
Java projects.

Gj

On Fri, Apr 12, 2019 at 4:26 PM Scott Palmer <sw...@gmail.com> wrote:

> What is the best course of action for reporting slowness?  I can’t share
> my project.
> I’m not certain how to give step-by-step instructions when the problem is
> basically one step in most cases.  E.g. invoke auto-complete - nothing
> happens for several seconds.  Invoke rename - dialog doesn’t appear for
> several seconds.  Find usages - extremely slow > 5 second delay on a
> private member of a class less than 100 lines.
>
> In general it seems NB 11 is noticeably slower than NB 8.2. Not good
> considering slowness was already my #1 complaint about NB 8.2.  I have so
> far found the benefits of NB outweigh the fact that it is much slower than
> other IDEs for the same operations, but the slowness of NB 11 is tipping
> the scale.  I don’t want to switch IDEs, pease don’t interpret this as some
> sort of threat to do so. I would like to help find the issues in NB.  But I
> don’t have the bandwidth to debug NB and not being about to share my
> project makes it difficult to provide helpful reports :-(
>
> Are others seeing the slowness?
>
> Find usages, renames, call-hierarchy, auto-complete… things I use all the
> time, I often have to wait 5 to 10 seconds for a response from the IDE,
> sometimes more.
>
> I’ve already deleted user dir and cache and restarted.
> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>
> Is there a wiki page with instructions on profiling the IDE?  Maybe I can
> collect something useful.
>
> Scott
>
>

Re: Very Slow Operations with NB 11

Posted by joe schmo <ge...@hotmail.com>.
I have an ASUS laptop

Processor Intel(R) Pentium(R) CPU N4200 @ 1.10GHz, 1101 Mhz, 4 Core(s), 4 Logical Processor(s)
Installed Physical Memory (RAM) 8.00 GB

I have dual boot, Windows 10 and Ubuntu 18.04.  Start up time for NetBeans is much slower on Windows 10 than Ubuntu.  I do not have any programs in my start up for Windows and when I start NetBeans 11.1 vc2 (no open projects) it takes about 4 minutes.  On Ubuntu it takes about 1 minute.

I realize I have a slow computer and I'm not necessarily looking to fix this issue, this is just an FYI in case you need a test case for performance issues.

BC

________________________________
From: Christian Lenz <ch...@gmx.net>
Sent: April 15, 2019 5:09 AM
To: dev@netbeans.incubator.apache.org <de...@netbeans.incubator.apache.org>
Subject: AW: Very Slow Operations with NB 11

Hey all and Tim,

please have in mind, if you open a simple PHP project or a small project (< 100 files) or mid size Project or big project in IntelliJ or Eclipse (only one project), we don’t have such a Performance issue. So it seems that they are make it different. So yes maybe it is about the not signed executable with no installer (For windows). IntelliJ and Eclipse are both JVM applications too.


Cheers

Chris



Von: Tim Boudreau
Gesendet: Samstag, 13. April 2019 22:26
An: dev@netbeans.incubator.apache.org
Betreff: Re: Very Slow Operations with NB 11

If we're talking about Windows, there is an issue I went a few rounds with
engineers at Microsoft with over 15 years ago:

What really happens on Windows when you stat a file (say, with
File.isDirectory, checking time stamp, etc.), the calling thread is put to
sleep, the job is put on a queue, the kernel answers the question and the
thread is woken up). If I recall correctly, we were simply flooding the OS
with such calls.

At the time, we did some instrumenting of the JDK and collected the major
culprits, and where possible, eliminated those calls, or at least ensured
they weren't done repeatedly for the same file. There was nothing beyond
that that could be done from the JVM side.

-Tim

On Fri, Apr 12, 2019 at 5:38 PM Laszlo Kishalmi <la...@gmail.com>
wrote:

> Thank you for the data!
>
> I'm going to create a JIRA Issue and attach these there.
>
> At the first sight there is something really bad on the Windows
> Filesystem side.
>
>  From the 10 second completion time at lead 5.5 seconds were spent in a
> Java.ioFile.list() and java.io.File.isDirectory() call. Both have native
> implementations. Usually at this point we suspecting some AntiVirus
> software/ Windows Defender.
>
> My theory on this: As NetBeans is not (yet) installed with a signed
> windows installer, the Security software(s) are handling it more
> suspicious, checking every disk activity. As NetBeans uses really lot of
> disk io, this is bogging down its performacne on Windows (and that's why
> we are not seeing it on Linux/ Mac). As 8.2 has a signed installer, it
> might get better scores at the sec software and that results better IO.
> This is just a theory.
>
> On 4/12/19 12:41 PM, Scott Palmer wrote:
> > Here is snapshot data for two events. One auto-complete (ctrl-Space)
> > taking 10s, the other getting a hint (alt-Enter) taking 7s.  Yes it
> > does look like something is blocked. I’ve copied you and Jan directly
> > in case the list strips attachements.
> >
> >
> >
> >
> >> On Apr 12, 2019, at 3:34 PM, Kodewerk <kirk@kodewerk.com
> >> <ma...@kodewerk.com>> wrote:
> >>
> >> Hi Scott,
> >>
> >> Please export Snapshot data. As I mentioned before, this is likely a
> >> stalled thread and as such an execution profiler is likely to not
> >> report it. The most useful view IME are thread dumps at about 1
> >> second intervals.
> >>
> >> Kind regards,
> >> Kirk
> >>
> >>
> >>> On Apr 12, 2019, at 12:23 PM, Scott Palmer <swpalmer@gmail.com
> >>> <ma...@gmail.com>> wrote:
> >>>
> >>> I just experienced a 10s delay before the auto-complete popup
> >>> appeared (did see the “Please wait…” though).  That was the second
> >>> press of auto-complete at the same spot.  The first attempt took 8
> >>> seconds.  I triggered the profiling for each, but I suspect the
> >>> first attempt may be tainted because the Gradle project was stuck
> >>> loading - there was a dependency that it couldn’t get.  I commented
> >>> out that dependency (didn’t need it) so project was loaded fully and
> >>> tried again.  This is with a very tiny toy project.  I single-class
> >>> microbenchmark using the JMH gradle plugin.
> >>>
> >>> There are options to export “Sanpshot Data”, “Forward Calls”,
> >>> “Hotspots” … which of these do you want?
> >>>
> >>>
> >>> Scott
> >>>
> >>>> On Apr 12, 2019, at 12:06 PM, Jan Lahoda <lahoda@gmail.com
> >>>> <ma...@gmail.com>> wrote:
> >>>>
> >>>> Hi Scott,
> >>>>
> >>>> In this case, it might be useful/helpful if we had the self
> >>>> profiler snapshots. Possibly for one of the features, e.g. code
> >>>> completion:
> >>>>
> >>>> http://wiki.netbeans.org/FaqProfileMeNow<
> http://wiki.netbeans.org/FaqProfileMeNow>
> >>>>
> >>>> (Refactoring/findusages is currently much faster with nb-javac than
> >>>> without it, but the difference should be much smaller for code
> >>>> completion, etc.)
> >>>>
> >>>> Jan
> >>>>
> >>>> 12. dubna 2019 16:26:29 SELČ, Scott Palmer <swpalmer@gmail.com
> >>>> <ma...@gmail.com>> napsal:
> >>>> What is the best course of action for reporting slowness?  I can’t
> >>>> share my project.
> >>>> I’m not certain how to give step-by-step instructions when the
> >>>> problem is basically one step in most cases.  E.g. invoke
> >>>> auto-complete - nothing happens for several seconds.  Invoke rename
> >>>> - dialog doesn’t appear for several seconds.  Find usages -
> >>>> extremely slow > 5 second delay on a private member of a class less
> >>>> than 100 lines.
> >>>>
> >>>> In general it seems NB 11 is noticeably slower than NB 8.2. Not
> >>>> good considering slowness was already my #1 complaint about NB 8.2.
> >>>>  I have so far found the benefits of NB outweigh the fact that it
> >>>> is much slower than other IDEs for the same operations, but the
> >>>> slowness of NB 11 is tipping the scale.  I don’t want to switch
> >>>> IDEs, pease don’t interpret this as some sort of threat to do so. I
> >>>> would like to help find the issues in NB.  But I don’t have the
> >>>> bandwidth to debug NB and not being about to share my project makes
> >>>> it difficult to provide helpful reports :-(
> >>>>
> >>>> Are others seeing the slowness?
> >>>>
> >>>> Find usages, renames, call-hierarchy, auto-complete… things I use
> >>>> all the time, I often have to wait 5 to 10 seconds for a response
> >>>> from the IDE, sometimes more.
> >>>>
> >>>> I’ve already deleted user dir and cache and restarted.
> >>>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
> >>>>
> >>>> Is there a wiki page with instructions on profiling the IDE?  Maybe
> >>>> I can collect something useful.
> >>>>
> >>>> Scott
> >>>> To unsubscribe,
> >>>> e-mail:dev-unsubscribe@netbeans.incubator.apache.org
> >>>> <ma...@netbeans.incubator.apache.org>
> >>>> For additional commands,
> >>>> e-mail:dev-help@netbeans.incubator.apache.org
> >>>> <ma...@netbeans.incubator.apache.org>
> >>>>
> >>>> For further information about the NetBeans mailing lists, visit:
> >>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists<
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Odesláno z mého telefonu s Androidem pomocí pošty K-9 Mail. Omluvte
> >>>> prosím moji stručnost.
> >>>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail:dev-unsubscribe@netbeans.incubator.apache.org
> >> <ma...@netbeans.incubator.apache.org>
> >> For additional commands,
> >> e-mail:dev-help@netbeans.incubator.apache.org
> >> <ma...@netbeans.incubator.apache.org>
> >>
> >> For further information about the NetBeans mailing lists, visit:
> >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
>
--
http://timboudreau.com


AW: Very Slow Operations with NB 11

Posted by Christian Lenz <ch...@gmx.net>.
Hey all and Tim,

please have in mind, if you open a simple PHP project or a small project (< 100 files) or mid size Project or big project in IntelliJ or Eclipse (only one project), we don’t have such a Performance issue. So it seems that they are make it different. So yes maybe it is about the not signed executable with no installer (For windows). IntelliJ and Eclipse are both JVM applications too.


Cheers

Chris



Von: Tim Boudreau
Gesendet: Samstag, 13. April 2019 22:26
An: dev@netbeans.incubator.apache.org
Betreff: Re: Very Slow Operations with NB 11

If we're talking about Windows, there is an issue I went a few rounds with
engineers at Microsoft with over 15 years ago:

What really happens on Windows when you stat a file (say, with
File.isDirectory, checking time stamp, etc.), the calling thread is put to
sleep, the job is put on a queue, the kernel answers the question and the
thread is woken up). If I recall correctly, we were simply flooding the OS
with such calls.

At the time, we did some instrumenting of the JDK and collected the major
culprits, and where possible, eliminated those calls, or at least ensured
they weren't done repeatedly for the same file. There was nothing beyond
that that could be done from the JVM side.

-Tim

On Fri, Apr 12, 2019 at 5:38 PM Laszlo Kishalmi <la...@gmail.com>
wrote:

> Thank you for the data!
>
> I'm going to create a JIRA Issue and attach these there.
>
> At the first sight there is something really bad on the Windows
> Filesystem side.
>
>  From the 10 second completion time at lead 5.5 seconds were spent in a
> Java.ioFile.list() and java.io.File.isDirectory() call. Both have native
> implementations. Usually at this point we suspecting some AntiVirus
> software/ Windows Defender.
>
> My theory on this: As NetBeans is not (yet) installed with a signed
> windows installer, the Security software(s) are handling it more
> suspicious, checking every disk activity. As NetBeans uses really lot of
> disk io, this is bogging down its performacne on Windows (and that's why
> we are not seeing it on Linux/ Mac). As 8.2 has a signed installer, it
> might get better scores at the sec software and that results better IO.
> This is just a theory.
>
> On 4/12/19 12:41 PM, Scott Palmer wrote:
> > Here is snapshot data for two events. One auto-complete (ctrl-Space)
> > taking 10s, the other getting a hint (alt-Enter) taking 7s.  Yes it
> > does look like something is blocked. I’ve copied you and Jan directly
> > in case the list strips attachements.
> >
> >
> >
> >
> >> On Apr 12, 2019, at 3:34 PM, Kodewerk <kirk@kodewerk.com
> >> <ma...@kodewerk.com>> wrote:
> >>
> >> Hi Scott,
> >>
> >> Please export Snapshot data. As I mentioned before, this is likely a
> >> stalled thread and as such an execution profiler is likely to not
> >> report it. The most useful view IME are thread dumps at about 1
> >> second intervals.
> >>
> >> Kind regards,
> >> Kirk
> >>
> >>
> >>> On Apr 12, 2019, at 12:23 PM, Scott Palmer <swpalmer@gmail.com
> >>> <ma...@gmail.com>> wrote:
> >>>
> >>> I just experienced a 10s delay before the auto-complete popup
> >>> appeared (did see the “Please wait…” though).  That was the second
> >>> press of auto-complete at the same spot.  The first attempt took 8
> >>> seconds.  I triggered the profiling for each, but I suspect the
> >>> first attempt may be tainted because the Gradle project was stuck
> >>> loading - there was a dependency that it couldn’t get.  I commented
> >>> out that dependency (didn’t need it) so project was loaded fully and
> >>> tried again.  This is with a very tiny toy project.  I single-class
> >>> microbenchmark using the JMH gradle plugin.
> >>>
> >>> There are options to export “Sanpshot Data”, “Forward Calls”,
> >>> “Hotspots” … which of these do you want?
> >>>
> >>>
> >>> Scott
> >>>
> >>>> On Apr 12, 2019, at 12:06 PM, Jan Lahoda <lahoda@gmail.com
> >>>> <ma...@gmail.com>> wrote:
> >>>>
> >>>> Hi Scott,
> >>>>
> >>>> In this case, it might be useful/helpful if we had the self
> >>>> profiler snapshots. Possibly for one of the features, e.g. code
> >>>> completion:
> >>>>
> >>>> http://wiki.netbeans.org/FaqProfileMeNow<
> http://wiki.netbeans.org/FaqProfileMeNow>
> >>>>
> >>>> (Refactoring/findusages is currently much faster with nb-javac than
> >>>> without it, but the difference should be much smaller for code
> >>>> completion, etc.)
> >>>>
> >>>> Jan
> >>>>
> >>>> 12. dubna 2019 16:26:29 SELČ, Scott Palmer <swpalmer@gmail.com
> >>>> <ma...@gmail.com>> napsal:
> >>>> What is the best course of action for reporting slowness?  I can’t
> >>>> share my project.
> >>>> I’m not certain how to give step-by-step instructions when the
> >>>> problem is basically one step in most cases.  E.g. invoke
> >>>> auto-complete - nothing happens for several seconds.  Invoke rename
> >>>> - dialog doesn’t appear for several seconds.  Find usages -
> >>>> extremely slow > 5 second delay on a private member of a class less
> >>>> than 100 lines.
> >>>>
> >>>> In general it seems NB 11 is noticeably slower than NB 8.2. Not
> >>>> good considering slowness was already my #1 complaint about NB 8.2.
> >>>>  I have so far found the benefits of NB outweigh the fact that it
> >>>> is much slower than other IDEs for the same operations, but the
> >>>> slowness of NB 11 is tipping the scale.  I don’t want to switch
> >>>> IDEs, pease don’t interpret this as some sort of threat to do so. I
> >>>> would like to help find the issues in NB.  But I don’t have the
> >>>> bandwidth to debug NB and not being about to share my project makes
> >>>> it difficult to provide helpful reports :-(
> >>>>
> >>>> Are others seeing the slowness?
> >>>>
> >>>> Find usages, renames, call-hierarchy, auto-complete… things I use
> >>>> all the time, I often have to wait 5 to 10 seconds for a response
> >>>> from the IDE, sometimes more.
> >>>>
> >>>> I’ve already deleted user dir and cache and restarted.
> >>>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
> >>>>
> >>>> Is there a wiki page with instructions on profiling the IDE?  Maybe
> >>>> I can collect something useful.
> >>>>
> >>>> Scott
> >>>> To unsubscribe,
> >>>> e-mail:dev-unsubscribe@netbeans.incubator.apache.org
> >>>> <ma...@netbeans.incubator.apache.org>
> >>>> For additional commands,
> >>>> e-mail:dev-help@netbeans.incubator.apache.org
> >>>> <ma...@netbeans.incubator.apache.org>
> >>>>
> >>>> For further information about the NetBeans mailing lists, visit:
> >>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists<
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Odesláno z mého telefonu s Androidem pomocí pošty K-9 Mail. Omluvte
> >>>> prosím moji stručnost.
> >>>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail:dev-unsubscribe@netbeans.incubator.apache.org
> >> <ma...@netbeans.incubator.apache.org>
> >> For additional commands,
> >> e-mail:dev-help@netbeans.incubator.apache.org
> >> <ma...@netbeans.incubator.apache.org>
> >>
> >> For further information about the NetBeans mailing lists, visit:
> >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
>
-- 
http://timboudreau.com


Re: Very Slow Operations with NB 11

Posted by Tim Boudreau <ni...@gmail.com>.
If we're talking about Windows, there is an issue I went a few rounds with
engineers at Microsoft with over 15 years ago:

What really happens on Windows when you stat a file (say, with
File.isDirectory, checking time stamp, etc.), the calling thread is put to
sleep, the job is put on a queue, the kernel answers the question and the
thread is woken up). If I recall correctly, we were simply flooding the OS
with such calls.

At the time, we did some instrumenting of the JDK and collected the major
culprits, and where possible, eliminated those calls, or at least ensured
they weren't done repeatedly for the same file. There was nothing beyond
that that could be done from the JVM side.

-Tim

On Fri, Apr 12, 2019 at 5:38 PM Laszlo Kishalmi <la...@gmail.com>
wrote:

> Thank you for the data!
>
> I'm going to create a JIRA Issue and attach these there.
>
> At the first sight there is something really bad on the Windows
> Filesystem side.
>
>  From the 10 second completion time at lead 5.5 seconds were spent in a
> Java.ioFile.list() and java.io.File.isDirectory() call. Both have native
> implementations. Usually at this point we suspecting some AntiVirus
> software/ Windows Defender.
>
> My theory on this: As NetBeans is not (yet) installed with a signed
> windows installer, the Security software(s) are handling it more
> suspicious, checking every disk activity. As NetBeans uses really lot of
> disk io, this is bogging down its performacne on Windows (and that's why
> we are not seeing it on Linux/ Mac). As 8.2 has a signed installer, it
> might get better scores at the sec software and that results better IO.
> This is just a theory.
>
> On 4/12/19 12:41 PM, Scott Palmer wrote:
> > Here is snapshot data for two events. One auto-complete (ctrl-Space)
> > taking 10s, the other getting a hint (alt-Enter) taking 7s.  Yes it
> > does look like something is blocked. I’ve copied you and Jan directly
> > in case the list strips attachements.
> >
> >
> >
> >
> >> On Apr 12, 2019, at 3:34 PM, Kodewerk <kirk@kodewerk.com
> >> <ma...@kodewerk.com>> wrote:
> >>
> >> Hi Scott,
> >>
> >> Please export Snapshot data. As I mentioned before, this is likely a
> >> stalled thread and as such an execution profiler is likely to not
> >> report it. The most useful view IME are thread dumps at about 1
> >> second intervals.
> >>
> >> Kind regards,
> >> Kirk
> >>
> >>
> >>> On Apr 12, 2019, at 12:23 PM, Scott Palmer <swpalmer@gmail.com
> >>> <ma...@gmail.com>> wrote:
> >>>
> >>> I just experienced a 10s delay before the auto-complete popup
> >>> appeared (did see the “Please wait…” though).  That was the second
> >>> press of auto-complete at the same spot.  The first attempt took 8
> >>> seconds.  I triggered the profiling for each, but I suspect the
> >>> first attempt may be tainted because the Gradle project was stuck
> >>> loading - there was a dependency that it couldn’t get.  I commented
> >>> out that dependency (didn’t need it) so project was loaded fully and
> >>> tried again.  This is with a very tiny toy project.  I single-class
> >>> microbenchmark using the JMH gradle plugin.
> >>>
> >>> There are options to export “Sanpshot Data”, “Forward Calls”,
> >>> “Hotspots” … which of these do you want?
> >>>
> >>>
> >>> Scott
> >>>
> >>>> On Apr 12, 2019, at 12:06 PM, Jan Lahoda <lahoda@gmail.com
> >>>> <ma...@gmail.com>> wrote:
> >>>>
> >>>> Hi Scott,
> >>>>
> >>>> In this case, it might be useful/helpful if we had the self
> >>>> profiler snapshots. Possibly for one of the features, e.g. code
> >>>> completion:
> >>>>
> >>>> http://wiki.netbeans.org/FaqProfileMeNow<
> http://wiki.netbeans.org/FaqProfileMeNow>
> >>>>
> >>>> (Refactoring/findusages is currently much faster with nb-javac than
> >>>> without it, but the difference should be much smaller for code
> >>>> completion, etc.)
> >>>>
> >>>> Jan
> >>>>
> >>>> 12. dubna 2019 16:26:29 SELČ, Scott Palmer <swpalmer@gmail.com
> >>>> <ma...@gmail.com>> napsal:
> >>>> What is the best course of action for reporting slowness?  I can’t
> >>>> share my project.
> >>>> I’m not certain how to give step-by-step instructions when the
> >>>> problem is basically one step in most cases.  E.g. invoke
> >>>> auto-complete - nothing happens for several seconds.  Invoke rename
> >>>> - dialog doesn’t appear for several seconds.  Find usages -
> >>>> extremely slow > 5 second delay on a private member of a class less
> >>>> than 100 lines.
> >>>>
> >>>> In general it seems NB 11 is noticeably slower than NB 8.2. Not
> >>>> good considering slowness was already my #1 complaint about NB 8.2.
> >>>>  I have so far found the benefits of NB outweigh the fact that it
> >>>> is much slower than other IDEs for the same operations, but the
> >>>> slowness of NB 11 is tipping the scale.  I don’t want to switch
> >>>> IDEs, pease don’t interpret this as some sort of threat to do so. I
> >>>> would like to help find the issues in NB.  But I don’t have the
> >>>> bandwidth to debug NB and not being about to share my project makes
> >>>> it difficult to provide helpful reports :-(
> >>>>
> >>>> Are others seeing the slowness?
> >>>>
> >>>> Find usages, renames, call-hierarchy, auto-complete… things I use
> >>>> all the time, I often have to wait 5 to 10 seconds for a response
> >>>> from the IDE, sometimes more.
> >>>>
> >>>> I’ve already deleted user dir and cache and restarted.
> >>>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
> >>>>
> >>>> Is there a wiki page with instructions on profiling the IDE?  Maybe
> >>>> I can collect something useful.
> >>>>
> >>>> Scott
> >>>> To unsubscribe,
> >>>> e-mail:dev-unsubscribe@netbeans.incubator.apache.org
> >>>> <ma...@netbeans.incubator.apache.org>
> >>>> For additional commands,
> >>>> e-mail:dev-help@netbeans.incubator.apache.org
> >>>> <ma...@netbeans.incubator.apache.org>
> >>>>
> >>>> For further information about the NetBeans mailing lists, visit:
> >>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists<
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Odesláno z mého telefonu s Androidem pomocí pošty K-9 Mail. Omluvte
> >>>> prosím moji stručnost.
> >>>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail:dev-unsubscribe@netbeans.incubator.apache.org
> >> <ma...@netbeans.incubator.apache.org>
> >> For additional commands,
> >> e-mail:dev-help@netbeans.incubator.apache.org
> >> <ma...@netbeans.incubator.apache.org>
> >>
> >> For further information about the NetBeans mailing lists, visit:
> >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
>
-- 
http://timboudreau.com

Re: Very Slow Operations with NB 11

Posted by Laszlo Kishalmi <la...@gmail.com>.
Let's continue on https://issues.apache.org/jira/browse/NETBEANS-2409 !

On 4/12/19 3:56 PM, Enrico Scantamburlo wrote:
> I have the same problem. Those calls are really slow because it is Windows.
> The slowest of all is File. getCanonicalPath/File.getCanonicalFile
> They really freeze the ui for some seconds
>
> Il ven 12 apr 2019, 23:38 Laszlo Kishalmi <la...@gmail.com> ha
> scritto:
>
>> Thank you for the data!
>>
>> I'm going to create a JIRA Issue and attach these there.
>>
>> At the first sight there is something really bad on the Windows
>> Filesystem side.
>>
>>   From the 10 second completion time at lead 5.5 seconds were spent in a
>> Java.ioFile.list() and java.io.File.isDirectory() call. Both have native
>> implementations. Usually at this point we suspecting some AntiVirus
>> software/ Windows Defender.
>>
>> My theory on this: As NetBeans is not (yet) installed with a signed
>> windows installer, the Security software(s) are handling it more
>> suspicious, checking every disk activity. As NetBeans uses really lot of
>> disk io, this is bogging down its performacne on Windows (and that's why
>> we are not seeing it on Linux/ Mac). As 8.2 has a signed installer, it
>> might get better scores at the sec software and that results better IO.
>> This is just a theory.
>>
>> On 4/12/19 12:41 PM, Scott Palmer wrote:
>>> Here is snapshot data for two events. One auto-complete (ctrl-Space)
>>> taking 10s, the other getting a hint (alt-Enter) taking 7s.  Yes it
>>> does look like something is blocked. I’ve copied you and Jan directly
>>> in case the list strips attachements.
>>>
>>>
>>>
>>>
>>>> On Apr 12, 2019, at 3:34 PM, Kodewerk <kirk@kodewerk.com
>>>> <ma...@kodewerk.com>> wrote:
>>>>
>>>> Hi Scott,
>>>>
>>>> Please export Snapshot data. As I mentioned before, this is likely a
>>>> stalled thread and as such an execution profiler is likely to not
>>>> report it. The most useful view IME are thread dumps at about 1
>>>> second intervals.
>>>>
>>>> Kind regards,
>>>> Kirk
>>>>
>>>>
>>>>> On Apr 12, 2019, at 12:23 PM, Scott Palmer <swpalmer@gmail.com
>>>>> <ma...@gmail.com>> wrote:
>>>>>
>>>>> I just experienced a 10s delay before the auto-complete popup
>>>>> appeared (did see the “Please wait…” though).  That was the second
>>>>> press of auto-complete at the same spot.  The first attempt took 8
>>>>> seconds.  I triggered the profiling for each, but I suspect the
>>>>> first attempt may be tainted because the Gradle project was stuck
>>>>> loading - there was a dependency that it couldn’t get.  I commented
>>>>> out that dependency (didn’t need it) so project was loaded fully and
>>>>> tried again.  This is with a very tiny toy project.  I single-class
>>>>> microbenchmark using the JMH gradle plugin.
>>>>>
>>>>> There are options to export “Sanpshot Data”, “Forward Calls”,
>>>>> “Hotspots” … which of these do you want?
>>>>>
>>>>>
>>>>> Scott
>>>>>
>>>>>> On Apr 12, 2019, at 12:06 PM, Jan Lahoda <lahoda@gmail.com
>>>>>> <ma...@gmail.com>> wrote:
>>>>>>
>>>>>> Hi Scott,
>>>>>>
>>>>>> In this case, it might be useful/helpful if we had the self
>>>>>> profiler snapshots. Possibly for one of the features, e.g. code
>>>>>> completion:
>>>>>>
>>>>>> http://wiki.netbeans.org/FaqProfileMeNow<
>> http://wiki.netbeans.org/FaqProfileMeNow>
>>>>>> (Refactoring/findusages is currently much faster with nb-javac than
>>>>>> without it, but the difference should be much smaller for code
>>>>>> completion, etc.)
>>>>>>
>>>>>> Jan
>>>>>>
>>>>>> 12. dubna 2019 16:26:29 SELČ, Scott Palmer <swpalmer@gmail.com
>>>>>> <ma...@gmail.com>> napsal:
>>>>>> What is the best course of action for reporting slowness?  I can’t
>>>>>> share my project.
>>>>>> I’m not certain how to give step-by-step instructions when the
>>>>>> problem is basically one step in most cases.  E.g. invoke
>>>>>> auto-complete - nothing happens for several seconds.  Invoke rename
>>>>>> - dialog doesn’t appear for several seconds.  Find usages -
>>>>>> extremely slow > 5 second delay on a private member of a class less
>>>>>> than 100 lines.
>>>>>>
>>>>>> In general it seems NB 11 is noticeably slower than NB 8.2. Not
>>>>>> good considering slowness was already my #1 complaint about NB 8.2.
>>>>>>   I have so far found the benefits of NB outweigh the fact that it
>>>>>> is much slower than other IDEs for the same operations, but the
>>>>>> slowness of NB 11 is tipping the scale.  I don’t want to switch
>>>>>> IDEs, pease don’t interpret this as some sort of threat to do so. I
>>>>>> would like to help find the issues in NB.  But I don’t have the
>>>>>> bandwidth to debug NB and not being about to share my project makes
>>>>>> it difficult to provide helpful reports :-(
>>>>>>
>>>>>> Are others seeing the slowness?
>>>>>>
>>>>>> Find usages, renames, call-hierarchy, auto-complete… things I use
>>>>>> all the time, I often have to wait 5 to 10 seconds for a response
>>>>>> from the IDE, sometimes more.
>>>>>>
>>>>>> I’ve already deleted user dir and cache and restarted.
>>>>>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>>>>>>
>>>>>> Is there a wiki page with instructions on profiling the IDE?  Maybe
>>>>>> I can collect something useful.
>>>>>>
>>>>>> Scott
>>>>>> To unsubscribe,
>>>>>> e-mail:dev-unsubscribe@netbeans.incubator.apache.org
>>>>>> <ma...@netbeans.incubator.apache.org>
>>>>>> For additional commands,
>>>>>> e-mail:dev-help@netbeans.incubator.apache.org
>>>>>> <ma...@netbeans.incubator.apache.org>
>>>>>>
>>>>>> For further information about the NetBeans mailing lists, visit:
>>>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists<
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Odesláno z mého telefonu s Androidem pomocí pošty K-9 Mail. Omluvte
>>>>>> prosím moji stručnost.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail:dev-unsubscribe@netbeans.incubator.apache.org
>>>> <ma...@netbeans.incubator.apache.org>
>>>> For additional commands,
>>>> e-mail:dev-help@netbeans.incubator.apache.org
>>>> <ma...@netbeans.incubator.apache.org>
>>>>
>>>> For further information about the NetBeans mailing lists, visit:
>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

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

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




Re: Very Slow Operations with NB 11

Posted by Enrico Scantamburlo <sc...@gmail.com>.
I have the same problem. Those calls are really slow because it is Windows.
The slowest of all is File. getCanonicalPath/File.getCanonicalFile
They really freeze the ui for some seconds

Il ven 12 apr 2019, 23:38 Laszlo Kishalmi <la...@gmail.com> ha
scritto:

> Thank you for the data!
>
> I'm going to create a JIRA Issue and attach these there.
>
> At the first sight there is something really bad on the Windows
> Filesystem side.
>
>  From the 10 second completion time at lead 5.5 seconds were spent in a
> Java.ioFile.list() and java.io.File.isDirectory() call. Both have native
> implementations. Usually at this point we suspecting some AntiVirus
> software/ Windows Defender.
>
> My theory on this: As NetBeans is not (yet) installed with a signed
> windows installer, the Security software(s) are handling it more
> suspicious, checking every disk activity. As NetBeans uses really lot of
> disk io, this is bogging down its performacne on Windows (and that's why
> we are not seeing it on Linux/ Mac). As 8.2 has a signed installer, it
> might get better scores at the sec software and that results better IO.
> This is just a theory.
>
> On 4/12/19 12:41 PM, Scott Palmer wrote:
> > Here is snapshot data for two events. One auto-complete (ctrl-Space)
> > taking 10s, the other getting a hint (alt-Enter) taking 7s.  Yes it
> > does look like something is blocked. I’ve copied you and Jan directly
> > in case the list strips attachements.
> >
> >
> >
> >
> >> On Apr 12, 2019, at 3:34 PM, Kodewerk <kirk@kodewerk.com
> >> <ma...@kodewerk.com>> wrote:
> >>
> >> Hi Scott,
> >>
> >> Please export Snapshot data. As I mentioned before, this is likely a
> >> stalled thread and as such an execution profiler is likely to not
> >> report it. The most useful view IME are thread dumps at about 1
> >> second intervals.
> >>
> >> Kind regards,
> >> Kirk
> >>
> >>
> >>> On Apr 12, 2019, at 12:23 PM, Scott Palmer <swpalmer@gmail.com
> >>> <ma...@gmail.com>> wrote:
> >>>
> >>> I just experienced a 10s delay before the auto-complete popup
> >>> appeared (did see the “Please wait…” though).  That was the second
> >>> press of auto-complete at the same spot.  The first attempt took 8
> >>> seconds.  I triggered the profiling for each, but I suspect the
> >>> first attempt may be tainted because the Gradle project was stuck
> >>> loading - there was a dependency that it couldn’t get.  I commented
> >>> out that dependency (didn’t need it) so project was loaded fully and
> >>> tried again.  This is with a very tiny toy project.  I single-class
> >>> microbenchmark using the JMH gradle plugin.
> >>>
> >>> There are options to export “Sanpshot Data”, “Forward Calls”,
> >>> “Hotspots” … which of these do you want?
> >>>
> >>>
> >>> Scott
> >>>
> >>>> On Apr 12, 2019, at 12:06 PM, Jan Lahoda <lahoda@gmail.com
> >>>> <ma...@gmail.com>> wrote:
> >>>>
> >>>> Hi Scott,
> >>>>
> >>>> In this case, it might be useful/helpful if we had the self
> >>>> profiler snapshots. Possibly for one of the features, e.g. code
> >>>> completion:
> >>>>
> >>>> http://wiki.netbeans.org/FaqProfileMeNow<
> http://wiki.netbeans.org/FaqProfileMeNow>
> >>>>
> >>>> (Refactoring/findusages is currently much faster with nb-javac than
> >>>> without it, but the difference should be much smaller for code
> >>>> completion, etc.)
> >>>>
> >>>> Jan
> >>>>
> >>>> 12. dubna 2019 16:26:29 SELČ, Scott Palmer <swpalmer@gmail.com
> >>>> <ma...@gmail.com>> napsal:
> >>>> What is the best course of action for reporting slowness?  I can’t
> >>>> share my project.
> >>>> I’m not certain how to give step-by-step instructions when the
> >>>> problem is basically one step in most cases.  E.g. invoke
> >>>> auto-complete - nothing happens for several seconds.  Invoke rename
> >>>> - dialog doesn’t appear for several seconds.  Find usages -
> >>>> extremely slow > 5 second delay on a private member of a class less
> >>>> than 100 lines.
> >>>>
> >>>> In general it seems NB 11 is noticeably slower than NB 8.2. Not
> >>>> good considering slowness was already my #1 complaint about NB 8.2.
> >>>>  I have so far found the benefits of NB outweigh the fact that it
> >>>> is much slower than other IDEs for the same operations, but the
> >>>> slowness of NB 11 is tipping the scale.  I don’t want to switch
> >>>> IDEs, pease don’t interpret this as some sort of threat to do so. I
> >>>> would like to help find the issues in NB.  But I don’t have the
> >>>> bandwidth to debug NB and not being about to share my project makes
> >>>> it difficult to provide helpful reports :-(
> >>>>
> >>>> Are others seeing the slowness?
> >>>>
> >>>> Find usages, renames, call-hierarchy, auto-complete… things I use
> >>>> all the time, I often have to wait 5 to 10 seconds for a response
> >>>> from the IDE, sometimes more.
> >>>>
> >>>> I’ve already deleted user dir and cache and restarted.
> >>>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
> >>>>
> >>>> Is there a wiki page with instructions on profiling the IDE?  Maybe
> >>>> I can collect something useful.
> >>>>
> >>>> Scott
> >>>> To unsubscribe,
> >>>> e-mail:dev-unsubscribe@netbeans.incubator.apache.org
> >>>> <ma...@netbeans.incubator.apache.org>
> >>>> For additional commands,
> >>>> e-mail:dev-help@netbeans.incubator.apache.org
> >>>> <ma...@netbeans.incubator.apache.org>
> >>>>
> >>>> For further information about the NetBeans mailing lists, visit:
> >>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists<
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Odesláno z mého telefonu s Androidem pomocí pošty K-9 Mail. Omluvte
> >>>> prosím moji stručnost.
> >>>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail:dev-unsubscribe@netbeans.incubator.apache.org
> >> <ma...@netbeans.incubator.apache.org>
> >> For additional commands,
> >> e-mail:dev-help@netbeans.incubator.apache.org
> >> <ma...@netbeans.incubator.apache.org>
> >>
> >> For further information about the NetBeans mailing lists, visit:
> >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
>

Re: Very Slow Operations with NB 11

Posted by Laszlo Kishalmi <la...@gmail.com>.
Thank you for the data!

I'm going to create a JIRA Issue and attach these there.

At the first sight there is something really bad on the Windows 
Filesystem side.

 From the 10 second completion time at lead 5.5 seconds were spent in a 
Java.ioFile.list() and java.io.File.isDirectory() call. Both have native 
implementations. Usually at this point we suspecting some AntiVirus 
software/ Windows Defender.

My theory on this: As NetBeans is not (yet) installed with a signed 
windows installer, the Security software(s) are handling it more 
suspicious, checking every disk activity. As NetBeans uses really lot of 
disk io, this is bogging down its performacne on Windows (and that's why 
we are not seeing it on Linux/ Mac). As 8.2 has a signed installer, it 
might get better scores at the sec software and that results better IO.
This is just a theory.

On 4/12/19 12:41 PM, Scott Palmer wrote:
> Here is snapshot data for two events. One auto-complete (ctrl-Space) 
> taking 10s, the other getting a hint (alt-Enter) taking 7s.  Yes it 
> does look like something is blocked. I’ve copied you and Jan directly 
> in case the list strips attachements.
>
>
>
>
>> On Apr 12, 2019, at 3:34 PM, Kodewerk <kirk@kodewerk.com 
>> <ma...@kodewerk.com>> wrote:
>>
>> Hi Scott,
>>
>> Please export Snapshot data. As I mentioned before, this is likely a 
>> stalled thread and as such an execution profiler is likely to not 
>> report it. The most useful view IME are thread dumps at about 1 
>> second intervals.
>>
>> Kind regards,
>> Kirk
>>
>>
>>> On Apr 12, 2019, at 12:23 PM, Scott Palmer <swpalmer@gmail.com 
>>> <ma...@gmail.com>> wrote:
>>>
>>> I just experienced a 10s delay before the auto-complete popup 
>>> appeared (did see the “Please wait…” though).  That was the second 
>>> press of auto-complete at the same spot.  The first attempt took 8 
>>> seconds.  I triggered the profiling for each, but I suspect the 
>>> first attempt may be tainted because the Gradle project was stuck 
>>> loading - there was a dependency that it couldn’t get.  I commented 
>>> out that dependency (didn’t need it) so project was loaded fully and 
>>> tried again.  This is with a very tiny toy project.  I single-class 
>>> microbenchmark using the JMH gradle plugin.
>>>
>>> There are options to export “Sanpshot Data”, “Forward Calls”, 
>>> “Hotspots” … which of these do you want?
>>>
>>>
>>> Scott
>>>
>>>> On Apr 12, 2019, at 12:06 PM, Jan Lahoda <lahoda@gmail.com 
>>>> <ma...@gmail.com>> wrote:
>>>>
>>>> Hi Scott,
>>>>
>>>> In this case, it might be useful/helpful if we had the self 
>>>> profiler snapshots. Possibly for one of the features, e.g. code 
>>>> completion:
>>>>
>>>> http://wiki.netbeans.org/FaqProfileMeNow<http://wiki.netbeans.org/FaqProfileMeNow>
>>>>
>>>> (Refactoring/findusages is currently much faster with nb-javac than 
>>>> without it, but the difference should be much smaller for code 
>>>> completion, etc.)
>>>>
>>>> Jan
>>>>
>>>> 12. dubna 2019 16:26:29 SELČ, Scott Palmer <swpalmer@gmail.com 
>>>> <ma...@gmail.com>> napsal:
>>>> What is the best course of action for reporting slowness?  I can’t 
>>>> share my project.
>>>> I’m not certain how to give step-by-step instructions when the 
>>>> problem is basically one step in most cases.  E.g. invoke 
>>>> auto-complete - nothing happens for several seconds.  Invoke rename 
>>>> - dialog doesn’t appear for several seconds.  Find usages - 
>>>> extremely slow > 5 second delay on a private member of a class less 
>>>> than 100 lines.
>>>>
>>>> In general it seems NB 11 is noticeably slower than NB 8.2. Not 
>>>> good considering slowness was already my #1 complaint about NB 8.2. 
>>>>  I have so far found the benefits of NB outweigh the fact that it 
>>>> is much slower than other IDEs for the same operations, but the 
>>>> slowness of NB 11 is tipping the scale.  I don’t want to switch 
>>>> IDEs, pease don’t interpret this as some sort of threat to do so. I 
>>>> would like to help find the issues in NB.  But I don’t have the 
>>>> bandwidth to debug NB and not being about to share my project makes 
>>>> it difficult to provide helpful reports :-(
>>>>
>>>> Are others seeing the slowness?
>>>>
>>>> Find usages, renames, call-hierarchy, auto-complete… things I use 
>>>> all the time, I often have to wait 5 to 10 seconds for a response 
>>>> from the IDE, sometimes more.
>>>>
>>>> I’ve already deleted user dir and cache and restarted.
>>>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>>>>
>>>> Is there a wiki page with instructions on profiling the IDE?  Maybe 
>>>> I can collect something useful.
>>>>
>>>> Scott
>>>> To unsubscribe, 
>>>> e-mail:dev-unsubscribe@netbeans.incubator.apache.org 
>>>> <ma...@netbeans.incubator.apache.org>
>>>> For additional commands, 
>>>> e-mail:dev-help@netbeans.incubator.apache.org 
>>>> <ma...@netbeans.incubator.apache.org>
>>>>
>>>> For further information about the NetBeans mailing lists, visit:
>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists<https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Odesláno z mého telefonu s Androidem pomocí pošty K-9 Mail. Omluvte 
>>>> prosím moji stručnost.
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:dev-unsubscribe@netbeans.incubator.apache.org 
>> <ma...@netbeans.incubator.apache.org>
>> For additional commands, 
>> e-mail:dev-help@netbeans.incubator.apache.org 
>> <ma...@netbeans.incubator.apache.org>
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

Re: Very Slow Operations with NB 11

Posted by Scott Palmer <sw...@gmail.com>.
Here is snapshot data for two events. One auto-complete (ctrl-Space) taking 10s, the other getting a hint (alt-Enter) taking 7s.  Yes it does look like something is blocked. I’ve copied you and Jan directly in case the list strips attachements.



> On Apr 12, 2019, at 3:34 PM, Kodewerk <ki...@kodewerk.com> wrote:
> 
> Hi Scott,
> 
> Please export Snapshot data. As I mentioned before, this is likely a stalled thread and as such an execution profiler is likely to not report it. The most useful view IME are thread dumps at about 1 second intervals.
> 
> Kind regards,
> Kirk
> 
> 
>> On Apr 12, 2019, at 12:23 PM, Scott Palmer <swpalmer@gmail.com <ma...@gmail.com>> wrote:
>> 
>> I just experienced a 10s delay before the auto-complete popup appeared (did see the “Please wait…” though).  That was the second press of auto-complete at the same spot.  The first attempt took 8 seconds.  I triggered the profiling for each, but I suspect the first attempt may be tainted because the Gradle project was stuck loading - there was a dependency that it couldn’t get.  I commented out that dependency (didn’t need it) so project was loaded fully and tried again.  This is with a very tiny toy project.  I single-class microbenchmark using the JMH gradle plugin.
>> 
>> There are options to export “Sanpshot Data”, “Forward Calls”, “Hotspots” … which of these do you want?
>> 
>> 
>> Scott
>> 
>>> On Apr 12, 2019, at 12:06 PM, Jan Lahoda <la...@gmail.com> wrote:
>>> 
>>> Hi Scott,
>>> 
>>> In this case, it might be useful/helpful if we had the self profiler snapshots. Possibly for one of the features, e.g. code completion:
>>> 
>>> http://wiki.netbeans.org/FaqProfileMeNow <http://wiki.netbeans.org/FaqProfileMeNow> <http://wiki.netbeans.org/FaqProfileMeNow <http://wiki.netbeans.org/FaqProfileMeNow>>
>>> 
>>> (Refactoring/findusages is currently much faster with nb-javac than without it, but the difference should be much smaller for code completion, etc.)
>>> 
>>> Jan
>>> 
>>> 12. dubna 2019 16:26:29 SELČ, Scott Palmer <swpalmer@gmail.com <ma...@gmail.com>> napsal:
>>> What is the best course of action for reporting slowness?  I can’t share my project.
>>> I’m not certain how to give step-by-step instructions when the problem is basically one step in most cases.  E.g. invoke auto-complete - nothing happens for several seconds.  Invoke rename - dialog doesn’t appear for several seconds.  Find usages - extremely slow > 5 second delay on a private member of a class less than 100 lines.
>>> 
>>> In general it seems NB 11 is noticeably slower than NB 8.2. Not good considering slowness was already my #1 complaint about NB 8.2.  I have so far found the benefits of NB outweigh the fact that it is much slower than other IDEs for the same operations, but the slowness of NB 11 is tipping the scale.  I don’t want to switch IDEs, pease don’t interpret this as some sort of threat to do so. I would like to help find the issues in NB.  But I don’t have the bandwidth to debug NB and not being about to share my project makes it difficult to provide helpful reports :-(
>>> 
>>> Are others seeing the slowness?
>>> 
>>> Find usages, renames, call-hierarchy, auto-complete… things I use all the time, I often have to wait 5 to 10 seconds for a response from the IDE, sometimes more.
>>> 
>>> I’ve already deleted user dir and cache and restarted. 
>>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>>> 
>>> Is there a wiki page with instructions on profiling the IDE?  Maybe I can collect something useful.
>>> 
>>> Scott
>>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org <ma...@netbeans.incubator.apache.org>
>>> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org <ma...@netbeans.incubator.apache.org>
>>> 
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists <https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists><https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists <https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>>
>>> 
>>> 
>>> 
>>> 
>>> -- 
>>> Odesláno z mého telefonu s Androidem pomocí pošty K-9 Mail. Omluvte prosím moji stručnost.
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org <ma...@netbeans.incubator.apache.org>
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org <ma...@netbeans.incubator.apache.org>
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists <https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>

Re: Very Slow Operations with NB 11

Posted by Laszlo Kishalmi <la...@gmail.com>.
https://issues.apache.org/jira/browse/NETBEANS-2409?focusedCommentId=16822009&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16822009

On 4/12/19 12:54 PM, Scott Palmer wrote:
> Another strange thing.  If I type:
>
> someIdentifier.
>
> I get an automatic auto-complete popup after typing the ‘.’, populated with all the methods or members I could finish with.  But as soon as I type one letter, eg .’i’ (to select "isSomething()"), then I get a “Please wait…” and a few seconds of delay!  The entire list of possibilities was already presented to me, narrowing it down after I hit another letter should be instant.  Something is going wrong.
>
>
> Attached Snapshot data…
>
>
>
> Scott
>
>
>> On Apr 12, 2019, at 3:34 PM, Kodewerk <ki...@kodewerk.com> wrote:
>>
>> Hi Scott,
>>
>> Please export Snapshot data. As I mentioned before, this is likely a stalled thread and as such an execution profiler is likely to not report it. The most useful view IME are thread dumps at about 1 second intervals.
>>
>> Kind regards,
>> Kirk
>>
>>
>>> On Apr 12, 2019, at 12:23 PM, Scott Palmer <sw...@gmail.com> wrote:
>>>
>>> I just experienced a 10s delay before the auto-complete popup appeared (did see the “Please wait…” though).  That was the second press of auto-complete at the same spot.  The first attempt took 8 seconds.  I triggered the profiling for each, but I suspect the first attempt may be tainted because the Gradle project was stuck loading - there was a dependency that it couldn’t get.  I commented out that dependency (didn’t need it) so project was loaded fully and tried again.  This is with a very tiny toy project.  I single-class microbenchmark using the JMH gradle plugin.
>>>
>>> There are options to export “Sanpshot Data”, “Forward Calls”, “Hotspots” … which of these do you want?
>>>
>>>
>>> Scott
>>>
>>>> On Apr 12, 2019, at 12:06 PM, Jan Lahoda <la...@gmail.com> wrote:
>>>>
>>>> Hi Scott,
>>>>
>>>> In this case, it might be useful/helpful if we had the self profiler snapshots. Possibly for one of the features, e.g. code completion:
>>>>
>>>> http://wiki.netbeans.org/FaqProfileMeNow <http://wiki.netbeans.org/FaqProfileMeNow>
>>>>
>>>> (Refactoring/findusages is currently much faster with nb-javac than without it, but the difference should be much smaller for code completion, etc.)
>>>>
>>>> Jan
>>>>
>>>> 12. dubna 2019 16:26:29 SELČ, Scott Palmer <sw...@gmail.com> napsal:
>>>> What is the best course of action for reporting slowness?  I can’t share my project.
>>>> I’m not certain how to give step-by-step instructions when the problem is basically one step in most cases.  E.g. invoke auto-complete - nothing happens for several seconds.  Invoke rename - dialog doesn’t appear for several seconds.  Find usages - extremely slow > 5 second delay on a private member of a class less than 100 lines.
>>>>
>>>> In general it seems NB 11 is noticeably slower than NB 8.2. Not good considering slowness was already my #1 complaint about NB 8.2.  I have so far found the benefits of NB outweigh the fact that it is much slower than other IDEs for the same operations, but the slowness of NB 11 is tipping the scale.  I don’t want to switch IDEs, pease don’t interpret this as some sort of threat to do so. I would like to help find the issues in NB.  But I don’t have the bandwidth to debug NB and not being about to share my project makes it difficult to provide helpful reports :-(
>>>>
>>>> Are others seeing the slowness?
>>>>
>>>> Find usages, renames, call-hierarchy, auto-complete… things I use all the time, I often have to wait 5 to 10 seconds for a response from the IDE, sometimes more.
>>>>
>>>> I’ve already deleted user dir and cache and restarted.
>>>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>>>>
>>>> Is there a wiki page with instructions on profiling the IDE?  Maybe I can collect something useful.
>>>>
>>>> Scott
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

Re: Very Slow Operations with NB 11

Posted by Scott Palmer <sw...@gmail.com>.
Another strange thing.  If I type:

someIdentifier.

I get an automatic auto-complete popup after typing the ‘.’, populated with all the methods or members I could finish with.  But as soon as I type one letter, eg .’i’ (to select "isSomething()"), then I get a “Please wait…” and a few seconds of delay!  The entire list of possibilities was already presented to me, narrowing it down after I hit another letter should be instant.  Something is going wrong.


Attached Snapshot data…



Scott


> On Apr 12, 2019, at 3:34 PM, Kodewerk <ki...@kodewerk.com> wrote:
> 
> Hi Scott,
> 
> Please export Snapshot data. As I mentioned before, this is likely a stalled thread and as such an execution profiler is likely to not report it. The most useful view IME are thread dumps at about 1 second intervals.
> 
> Kind regards,
> Kirk
> 
> 
>> On Apr 12, 2019, at 12:23 PM, Scott Palmer <sw...@gmail.com> wrote:
>> 
>> I just experienced a 10s delay before the auto-complete popup appeared (did see the “Please wait…” though).  That was the second press of auto-complete at the same spot.  The first attempt took 8 seconds.  I triggered the profiling for each, but I suspect the first attempt may be tainted because the Gradle project was stuck loading - there was a dependency that it couldn’t get.  I commented out that dependency (didn’t need it) so project was loaded fully and tried again.  This is with a very tiny toy project.  I single-class microbenchmark using the JMH gradle plugin.
>> 
>> There are options to export “Sanpshot Data”, “Forward Calls”, “Hotspots” … which of these do you want?
>> 
>> 
>> Scott
>> 
>>> On Apr 12, 2019, at 12:06 PM, Jan Lahoda <la...@gmail.com> wrote:
>>> 
>>> Hi Scott,
>>> 
>>> In this case, it might be useful/helpful if we had the self profiler snapshots. Possibly for one of the features, e.g. code completion:
>>> 
>>> http://wiki.netbeans.org/FaqProfileMeNow <http://wiki.netbeans.org/FaqProfileMeNow>
>>> 
>>> (Refactoring/findusages is currently much faster with nb-javac than without it, but the difference should be much smaller for code completion, etc.)
>>> 
>>> Jan
>>> 
>>> 12. dubna 2019 16:26:29 SELČ, Scott Palmer <sw...@gmail.com> napsal:
>>> What is the best course of action for reporting slowness?  I can’t share my project.
>>> I’m not certain how to give step-by-step instructions when the problem is basically one step in most cases.  E.g. invoke auto-complete - nothing happens for several seconds.  Invoke rename - dialog doesn’t appear for several seconds.  Find usages - extremely slow > 5 second delay on a private member of a class less than 100 lines.
>>> 
>>> In general it seems NB 11 is noticeably slower than NB 8.2. Not good considering slowness was already my #1 complaint about NB 8.2.  I have so far found the benefits of NB outweigh the fact that it is much slower than other IDEs for the same operations, but the slowness of NB 11 is tipping the scale.  I don’t want to switch IDEs, pease don’t interpret this as some sort of threat to do so. I would like to help find the issues in NB.  But I don’t have the bandwidth to debug NB and not being about to share my project makes it difficult to provide helpful reports :-(
>>> 
>>> Are others seeing the slowness?
>>> 
>>> Find usages, renames, call-hierarchy, auto-complete… things I use all the time, I often have to wait 5 to 10 seconds for a response from the IDE, sometimes more.
>>> 
>>> I’ve already deleted user dir and cache and restarted. 
>>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>>> 
>>> Is there a wiki page with instructions on profiling the IDE?  Maybe I can collect something useful.
>>> 
>>> Scott


Re: Very Slow Operations with NB 11

Posted by Kodewerk <ki...@kodewerk.com>.
Hi Scott,

Please export Snapshot data. As I mentioned before, this is likely a stalled thread and as such an execution profiler is likely to not report it. The most useful view IME are thread dumps at about 1 second intervals.

Kind regards,
Kirk


> On Apr 12, 2019, at 12:23 PM, Scott Palmer <sw...@gmail.com> wrote:
> 
> I just experienced a 10s delay before the auto-complete popup appeared (did see the “Please wait…” though).  That was the second press of auto-complete at the same spot.  The first attempt took 8 seconds.  I triggered the profiling for each, but I suspect the first attempt may be tainted because the Gradle project was stuck loading - there was a dependency that it couldn’t get.  I commented out that dependency (didn’t need it) so project was loaded fully and tried again.  This is with a very tiny toy project.  I single-class microbenchmark using the JMH gradle plugin.
> 
> There are options to export “Sanpshot Data”, “Forward Calls”, “Hotspots” … which of these do you want?
> 
> 
> Scott
> 
>> On Apr 12, 2019, at 12:06 PM, Jan Lahoda <la...@gmail.com> wrote:
>> 
>> Hi Scott,
>> 
>> In this case, it might be useful/helpful if we had the self profiler snapshots. Possibly for one of the features, e.g. code completion:
>> 
>> http://wiki.netbeans.org/FaqProfileMeNow <http://wiki.netbeans.org/FaqProfileMeNow>
>> 
>> (Refactoring/findusages is currently much faster with nb-javac than without it, but the difference should be much smaller for code completion, etc.)
>> 
>> Jan
>> 
>> 12. dubna 2019 16:26:29 SELČ, Scott Palmer <sw...@gmail.com> napsal:
>> What is the best course of action for reporting slowness?  I can’t share my project.
>> I’m not certain how to give step-by-step instructions when the problem is basically one step in most cases.  E.g. invoke auto-complete - nothing happens for several seconds.  Invoke rename - dialog doesn’t appear for several seconds.  Find usages - extremely slow > 5 second delay on a private member of a class less than 100 lines.
>> 
>> In general it seems NB 11 is noticeably slower than NB 8.2. Not good considering slowness was already my #1 complaint about NB 8.2.  I have so far found the benefits of NB outweigh the fact that it is much slower than other IDEs for the same operations, but the slowness of NB 11 is tipping the scale.  I don’t want to switch IDEs, pease don’t interpret this as some sort of threat to do so. I would like to help find the issues in NB.  But I don’t have the bandwidth to debug NB and not being about to share my project makes it difficult to provide helpful reports :-(
>> 
>> Are others seeing the slowness?
>> 
>> Find usages, renames, call-hierarchy, auto-complete… things I use all the time, I often have to wait 5 to 10 seconds for a response from the IDE, sometimes more.
>> 
>> I’ve already deleted user dir and cache and restarted. 
>> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>> 
>> Is there a wiki page with instructions on profiling the IDE?  Maybe I can collect something useful.
>> 
>> Scott
>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
>> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>> 
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists <https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
>> 
>> 
>> 
>> 
>> -- 
>> Odesláno z mého telefonu s Androidem pomocí pošty K-9 Mail. Omluvte prosím moji stručnost.
> 


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

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




Re: Very Slow Operations with NB 11

Posted by Scott Palmer <sw...@gmail.com>.
I just experienced a 10s delay before the auto-complete popup appeared (did see the “Please wait…” though).  That was the second press of auto-complete at the same spot.  The first attempt took 8 seconds.  I triggered the profiling for each, but I suspect the first attempt may be tainted because the Gradle project was stuck loading - there was a dependency that it couldn’t get.  I commented out that dependency (didn’t need it) so project was loaded fully and tried again.  This is with a very tiny toy project.  I single-class microbenchmark using the JMH gradle plugin.

There are options to export “Sanpshot Data”, “Forward Calls”, “Hotspots” … which of these do you want?


Scott

> On Apr 12, 2019, at 12:06 PM, Jan Lahoda <la...@gmail.com> wrote:
> 
> Hi Scott,
> 
> In this case, it might be useful/helpful if we had the self profiler snapshots. Possibly for one of the features, e.g. code completion:
> 
> http://wiki.netbeans.org/FaqProfileMeNow <http://wiki.netbeans.org/FaqProfileMeNow>
> 
> (Refactoring/findusages is currently much faster with nb-javac than without it, but the difference should be much smaller for code completion, etc.)
> 
> Jan
> 
> 12. dubna 2019 16:26:29 SELČ, Scott Palmer <sw...@gmail.com> napsal:
> What is the best course of action for reporting slowness?  I can’t share my project.
> I’m not certain how to give step-by-step instructions when the problem is basically one step in most cases.  E.g. invoke auto-complete - nothing happens for several seconds.  Invoke rename - dialog doesn’t appear for several seconds.  Find usages - extremely slow > 5 second delay on a private member of a class less than 100 lines.
> 
> In general it seems NB 11 is noticeably slower than NB 8.2. Not good considering slowness was already my #1 complaint about NB 8.2.  I have so far found the benefits of NB outweigh the fact that it is much slower than other IDEs for the same operations, but the slowness of NB 11 is tipping the scale.  I don’t want to switch IDEs, pease don’t interpret this as some sort of threat to do so. I would like to help find the issues in NB.  But I don’t have the bandwidth to debug NB and not being about to share my project makes it difficult to provide helpful reports :-(
> 
> Are others seeing the slowness?
> 
> Find usages, renames, call-hierarchy, auto-complete… things I use all the time, I often have to wait 5 to 10 seconds for a response from the IDE, sometimes more.
> 
> I’ve already deleted user dir and cache and restarted. 
> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
> 
> Is there a wiki page with instructions on profiling the IDE?  Maybe I can collect something useful.
> 
> Scott
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists <https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
> 
> 
> 
> 
> -- 
> Odesláno z mého telefonu s Androidem pomocí pošty K-9 Mail. Omluvte prosím moji stručnost.


Re: Very Slow Operations with NB 11

Posted by Jan Lahoda <la...@gmail.com>.
Hi Scott,

In this case, it might be useful/helpful if we had the self profiler snapshots. Possibly for one of the features, e.g. code completion:

http://wiki.netbeans.org/FaqProfileMeNow

(Refactoring/findusages is currently much faster with nb-javac than without it, but the difference should be much smaller for code completion, etc.)

Jan

12. dubna 2019 16:26:29 SELČ, Scott Palmer <sw...@gmail.com> napsal:
>What is the best course of action for reporting slowness?  I can’t
>share my project.
>I’m not certain how to give step-by-step instructions when the problem
>is basically one step in most cases.  E.g. invoke auto-complete -
>nothing happens for several seconds.  Invoke rename - dialog doesn’t
>appear for several seconds.  Find usages - extremely slow > 5 second
>delay on a private member of a class less than 100 lines.
>
>In general it seems NB 11 is noticeably slower than NB 8.2. Not good
>considering slowness was already my #1 complaint about NB 8.2.  I have
>so far found the benefits of NB outweigh the fact that it is much
>slower than other IDEs for the same operations, but the slowness of NB
>11 is tipping the scale.  I don’t want to switch IDEs, pease don’t
>interpret this as some sort of threat to do so. I would like to help
>find the issues in NB.  But I don’t have the bandwidth to debug NB and
>not being about to share my project makes it difficult to provide
>helpful reports :-(
>
>Are others seeing the slowness?
>
>Find usages, renames, call-hierarchy, auto-complete… things I use all
>the time, I often have to wait 5 to 10 seconds for a response from the
>IDE, sometimes more.
>
>I’ve already deleted user dir and cache and restarted. 
>I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.
>
>Is there a wiki page with instructions on profiling the IDE?  Maybe I
>can collect something useful.
>
>Scott
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
>For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>
>For further information about the NetBeans mailing lists, visit:
>https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

-- 
Odesláno z mého telefonu s Androidem pomocí pošty K-9 Mail. Omluvte prosím moji stručnost.

RE: Very Slow Operations with NB 11

Posted by pe...@webparity.net.
I love NB's and will never switch. I've been using it since 2013... and love it. But the lagging, the locking up on save, the memory leaks, the not being able to format... really is frustrating.  The other thing, I have only 1 or 2 projects in a group open so, it's not massive projects in the app doing it.  The background scanning takes forever...  scanning for external changes suspends not by my doing... just sits there... can't CLOSE IT...

Something I stated to John Chen in 1999 at the Sybase Techwave in Florida about Powerbuilder was, "Why are you putting out a product riddled with bugs when you can BEAT the competition and put a product as close to free of bugs?"  Well, being Chinese that was an insult which I didn't know... his response on the stage with the CEO of Tibco and other tech companies was, "Are you a plant?"  I worked for Sybase (former employee).

The next day, Raj Nathan, the VP stood in front of the 3000 people and vindicated me.  He committed to put out PB 5.0 as free from bugs as possible.  I saw John going in to a meeting and stopped him, apologized for unconsciously insulting him and he thanked me for being so bold and bringing it to his attention.

But that's what WE NEED here folks. Eat the elephant one bite at a time.

Let's do what we need before putting it out there. We know there are bugs, we know there are problems, let's fix one at a time, prioritize them as P1, P2, or P3 where P1 is a showstopper, P2 has a workaround and P3 is plainly cosmetic. I'm old school and 59 years old.  Been doing this for over 35 years.

Let's BEAT the competition and put out the best product we can.

Agreed?


Peter Borreggine
Owner and Developer
Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO
WebParity.net
A Service Connected Disabled Veteran Owned Business
WA State License: 603-501-609
360-830-8926 C

“Lead, Follow or Get Out of the Way…”
- Lee Iacocca, former head of Chrysler and Ford

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and its attachments. Any unauthorized review, use, disclosure, or distribution is prohibited.

-----Original Message-----
From: Scott Palmer <sw...@gmail.com> 
Sent: Friday, April 12, 2019 7:26 AM
To: dev <de...@netbeans.incubator.apache.org>
Cc: netcat <ne...@netbeans.apache.org>; Geertjan Wielenga <ge...@apache.org>
Subject: Very Slow Operations with NB 11

What is the best course of action for reporting slowness?  I can’t share my project.
I’m not certain how to give step-by-step instructions when the problem is basically one step in most cases.  E.g. invoke auto-complete - nothing happens for several seconds.  Invoke rename - dialog doesn’t appear for several seconds.  Find usages - extremely slow > 5 second delay on a private member of a class less than 100 lines.

In general it seems NB 11 is noticeably slower than NB 8.2. Not good considering slowness was already my #1 complaint about NB 8.2.  I have so far found the benefits of NB outweigh the fact that it is much slower than other IDEs for the same operations, but the slowness of NB 11 is tipping the scale.  I don’t want to switch IDEs, pease don’t interpret this as some sort of threat to do so. I would like to help find the issues in NB.  But I don’t have the bandwidth to debug NB and not being about to share my project makes it difficult to provide helpful reports :-(

Are others seeing the slowness?

Find usages, renames, call-hierarchy, auto-complete… things I use all the time, I often have to wait 5 to 10 seconds for a response from the IDE, sometimes more.

I’ve already deleted user dir and cache and restarted. 
I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.

Is there a wiki page with instructions on profiling the IDE?  Maybe I can collect something useful.

Scott


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

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


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

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