« květen 2008
PoÚtStČtSoNe
   
1
2
3
4
5
7
8
9
10
12
13
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
       
Today
XML

NetBeans Frappr! Map

Navigation

Speaker Profile
Roumen's Weblog
Login
Sun Bloggers
Technorati Profile

Am I popular?

Today's Page Hits: 4872

Contact Me

Name: Roman Strobl
E-mail: roman dot strobl
at sun dot com
ICQ: #54106719
Collab: Roumen@share.java.net

NetBeans

Java Sites

Javalobby
The Server Side
Java Tips
Java Blogs
java.net
java.sun.com
java.cz

Blogs

NetBeans:
Geertjan
Brian Leonard
Gregg Sporar
Lukas Hasik
Ludovic Champenois
Vincent Brabant
Alexis Moussine-Pouchkine
Jullion-Ceccarelli
Tom Ball
Tim Boudreau
Jesse Glick
Petr Blaha
Ruth Kusterer
Jara Uhrik
xzajo
Jan Lahoda
James Branam
nbextras.org

Sun:
Kazem - bug cartoons ;-)
Tor Norbye
Romain Guy
James Gosling
Chief Gaming Officer
Jim Grisanzio
Jonathan Schwartz

Planets:
Planet Netbeans
Planet Sun
Planet Eclipse

Other:
netbeans-blog.org
Joel Spolsky
Bruce Eckel

License info

Creative Commons License
This work is licensed under a Creative Commons License.

Recent Entries

Map of visits

Locations of visitors to this page
« Java and NetBeans on... | Main | OpenSolaris Review »
20080425 Pátek duben 25, 2008
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?

Trackback URL: http://blogs.sun.com/roumen/entry/performance_improvements_in_netbeans_6
Comments:

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

Posted by dmn on duben 25, 2008 at 10: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 10: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 netbeans.org 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 netbeans.org 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 11:26 dop. CEST #

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

Posted by Roman on duben 25, 2008 at 11: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 04:41 odp. 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 06:20 odp. 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 26, 2008 at 06:26 dop. 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 12:19 odp. CEST #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed


    Disclaimer: The contents of my blog represent my personal opinions which may differ from official views of my employer, Sun Microsystems.