You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Kenneth Fogel <kf...@dawsoncollege.qc.ca> on 2021/07/28 21:19:34 UTC

Compile time for NB

Just for my curiosity I'd like to know how long it takes you to compile NB using AdoptOpenJDK-11.0.11+9 and Ant 1.10. I compiled what I found at https://github.com/apache/netbeans. Here are my results:

System 1:
4th gen i7-4770 @3.4GHz
16 GB RAM
768 GB SSD drive w/ SATA interface
18 minutes

System 2 (my retirement present to myself):
11th gen i9-11900 @2.5GHz (increases to 5.0GHz on demand)
32 GB RAM
NVMe 1TB drive
11 minutes

In both cases the folder where the code was being compiled was excluded from the anti-virus software, Windows Security. On system 2 leaving the anti-virus turned on for the folder, it added just under 3 minutes. The disk access and I/O in general is considered slower in Windows as compared to other operating systems. One of those "Everyone knows this" that I'd like to prove or disprove.

I'd be curious about performance on Linux and on m1 Macs with and without anti-virus software running.

Thanks,

Ken








Re: Compile time for NB

Posted by Will Hartung <wi...@gmail.com>.
Modern Intel iMac. 3.8GHz 8-Core Intel Core i7 72GB of RAM internal SSD

8:30 first build.

7:48 second build, after an ant clean.



On Thu, Jul 29, 2021 at 2:54 AM Michael Bien <mb...@gmail.com> wrote:

> BUILD SUCCESSFUL
> Total time: 6 minutes 4 seconds
>
> on an old i7-6700k (with hyperthreading disabled, otherwise its stock if
> i remember correctly).
>
> However i cheated. I built on a ramdisk and also redirected the console
> output to a file. The NB build prints so much that this alone can be a
> bottleneck on some shells.
>
> Ramdisks are an old habit from back when SSDs were unreliable (and HDDs
> slow) while RAM was one of the cheapest components in my workstation.
> Got a bit out of fashion when NVMe arrived, but its still often the
> fastest way you can build things.
>
>
> have a nice retirement and may the builds never fail :)
>
> best regards,
> michael
>
>
> On 28.07.21 23:19, Kenneth Fogel wrote:
> > Just for my curiosity I'd like to know how long it takes you to compile
> NB using AdoptOpenJDK-11.0.11+9 and Ant 1.10. I compiled what I found at
> https://github.com/apache/netbeans. Here are my results:
> >
> > System 1:
> > 4th gen i7-4770 @3.4GHz
> > 16 GB RAM
> > 768 GB SSD drive w/ SATA interface
> > 18 minutes
> >
> > System 2 (my retirement present to myself):
> > 11th gen i9-11900 @2.5GHz (increases to 5.0GHz on demand)
> > 32 GB RAM
> > NVMe 1TB drive
> > 11 minutes
> >
> > In both cases the folder where the code was being compiled was excluded
> from the anti-virus software, Windows Security. On system 2 leaving the
> anti-virus turned on for the folder, it added just under 3 minutes. The
> disk access and I/O in general is considered slower in Windows as compared
> to other operating systems. One of those "Everyone knows this" that I'd
> like to prove or disprove.
> >
> > I'd be curious about performance on Linux and on m1 Macs with and
> without anti-virus software running.
> >
> > Thanks,
> >
> > Ken
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> 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: Compile time for NB

Posted by Michael Bien <mb...@gmail.com>.
BUILD SUCCESSFUL
Total time: 6 minutes 4 seconds

on an old i7-6700k (with hyperthreading disabled, otherwise its stock if 
i remember correctly).

However i cheated. I built on a ramdisk and also redirected the console 
output to a file. The NB build prints so much that this alone can be a 
bottleneck on some shells.

Ramdisks are an old habit from back when SSDs were unreliable (and HDDs 
slow) while RAM was one of the cheapest components in my workstation. 
Got a bit out of fashion when NVMe arrived, but its still often the 
fastest way you can build things.


have a nice retirement and may the builds never fail :)

best regards,
michael


On 28.07.21 23:19, Kenneth Fogel wrote:
> Just for my curiosity I'd like to know how long it takes you to compile NB using AdoptOpenJDK-11.0.11+9 and Ant 1.10. I compiled what I found at https://github.com/apache/netbeans. Here are my results:
>
> System 1:
> 4th gen i7-4770 @3.4GHz
> 16 GB RAM
> 768 GB SSD drive w/ SATA interface
> 18 minutes
>
> System 2 (my retirement present to myself):
> 11th gen i9-11900 @2.5GHz (increases to 5.0GHz on demand)
> 32 GB RAM
> NVMe 1TB drive
> 11 minutes
>
> In both cases the folder where the code was being compiled was excluded from the anti-virus software, Windows Security. On system 2 leaving the anti-virus turned on for the folder, it added just under 3 minutes. The disk access and I/O in general is considered slower in Windows as compared to other operating systems. One of those "Everyone knows this" that I'd like to prove or disprove.
>
> I'd be curious about performance on Linux and on m1 Macs with and without anti-virus software running.
>
> Thanks,
>
> Ken
>
>
>
>
>
>
>
>


---------------------------------------------------------------------
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: Compile time for NB

Posted by José Contreras <pe...@gmail.com>.
Hi everyone,

Using AdoptOpenJDK-11.0.11+9 and Ant 1.10.11 I get 5 minutes 4 seconds,
sometimes I get under 5 minutes.

Fedora 34 GNOME
Ryzen 5800X
64GB 3200 Mhz
Samsung 983 ZET 1TB

Regards
José Contreras


El mié, 28 de jul. de 2021 a la(s) 23:33, Ty Young (youngty1997@gmail.com)
escribió:

> FWIW, on:
>
>
> Arch Linux
>
> Ryzen 1800x @ 4ghz (fixed)
>
> 32GB 2933Mhz RAM
>
> Samusng 870 EVO 1TB SSD
>
>
> I get 6 minutes 38 seconds if I'm not doing anything else. No
> anti-virus. I tried setting the nice value to "Very High" but that seems
> to make little difference.
>
>
> On 7/28/21 4:19 PM, Kenneth Fogel wrote:
> > Just for my curiosity I'd like to know how long it takes you to compile
> NB using AdoptOpenJDK-11.0.11+9 and Ant 1.10. I compiled what I found at
> https://github.com/apache/netbeans. Here are my results:
> >
> > System 1:
> > 4th gen i7-4770 @3.4GHz
> > 16 GB RAM
> > 768 GB SSD drive w/ SATA interface
> > 18 minutes
> >
> > System 2 (my retirement present to myself):
> > 11th gen i9-11900 @2.5GHz (increases to 5.0GHz on demand)
> > 32 GB RAM
> > NVMe 1TB drive
> > 11 minutes
> >
> > In both cases the folder where the code was being compiled was excluded
> from the anti-virus software, Windows Security. On system 2 leaving the
> anti-virus turned on for the folder, it added just under 3 minutes. The
> disk access and I/O in general is considered slower in Windows as compared
> to other operating systems. One of those "Everyone knows this" that I'd
> like to prove or disprove.
> >
> > I'd be curious about performance on Linux and on m1 Macs with and
> without anti-virus software running.
> >
> > Thanks,
> >
> > Ken
> >
> >
> >
> >
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> 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: Compile time for NB

Posted by Ty Young <yo...@gmail.com>.
FWIW, on:


Arch Linux

Ryzen 1800x @ 4ghz (fixed)

32GB 2933Mhz RAM

Samusng 870 EVO 1TB SSD


I get 6 minutes 38 seconds if I'm not doing anything else. No 
anti-virus. I tried setting the nice value to "Very High" but that seems 
to make little difference.


On 7/28/21 4:19 PM, Kenneth Fogel wrote:
> Just for my curiosity I'd like to know how long it takes you to compile NB using AdoptOpenJDK-11.0.11+9 and Ant 1.10. I compiled what I found at https://github.com/apache/netbeans. Here are my results:
>
> System 1:
> 4th gen i7-4770 @3.4GHz
> 16 GB RAM
> 768 GB SSD drive w/ SATA interface
> 18 minutes
>
> System 2 (my retirement present to myself):
> 11th gen i9-11900 @2.5GHz (increases to 5.0GHz on demand)
> 32 GB RAM
> NVMe 1TB drive
> 11 minutes
>
> In both cases the folder where the code was being compiled was excluded from the anti-virus software, Windows Security. On system 2 leaving the anti-virus turned on for the folder, it added just under 3 minutes. The disk access and I/O in general is considered slower in Windows as compared to other operating systems. One of those "Everyone knows this" that I'd like to prove or disprove.
>
> I'd be curious about performance on Linux and on m1 Macs with and without anti-virus software running.
>
> Thanks,
>
> Ken
>
>
>
>
>
>
>
>

---------------------------------------------------------------------
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