Greetings dear all, My name is Athanasios Kakalis and I'm using NetBeans 8.2 with msys2 toolchain (https://www.msys2.org/) on a Windows 10 desktop PC for writing C and Fortran code.
The specifications of the Windows desktop PC are as follows: Windows 10 Pro 64 bit Intel Core i7-3820 CPU @ 3.60 GHz 8 GB RAM I'm writing this note to report unexpectedly long Build/Clean_Build/Run times for NetBeans project-default programs main.f08, main.c and main.cpp on NetBeans 8.2. For the sake of completeness, I quote the code for the mentioned programs C #include <stdio.h> #include <stdlib.h> int main(int argc, char** argv) { return (EXIT_SUCCESS); } C++ #include <cstdlib> using namespace std; int main(int argc, char** argv) { return 0; } Fortran program prog print *, "Hello World" stop end In NetBeans 8.1 with the minGW toolchain (http://mingw.org/) on a Windows 10 Dell laptop with 4GB RAM, Building/Cleaning_Building/Running main.f08 always took less than 1 second in each case. Suffice to say, less than 1 second in each case, is the time required for Building/Cleaning_Building/Running of main.f08 on a mac book pro (Mojave 10.14) using NetBeans 8.2 with HPC macOS X (http://hpc.sourceforge.net). However, upon migrating to NetBeans 8.2 with minGW toolchain on the mentioned desktop and laptop PCs, the respective times for Building/Cleaning_Building/Running main.f08 soared to 3-4/6-7/5 seconds, respectively. While on NetBeans 8.2, I tried to optimize the mentioned machines with Advanced System Care Free software, but the improvements in the runtimes were momentary and eventually, irreproducible. The situation is the same with NetBeans 8.2 and the msys2 toolchain. In what follows, I lay down the details for Build/Clean_Build/Run for each of C/C++/Fortran "main" on the desktop PC, in which only 66 GB out of the 930 GB hard disk are occupied. Runtimes reported are the best the desktop PC could yield. In Project Properties for C/C++/Fortran, Run has been set up to "Standard Output". C Build main.c cd 'C:\Users\athkakalis\Documents\NetBeansProjects\C_misc' C:\msys64\usr\bin\make.exe -f Makefile CONF=Debug "/C/msys64/usr/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make[1]: Entering directory '/c/Users/athkakalis/Documents/NetBeansProjects/C_misc' "/C/msys64/usr/bin/make.exe" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/c_misc.exe make[2]: Entering directory '/c/Users/athkakalis/Documents/NetBeansProjects/C_misc' make[2]: 'dist/Debug/MinGW-Windows/c_misc.exe' is up to date. make[2]: Leaving directory '/c/Users/athkakalis/Documents/NetBeansProjects/C_misc' make[1]: Leaving directory '/c/Users/athkakalis/Documents/NetBeansProjects/C_misc' BUILD SUCCESSFUL (total time: 4s) C Clean_Build main.c cd 'C:\Users\athkakalis\Documents\NetBeansProjects\C_misc' C:\msys64\usr\bin\make.exe -f Makefile CONF=Debug clean "/C/msys64/usr/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .clean-conf make[1]: Entering directory '/c/Users/athkakalis/Documents/NetBeansProjects/C_misc' rm -f -r build/Debug make[1]: Leaving directory '/c/Users/athkakalis/Documents/NetBeansProjects/C_misc' CLEAN SUCCESSFUL (total time: 3s) cd 'C:\Users\athkakalis\Documents\NetBeansProjects\C_misc' C:\msys64\usr\bin\make.exe -f Makefile CONF=Debug "/C/msys64/usr/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make[1]: Entering directory '/c/Users/athkakalis/Documents/NetBeansProjects/C_misc' "/C/msys64/usr/bin/make.exe" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/c_misc.exe make[2]: Entering directory '/c/Users/athkakalis/Documents/NetBeansProjects/C_misc' mkdir -p build/Debug/MinGW-Windows rm -f "build/Debug/MinGW-Windows/main.o.d" gcc -c -g -std=c11 -MMD -MP -MF "build/Debug/MinGW-Windows/main.o.d" -o build/Debug/MinGW-Windows/main.o main.c mkdir -p dist/Debug/MinGW-Windows gcc -o dist/Debug/MinGW-Windows/c_misc build/Debug/MinGW-Windows/main.o make[2]: Leaving directory '/c/Users/athkakalis/Documents/NetBeansProjects/C_misc' make[1]: Leaving directory '/c/Users/athkakalis/Documents/NetBeansProjects/C_misc' BUILD SUCCESSFUL (total time: 7s) C Run main.c cd 'C:\Users\athkakalis\Documents\NetBeansProjects\C_misc' C:\msys64\usr\bin\make.exe -f Makefile CONF=Debug "/C/msys64/usr/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make[1]: Entering directory '/c/Users/athkakalis/Documents/NetBeansProjects/C_misc' "/C/msys64/usr/bin/make.exe" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/c_misc.exe make[2]: Entering directory '/c/Users/athkakalis/Documents/NetBeansProjects/C_misc' make[2]: 'dist/Debug/MinGW-Windows/c_misc.exe' is up to date. make[2]: Leaving directory '/c/Users/athkakalis/Documents/NetBeansProjects/C_misc' make[1]: Leaving directory '/c/Users/athkakalis/Documents/NetBeansProjects/C_misc' BUILD SUCCESSFUL (total time: 5s) RUN SUCCESSFUL (total time: 125ms) C++ Build main.cpp cd 'C:\Users\athkakalis\Documents\NetBeansProjects\C++_misc' C:\msys64\usr\bin\make.exe -f Makefile CONF=Debug "/C/msys64/usr/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make[1]: Entering directory '/c/Users/athkakalis/Documents/NetBeansProjects/C++_misc' "/C/msys64/usr/bin/make.exe" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/c___misc.exe make[2]: Entering directory '/c/Users/athkakalis/Documents/NetBeansProjects/C++_misc' make[2]: 'dist/Debug/MinGW-Windows/c___misc.exe' is up to date. make[2]: Leaving directory '/c/Users/athkakalis/Documents/NetBeansProjects/C++_misc' make[1]: Leaving directory '/c/Users/athkakalis/Documents/NetBeansProjects/C++_misc' BUILD SUCCESSFUL (total time: 4s) C++ Clean_Build main.cpp cd 'C:\Users\athkakalis\Documents\NetBeansProjects\C++_misc' C:\msys64\usr\bin\make.exe -f Makefile CONF=Debug clean "/C/msys64/usr/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .clean-conf make[1]: Entering directory '/c/Users/athkakalis/Documents/NetBeansProjects/C++_misc' rm -f -r build/Debug make[1]: Leaving directory '/c/Users/athkakalis/Documents/NetBeansProjects/C++_misc' CLEAN SUCCESSFUL (total time: 3s) cd 'C:\Users\athkakalis\Documents\NetBeansProjects\C++_misc' C:\msys64\usr\bin\make.exe -f Makefile CONF=Debug "/C/msys64/usr/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make[1]: Entering directory '/c/Users/athkakalis/Documents/NetBeansProjects/C++_misc' "/C/msys64/usr/bin/make.exe" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/c___misc.exe make[2]: Entering directory '/c/Users/athkakalis/Documents/NetBeansProjects/C++_misc' mkdir -p build/Debug/MinGW-Windows rm -f "build/Debug/MinGW-Windows/main.o.d" g++ -c -g -std=c++14 -MMD -MP -MF "build/Debug/MinGW-Windows/main.o.d" -o build/Debug/MinGW-Windows/main.o main.cpp mkdir -p dist/Debug/MinGW-Windows g++ -o dist/Debug/MinGW-Windows/c___misc build/Debug/MinGW-Windows/main.o make[2]: Leaving directory '/c/Users/athkakalis/Documents/NetBeansProjects/C++_misc' make[1]: Leaving directory '/c/Users/athkakalis/Documents/NetBeansProjects/C++_misc' BUILD SUCCESSFUL (total time: 7s) C++ Run main.cpp cd 'C:\Users\athkakalis\Documents\NetBeansProjects\C++_misc' C:\msys64\usr\bin\make.exe -f Makefile CONF=Debug "/C/msys64/usr/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make[1]: Entering directory '/c/Users/athkakalis/Documents/NetBeansProjects/C++_misc' "/C/msys64/usr/bin/make.exe" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/c___misc.exe make[2]: Entering directory '/c/Users/athkakalis/Documents/NetBeansProjects/C++_misc' make[2]: 'dist/Debug/MinGW-Windows/c___misc.exe' is up to date. make[2]: Leaving directory '/c/Users/athkakalis/Documents/NetBeansProjects/C++_misc' make[1]: Leaving directory '/c/Users/athkakalis/Documents/NetBeansProjects/C++_misc' BUILD SUCCESSFUL (total time: 4s) RUN SUCCESSFUL (total time: 63ms) Fortran Build main.f08 cd 'C:\Users\athkakalis\Documents\NetBeansProjects\Fortran_misc' C:\msys64\usr\bin\make.exe -f Makefile CONF=Debug "/C/msys64/usr/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make[1]: Entering directory '/c/Users/athkakalis/Documents/NetBeansProjects/Fortran_misc' "/C/msys64/usr/bin/make.exe" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/fortran_misc.exe make[2]: Entering directory '/c/Users/athkakalis/Documents/NetBeansProjects/Fortran_misc' make[2]: 'dist/Debug/MinGW-Windows/fortran_misc.exe' is up to date. make[2]: Leaving directory '/c/Users/athkakalis/Documents/NetBeansProjects/Fortran_misc' make[1]: Leaving directory '/c/Users/athkakalis/Documents/NetBeansProjects/Fortran_misc' BUILD SUCCESSFUL (total time: 4s) Fortran Clean_Build main.f08 cd 'C:\Users\athkakalis\Documents\NetBeansProjects\Fortran_misc' C:\msys64\usr\bin\make.exe -f Makefile CONF=Debug clean "/C/msys64/usr/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .clean-conf make[1]: Entering directory '/c/Users/athkakalis/Documents/NetBeansProjects/Fortran_misc' rm -f -r build/Debug rm -f *.mod make[1]: Leaving directory '/c/Users/athkakalis/Documents/NetBeansProjects/Fortran_misc' CLEAN SUCCESSFUL (total time: 4s) cd 'C:\Users\athkakalis\Documents\NetBeansProjects\Fortran_misc' C:\msys64\usr\bin\make.exe -f Makefile CONF=Debug "/C/msys64/usr/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make[1]: Entering directory '/c/Users/athkakalis/Documents/NetBeansProjects/Fortran_misc' "/C/msys64/usr/bin/make.exe" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/fortran_misc.exe make[2]: Entering directory '/c/Users/athkakalis/Documents/NetBeansProjects/Fortran_misc' mkdir -p build/Debug/MinGW-Windows gfortran -c -g -o build/Debug/MinGW-Windows/main.o main.f08 mkdir -p dist/Debug/MinGW-Windows gfortran -o dist/Debug/MinGW-Windows/fortran_misc build/Debug/MinGW-Windows/main.o make[2]: Leaving directory '/c/Users/athkakalis/Documents/NetBeansProjects/Fortran_misc' make[1]: Leaving directory '/c/Users/athkakalis/Documents/NetBeansProjects/Fortran_misc' BUILD SUCCESSFUL (total time: 6s) Fortran Run main.f08 cd 'C:\Users\athkakalis\Documents\NetBeansProjects\Fortran_misc' C:\msys64\usr\bin\make.exe -f Makefile CONF=Debug "/C/msys64/usr/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make[1]: Entering directory '/c/Users/athkakalis/Documents/NetBeansProjects/Fortran_misc' "/C/msys64/usr/bin/make.exe" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/fortran_misc.exe make[2]: Entering directory '/c/Users/athkakalis/Documents/NetBeansProjects/Fortran_misc' make[2]: 'dist/Debug/MinGW-Windows/fortran_misc.exe' is up to date. make[2]: Leaving directory '/c/Users/athkakalis/Documents/NetBeansProjects/Fortran_misc' make[1]: Leaving directory '/c/Users/athkakalis/Documents/NetBeansProjects/Fortran_misc' BUILD SUCCESSFUL (total time: 4s) I have done the same runs with CoolBeans as well and the soared Build/Clean_Build/Run runtimes persist. I hope there's some way for the respective runtimes on Windows 10, to be curtailed back to the NetBeans 8.1 levels. Thanks in advance to any feedback towards my inquiry. Best Regards, Athanasios Kakalis, ChemEng, PhD <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon> Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>