You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Eric Bresie <eb...@gmail.com> on 2019/05/04 15:27:33 UTC

File

Hey folks, I recently pulled down a recent Netbeans 11 install, attempted
to pull down netbean source via git and started getting some performance
hits while it is scanning folders which based on what I see in the attached
image, may be due to calls to master fs subsequent calls to java
isDirectory() which makes calls to the native (in this case Windows)
getBooleanAttributes which believe is part of the bottle neck.

Looking around some for issues around this, I did find an older bugzilla
ticket (and related comment) which if I read correctly may not have been
fully addresses yet.

https://netbeans.org/bugzilla/show_bug.cgi?id=65135#c38

There looks to be another similar ticket around here (
https://netbeans.org/bugzilla/show_bug.cgi?id=168389 )

Is anyone aware of any ongoing work on this as this was lasted dated around
2016 timeframe, and I'm not completely sure if maybe there is work
elsewhere that may impact this work

I see an older references on wiki about IO Improvements but not sure of any
updates around here
http://wiki.netbeans.org/IOImprovementsDesc

More recently, it may be related to
https://issues.apache.org/jira/browse/NETBEANS-2409

Anyone?

Eric Bresie
ebresie@gmail.com
http://www.linkedin.com/in/ebresie

Re: File Slow Operations

Posted by Eric Bresie <eb...@gmail.com>.
For clarification, wanted to adjust email title which did not go out as
expected.

Was also wondering about guidance from an architecture perspective of how
things existing in the Netbeans code based.  From what I see there is the
"masterfs" package which contains a number of wrapper level File and Folder
Objects, which are used in many locations.  There are some utility classes
which are used in many cases, but then in other cases through out the code
base, it seems like raw File objects and their corresponding (slow) FIle
(pre-nio) operations which slow things down.

So if some effort was to be made, how would that get done?  Would things be
done in the masterfs level or the lower specific context area (potentially
touch much more code but more fine tune in specific area performance)?

Eric Bresie
ebresie@gmail.com


On Sat, May 4, 2019 at 10:27 AM Eric Bresie <eb...@gmail.com> wrote:

> Hey folks, I recently pulled down a recent Netbeans 11 install, attempted
> to pull down netbean source via git and started getting some performance
> hits while it is scanning folders which based on what I see in the attached
> image, may be due to calls to master fs subsequent calls to java
> isDirectory() which makes calls to the native (in this case Windows)
> getBooleanAttributes which believe is part of the bottle neck.
>
> Looking around some for issues around this, I did find an older bugzilla
> ticket (and related comment) which if I read correctly may not have been
> fully addresses yet.
>
> https://netbeans.org/bugzilla/show_bug.cgi?id=65135#c38
>
> There looks to be another similar ticket around here (
> https://netbeans.org/bugzilla/show_bug.cgi?id=168389 )
>
> Is anyone aware of any ongoing work on this as this was lasted dated
> around 2016 timeframe, and I'm not completely sure if maybe there is work
> elsewhere that may impact this work
>
> I see an older references on wiki about IO Improvements but not sure of
> any updates around here
> http://wiki.netbeans.org/IOImprovementsDesc
>
> More recently, it may be related to
> https://issues.apache.org/jira/browse/NETBEANS-2409
>
> Anyone?
>
> Eric Bresie
> ebresie@gmail.com
>


On Sat, May 4, 2019 at 11:46 AM Geertjan Wielenga <ge...@apache.org>
wrote:

> Excellent, any research and code that enhances performance is welcome more
> than anything else. Recently some related work was done on this, within the
> current release cycle, by Jan Lahoda and others (please someone fill in the
> details here), and your additional enhancements via a pull request would be
> valued and appreciated.
>
> Gj
>
>
> On Sat, 4 May 2019 at 17:34, Eric Bresie <eb...@gmail.com> wrote:
>
> > Hey folks, I recently pulled down a recent Netbeans 11 install, attempted
> > to pull down netbean source via git and started getting some performance
> > hits while it is scanning folders which based on what I see in the
> attached
> > image, may be due to calls to master fs subsequent calls to java
> > isDirectory() which makes calls to the native (in this case Windows)
> > getBooleanAttributes which believe is part of the bottle neck.
> >
> > Looking around some for issues around this, I did find an older bugzilla
> > ticket (and related comment) which if I read correctly may not have been
> > fully addresses yet.
> >
> > https://netbeans.org/bugzilla/show_bug.cgi?id=65135#c38
> >
> > There looks to be another similar ticket around here (
> > https://netbeans.org/bugzilla/show_bug.cgi?id=168389 )
> >
> > Is anyone aware of any ongoing work on this as this was lasted dated
> > around 2016 timeframe, and I'm not completely sure if maybe there is work
> > elsewhere that may impact this work
> >
> > I see an older references on wiki about IO Improvements but not sure of
> > any updates around here
> > http://wiki.netbeans.org/IOImprovementsDesc
> >
> > More recently, it may be related to
> > https://issues.apache.org/jira/browse/NETBEANS-2409
> >
> > Anyone?
> >
> > Eric Bresie
> > ebresie@gmail.com
> > http://www.linkedin.com/in/ebresie
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> > For additional commands, e-mail: dev-help@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
>

Re: File

Posted by Geertjan Wielenga <ge...@apache.org>.
Excellent, any research and code that enhances performance is welcome more
than anything else. Recently some related work was done on this, within the
current release cycle, by Jan Lahoda and others (please someone fill in the
details here), and your additional enhancements via a pull request would be
valued and appreciated.

Gj


On Sat, 4 May 2019 at 17:34, Eric Bresie <eb...@gmail.com> wrote:

> Hey folks, I recently pulled down a recent Netbeans 11 install, attempted
> to pull down netbean source via git and started getting some performance
> hits while it is scanning folders which based on what I see in the attached
> image, may be due to calls to master fs subsequent calls to java
> isDirectory() which makes calls to the native (in this case Windows)
> getBooleanAttributes which believe is part of the bottle neck.
>
> Looking around some for issues around this, I did find an older bugzilla
> ticket (and related comment) which if I read correctly may not have been
> fully addresses yet.
>
> https://netbeans.org/bugzilla/show_bug.cgi?id=65135#c38
>
> There looks to be another similar ticket around here (
> https://netbeans.org/bugzilla/show_bug.cgi?id=168389 )
>
> Is anyone aware of any ongoing work on this as this was lasted dated
> around 2016 timeframe, and I'm not completely sure if maybe there is work
> elsewhere that may impact this work
>
> I see an older references on wiki about IO Improvements but not sure of
> any updates around here
> http://wiki.netbeans.org/IOImprovementsDesc
>
> More recently, it may be related to
> https://issues.apache.org/jira/browse/NETBEANS-2409
>
> Anyone?
>
> Eric Bresie
> ebresie@gmail.com
> http://www.linkedin.com/in/ebresie
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>