Performance improvements in NetBeans 6.1

NetBeans 6.1 has much better performance than 6.0 or 6.0.1. A lot of work has been done to make this happen. If you meet anyone from the performance team please buy them a glass of beer (or a jug :). Here are some results of the tests:

\* First startup (cold startup) is about 20% faster over 6.0 with no projects opened
\* First startup (cold startup) is about 40% faster over 6.0 with several projects opened
\* Post-startup work has been reduced by ~50%

The startup speed is still slower than Eclipse's but we are getting close.

What's probably even more interesting is the memory consumption improvements (with 6.0 being worse than Eclipse and 6.1 being better than Eclipse in the basic scenarios):


  Full NB 6.1 NB 6.0 Eclipse 3.3
 After startup & warmup87 MB
140 MB
100 MB
 After create, edit, build, run130 MB
172 MB
133 MB 

Other performance improvements include: 

I/O improvements
- File systems optimizations – e.g. 40% faster refresh
- Less disk touches, e.g. expanding a package on network is about 40% faster
• Visual Web
- Hunt on memory leaks
- Opening pages, adding a table component ~50% faster
• Java editor
- Incremental method parsing
- Faster queries processing for navigator
• JSP editor
- Fixed parser and caching, less disk touches

Do you share the same experience that performance of 6.1 has improved over 6.0?


did you test final release of netbeans? on now are only nigtly builds and release candidates

Posted by dmn on duben 25, 2008 at 03:21 dop. CEST #

The test was done on release candidate. Final release coming soon - today or on Monday :)

Posted by Roman Strobl on duben 25, 2008 at 03:26 dop. CEST #

Hi Roman, I can't wait for NetBeans 6.1 final :)

The Release Roadmap says that the release was planned for April 23rd, so I went to on April 23rd 7:00AM to find that only the RC was available.
So I thought "OK, they'll release it later this day" and kept on checking every other hour.

When the final version still was not available on April 24th I got a little confused because I could not find any official statement about a delay.

I don't want to complain about the delay - in fact I encourage the developers to take their time and get rid of the known bugs before the release of the final version, but it would be nice to have an official statement about the delay indicating the new planned release date so people don't get confused or worried and know what is happening.
An entry in your blog or a small note on would have been sufficient.

I hope you don't get me wrong - I am not whining - I just like to know that everything is fine when something unexpected is happening.
Two days ago I incurred the wrath of the whole ##java channel on freenode because of such a misunderstanding.

Posted by Neumaennl on duben 25, 2008 at 04:26 dop. CEST #

Ok I will write a short announcement in the blog :)

Posted by Roman on duben 25, 2008 at 04:28 dop. CEST #

At least in my case, NetBeans RC1 starts up faster than Eclipse 3.3.

Posted by Tom Wheeler on duben 25, 2008 at 09:41 dop. CEST #

I feel the urge to shut down Eclipse faster than Netbeans :-)

NB61 is certainly usable now on large multi-project codebases - with 6.0 it wasn't several minutes to run something that was already compiled vs a fraction of a second using IntellJ 6.

Well done NB61 team!

Posted by AdrianM on duben 25, 2008 at 11:20 dop. CEST #

I believe the perfermance is improved in NetBeans 6.1.
But from this comparision, I do not know which product was the comparsion based on ?
NetBeans base IDE vs. Elipse SDK.
NetBeans JEE bundle vs Eclipse JEE bundle.
or others.

Posted by hantsy on duben 25, 2008 at 11:26 odp. CEST #

I didn't do the test myself - the performance team did it. The version of NetBeans is the full version of the IDE (the biggest download). I am not sure which version of Eclipse they used, I would assume it was the Eclipse JEE bundle, but I am not sure.

Posted by Roman Strobl on duben 26, 2008 at 05:19 dop. CEST #


Posted by thanhvn on prosinec 18, 2008 at 02:00 dop. CET #

Hi Roman, I can't wait for NetBeans 6.1 final :)

Posted by Warhammer Online Power Leveling on březen 12, 2009 at 12:19 dop. CET #

Post a Comment:
Comments are closed for this entry.

Roman Strobl


« červenec 2016