NB69ScanningMeasurements

(Difference between revisions)
(Created page with '== PHP == For PHP measurements, project [http://www.mediawiki.org MediaWiki] (version 1.15.3) has been used. ''number of files:'' 1461 ''number of folders:'' 60 === Startup Pa…')
(Up-to-date Check (warm))
 
(26 intermediate revisions not shown)
Line 1: Line 1:
 +
__NOTOC__
 +
== PHP ==
== PHP ==
-
For PHP measurements, project [http://www.mediawiki.org MediaWiki] (version 1.15.3) has been used.
+
For PHP measurements, NetBeans PHP edition and project [http://www.mediawiki.org MediaWiki] (version 1.15.3) has been used.
''number of files:'' 1461
''number of files:'' 1461
Line 13: Line 15:
=== NetBeans Versions ===
=== NetBeans Versions ===
<pre>
<pre>
-
Product Version: NetBeans IDE 6.8 (Build 201004121801)
+
Product Version: NetBeans IDE 6.8 (Build 201003241801)
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01
System: Linux version 2.6.31-20-generic running on amd64; UTF-8; cs_CZ (nb)
System: Linux version 2.6.31-20-generic running on amd64; UTF-8; cs_CZ (nb)
Line 25: Line 27:
</pre>
</pre>
-
=== Parsing & Indexing ===
+
=== Parsing & Indexing (first open) ===
 +
 
 +
Measured time of indexing the project when opened for the first time. Numbers taken from log file as reported by <tt>RepositoryUpdater</tt>.
 +
 
 +
''NB 69 NR - not recursive listener''
 +
 
 +
[[image:Nb69-scanning-measurements-php-parsing-indexing.png|thumb|right]]
 +
 
{|- border="1" cellpadding="4" cellspacing="3"
{|- border="1" cellpadding="4" cellspacing="3"
-
! (ms)
+
! (ms / MB)
! NB 68
! NB 68
! NB 69
! NB 69
Line 46: Line 55:
|align="right"| 40345
|align="right"| 40345
|align="right"| 42205
|align="right"| 42205
 +
|-
 +
! Memory
 +
|align="right"| 41.1
 +
|align="right"| 43.5
 +
|align="right"| 42.7
|}
|}
 +
 +
=== Up-to-date Check (warm) ===
 +
Measured time of indexing already opened project after IDE restart. Numbers taken from log file as reported by <tt>RepositoryUpdater</tt>.
 +
''NB 69 NR - not recursive listener''
''NB 69 NR - not recursive listener''
-
=== Up-to-date Check ===
+
[[image:Nb69-scanning-measurements-php-up-to-date-check.png|thumb|right]]
 +
 
{|- border="1" cellpadding="4" cellspacing="3"
{|- border="1" cellpadding="4" cellspacing="3"
-
! (ms)
+
! (ms / MB)
! NB 68
! NB 68
! NB 69
! NB 69
Line 70: Line 89:
|align="right"| 1270
|align="right"| 1270
|align="right"| 815
|align="right"| 815
 +
|-
 +
! Memory
 +
|align="right"| 28.5
 +
|align="right"| 32.2
 +
|align="right"| 34.3<nowiki>*</nowiki>
|}
|}
-
''NB 69 NR - not recursive listener''
+
<nowiki>*</nowiki> histogram (jmap -histo) taken, can be found in Complete Results
 +
 
 +
=== Complete Results ===
 +
Can be found here: [[File:Nb69-scanning-measurements-php.tar.bz2]].
 +
 
 +
 
 +
==  J2SE project (Limewire, 2531 files) ==
 +
=== Parsing & Indexing (first open) ===
 +
{|- border="1" cellpadding="4" cellspacing="3"
 +
! (ms / MB)
 +
! NB 68
 +
! NB 69
 +
! NB 69 NR
 +
|-
 +
! 1.
 +
|align="right"| 57484
 +
|align="right"| 65500
 +
|align="right"| 64279
 +
|-
 +
! 2.
 +
|align="right"| 57985
 +
|align="right"| 63766
 +
|align="right"| 63906
 +
|-
 +
! 3.
 +
|align="right"| 59766
 +
|align="right"| 63640
 +
|align="right"| 63156
 +
|-
 +
! Memory
 +
|align="right"| 31.25
 +
|align="right"| 33.2
 +
|align="right"| 32.7
 +
|}
 +
 
 +
=== Up-to-date Check (warm) ===
 +
 
 +
{|- border="1" cellpadding="4" cellspacing="3"
 +
! (ms / MB)
 +
! NB 68
 +
! NB 69
 +
! NB 69 NR
 +
|-
 +
! 1.
 +
|align="right"| 921
 +
|align="right"| 1437
 +
|align="right"| 1078
 +
|-
 +
! 2.
 +
|align="right"| 879
 +
|align="right"| 1375
 +
|align="right"| 1016
 +
|-
 +
! 3.
 +
|align="right"| 875
 +
|align="right"| 1391
 +
|align="right"| 1024
 +
|-
 +
! Memory
 +
|align="right"| 33.15
 +
|align="right"| 33.4
 +
|align="right"| 32.4
 +
|}
 +
 
 +
=== Project Opening and Up-to-date Check after Cold Start  ===
 +
 
 +
Measured via stopwatch from the moment when the main window appears till all scanning is finished ("Scanning Projects" disappears). No file opened.
 +
 
 +
{|- border="1" cellpadding="4" cellspacing="3"
 +
! (s / MB)
 +
! NB 68
 +
! NB 69
 +
|-
 +
! 1.
 +
|align="right"| 26.2
 +
|align="right"| 32.0
 +
|-
 +
! 2.
 +
|align="right"| 26.7
 +
|align="right"| 32.6
 +
|-
 +
! 3.
 +
|align="right"| 24.2
 +
|align="right"| 29.7
 +
|-
 +
! Memory
 +
|align="right"| 20.7
 +
|align="right"| 22.0
 +
|}
 +
 
 +
Profiling snapshots:
 +
* [[File:uptodate_check_68.nps]]
 +
* [[File:uptodate_check_69.nps]]
 +
 
 +
 
 +
==  J2SE project (OpenJDK, 14319 files) ==
 +
 
 +
=== Startup Parameters ===
 +
<pre>./bin/netbeans --userdir /~/tmp/nb -J-ea</pre>
 +
 
 +
<pre>./bin/netbeans --userdir /~/tmp/nb -J-ea -J-Dnetbeans.indexing.notRecursiveListener=true</pre>
 +
 
 +
=== NetBeans Versions ===
 +
<pre>
 +
Product Version: NetBeans IDE 6.8 (Build 200912041610)
 +
Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101
 +
System: Mac OS X version 10.5.8 running on x86_64; MacRoman; en_US (nb)
 +
</pre>
 +
<pre>
 +
Product Version: NetBeans IDE Dev (Build 100420-c5643a357f46)
 +
Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101
 +
System: Mac OS X version 10.5.8 running on x86_64; MacRoman; en_US (nb)
 +
</pre>
 +
 
 +
 
 +
=== Parsing & Indexing (warm) ===
 +
{|- border="1" cellpadding="4" cellspacing="3"
 +
! (ms)
 +
! NB 68
 +
! NB 69
 +
! NB 69 NR
 +
|-
 +
! 1.
 +
|align="right"| 303699
 +
|align="right"| 304556
 +
|align="right"| 300534
 +
|-
 +
! 2.
 +
|align="right"| 305421
 +
|align="right"| 329641
 +
|align="right"| 300288
 +
|-
 +
! 3.
 +
|align="right"| DNF (Exceptions from JI)
 +
|align="right"| 311266
 +
|align="right"| 308084
 +
|}
 +
 
 +
===Up-to-date Check (warm) ===
 +
 
 +
{|- border="1" cellpadding="4" cellspacing="3"
 +
! (ms)
 +
! NB 68
 +
! NB 69
 +
! NB 69 NR
 +
|-
 +
! 1.
 +
|align="right"| 9070
 +
|align="right"| 7559
 +
|align="right"| 6613
 +
|-
 +
! 2.
 +
|align="right"| 8925
 +
|align="right"| 7923
 +
|align="right"| 6406
 +
|-
 +
! 3.
 +
|align="right"| 9231
 +
|align="right"| 7880
 +
|align="right"| 6003
 +
|}
 +
 
 +
 
 +
==  Maven project (Glassfish-v3) ==
 +
 
 +
Here are the steps performed before measuring:
 +
# svn checkout https://svn.dev.java.net/svn/glassfish-svn/trunk/v3
 +
# 'mvn' in the top level project
 +
<pre>
 +
...
 +
[INFO] ------------------------------------------------------------------------
 +
[INFO] BUILD SUCCESSFUL
 +
[INFO] ------------------------------------------------------------------------
 +
[INFO] Total time: 51 minutes 45 seconds
 +
[INFO] Finished at: Fri Apr 16 12:29:09 CEST 2010
 +
[INFO] Final Memory: 318M/506M
 +
[INFO] ------------------------------------------------------------------------
 +
</pre>
 +
# started netbeans, opened the top-level project
 +
# 'Open Required Projects'
 +
 
 +
There are 260 binary roots detected in both Nb68 and Nb69 and 332 source roots with 7835 files detected in Nb68, but only 322 source roots with 7980 files detected in Nb69.
 +
 
 +
=== Startup Parameters ===
 +
<pre>For Nb68: ./bin/netbeans --userdir /work/tmp/glassfish-userdir</pre>
 +
 
 +
<pre>For Nb69: ant tryme -Dtryme.args="-J-Dnetbeans.indexing.notRecursiveListener=true -J-Xmx1024m"</pre>
 +
 
 +
=== NetBeans Versions ===
 +
<pre>
 +
  Product Version        = NetBeans IDE 6.8 (Build 200912041610) (#ec9be6a6486c)
 +
  Operating System        = Mac OS X version 10.5.8 running on x86_64
 +
  Java; VM; Vendor        = 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101; Apple Inc.
 +
</pre>
 +
<pre>
 +
  Product Version        = NetBeans IDE Dev (Build 100423-72daac4db968) (#72daac4db968)
 +
  Operating System        = Mac OS X version 10.5.8 running on x86_64
 +
  Java; VM; Vendor        = 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101; Apple Inc.
 +
</pre>
 +
 
 +
=== Parsing & Indexing (warm) ===
 +
{|- border="1" cellpadding="4" cellspacing="3"
 +
! (ms)
 +
! NB 68
 +
! NB 69
 +
! NB 69 NR
 +
|-
 +
! 1.
 +
|align="right"| 99961 + 480077 = 580038
 +
|align="right"| -
 +
|align="right"| 55259 + 328976 = 384235
 +
|}
 +
 
 +
===Up-to-date Check (warm) ===
 +
 
 +
{|- border="1" cellpadding="4" cellspacing="3"
 +
! (ms)
 +
! NB 68
 +
! NB 69
 +
! NB 69 NR
 +
|-
 +
! 1.
 +
|align="right"| 13107 + 116764 = 129871
 +
|align="right"| -
 +
|align="right"| 14257 + 65628 = 79885
 +
|}
 +
 
 +
 
 +
In both initial scan and up-to-date check 'Opening projects...' takes ages. It's better with -Xmx1024m, but even then it takes minutes comparing to 6.8, where it was very quick. The scan intself does not seem to be slow, but 'something' takes up way too much memory in 6.9 and it does not seem to be the scanning itself.

Current revision as of 09:55, 23 April 2010


PHP

For PHP measurements, NetBeans PHP edition and project MediaWiki (version 1.15.3) has been used.

number of files: 1461

number of folders: 60

Startup Parameters

./bin/netbeans --userdir /tmp/nb -J-da
./bin/netbeans --userdir /tmp/nb -J-da -J-Dnetbeans.indexing.notRecursiveListener=true

NetBeans Versions

Product Version: NetBeans IDE 6.8 (Build 201003241801)
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01
System: Linux version 2.6.31-20-generic running on amd64; UTF-8; cs_CZ (nb)
Userdir: /tmp/nb
Product Version: NetBeans IDE Dev (Build 201004120251)
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01
System: Linux version 2.6.31-20-generic running on amd64; UTF-8; cs_CZ (nb)
Userdir: /tmp/nb

Parsing & Indexing (first open)

Measured time of indexing the project when opened for the first time. Numbers taken from log file as reported by RepositoryUpdater.

NB 69 NR - not recursive listener

(ms / MB) NB 68 NB 69 NB 69 NR
1. 39294 42602 42672
2. 38903 41815 43680
3. 39546 40345 42205
Memory 41.1 43.5 42.7

Up-to-date Check (warm)

Measured time of indexing already opened project after IDE restart. Numbers taken from log file as reported by RepositoryUpdater.

NB 69 NR - not recursive listener

(ms / MB) NB 68 NB 69 NB 69 NR
1. 1471 1194 649
2. 849 833 790
3. 1112 1270 815
Memory 28.5 32.2 34.3*

* histogram (jmap -histo) taken, can be found in Complete Results

Complete Results

Can be found here: File:Nb69-scanning-measurements-php.tar.bz2.


J2SE project (Limewire, 2531 files)

Parsing & Indexing (first open)

(ms / MB) NB 68 NB 69 NB 69 NR
1. 57484 65500 64279
2. 57985 63766 63906
3. 59766 63640 63156
Memory 31.25 33.2 32.7

Up-to-date Check (warm)

(ms / MB) NB 68 NB 69 NB 69 NR
1. 921 1437 1078
2. 879 1375 1016
3. 875 1391 1024
Memory 33.15 33.4 32.4

Project Opening and Up-to-date Check after Cold Start

Measured via stopwatch from the moment when the main window appears till all scanning is finished ("Scanning Projects" disappears). No file opened.

(s / MB) NB 68 NB 69
1. 26.2 32.0
2. 26.7 32.6
3. 24.2 29.7
Memory 20.7 22.0

Profiling snapshots:


J2SE project (OpenJDK, 14319 files)

Startup Parameters

./bin/netbeans --userdir /~/tmp/nb -J-ea
./bin/netbeans --userdir /~/tmp/nb -J-ea -J-Dnetbeans.indexing.notRecursiveListener=true

NetBeans Versions

Product Version: NetBeans IDE 6.8 (Build 200912041610)
Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101
System: Mac OS X version 10.5.8 running on x86_64; MacRoman; en_US (nb)
Product Version: NetBeans IDE Dev (Build 100420-c5643a357f46)
Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101
System: Mac OS X version 10.5.8 running on x86_64; MacRoman; en_US (nb)


Parsing & Indexing (warm)

(ms) NB 68 NB 69 NB 69 NR
1. 303699 304556 300534
2. 305421 329641 300288
3. DNF (Exceptions from JI) 311266 308084

Up-to-date Check (warm)

(ms) NB 68 NB 69 NB 69 NR
1. 9070 7559 6613
2. 8925 7923 6406
3. 9231 7880 6003


Maven project (Glassfish-v3)

Here are the steps performed before measuring:

  1. svn checkout https://svn.dev.java.net/svn/glassfish-svn/trunk/v3
  2. 'mvn' in the top level project
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 51 minutes 45 seconds
[INFO] Finished at: Fri Apr 16 12:29:09 CEST 2010
[INFO] Final Memory: 318M/506M
[INFO] ------------------------------------------------------------------------
  1. started netbeans, opened the top-level project
  2. 'Open Required Projects'

There are 260 binary roots detected in both Nb68 and Nb69 and 332 source roots with 7835 files detected in Nb68, but only 322 source roots with 7980 files detected in Nb69.

Startup Parameters

For Nb68: ./bin/netbeans --userdir /work/tmp/glassfish-userdir
For Nb69: ant tryme -Dtryme.args="-J-Dnetbeans.indexing.notRecursiveListener=true -J-Xmx1024m"

NetBeans Versions

  Product Version         = NetBeans IDE 6.8 (Build 200912041610) (#ec9be6a6486c)
  Operating System        = Mac OS X version 10.5.8 running on x86_64
  Java; VM; Vendor        = 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101; Apple Inc.
  Product Version         = NetBeans IDE Dev (Build 100423-72daac4db968) (#72daac4db968)
  Operating System        = Mac OS X version 10.5.8 running on x86_64
  Java; VM; Vendor        = 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101; Apple Inc.

Parsing & Indexing (warm)

(ms) NB 68 NB 69 NB 69 NR
1. 99961 + 480077 = 580038 - 55259 + 328976 = 384235

Up-to-date Check (warm)

(ms) NB 68 NB 69 NB 69 NR
1. 13107 + 116764 = 129871 - 14257 + 65628 = 79885


In both initial scan and up-to-date check 'Opening projects...' takes ages. It's better with -Xmx1024m, but even then it takes minutes comparing to 6.8, where it was very quick. The scan intself does not seem to be slow, but 'something' takes up way too much memory in 6.9 and it does not seem to be the scanning itself.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo