home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 241,694 of 243,242   
   Michael S to Richard Heathfield   
   Re: New and improved version of cdecl   
   30 Oct 25 16:41:49   
   
   From: already5chosen@yahoo.com   
      
   On Thu, 30 Oct 2025 07:45:15 +0000   
   Richard Heathfield  wrote:   
      
   > On 30/10/2025 04:24, Keith Thompson wrote:   
   > > I haven't been using make's "-j" option for most of my builds.   
   > > I'm going to start doing so now (updating my wrapper script).   
   >   
   > Well, let's see, on approximately 10,000 lines of code:   
   >   
   > $ make clean   
   > $time make   
   >   
   > real	0m2.391s   
   > user	0m2.076s   
   > sys	0m0.286s   
   >   
   > $ make clean   
   > $time make -j $(nproc)   
   >   
   > real	0m0.041s   
   > user	0m0.021s   
   > sys	0m0.029s   
   >   
   > That's a reduction in wall clock time of 4 minutes per MLOC to 4   
   > *seconds* per MLOC. I can't deny I'm impressed.   
   >   
      
   Something wrong here.   
   Most likely you compared "cold" build vs "hot" build.   
   Or your 'make clean' failed to clean majority of objects.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca