patacongo commented on issue #3799:
URL: 
https://github.com/apache/incubator-nuttx/issues/3799#issuecomment-850666290


   > 
   > 
   > Now that we have the minimal builds for macOS I can look at bringing back 
the Cygwin CI, previously it was super slow and I never got to the bottom of 
that.
   
   Cygwin is slower than Linux for two reasons:  First, the real time virus 
checking that you get with Windows.  When I am am doing lots of builds, I 
normally turn of realtime virus checking during the build.  The speeds thing up 
by maybe 40%
   
   The other reason, which we can't do anything about, is due to the layer of 
simulated POSIX interfaces.  In particular, fork(). All of the GCC build tools 
do lots of forks() but Windows does not support fork() and my understanding is 
that the processing to emulate fork() behavior is slow.  You can see this if 
you make a tight loop in a Bash script and run some do-almost-nothing process 
as fast as you can.  You will find that this is limited to something like 7 
forks per second.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to