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,687 of 243,242   
   Richard Heathfield to Keith Thompson   
   Re: New and improved version of cdecl   
   30 Oct 25 07:45:15   
   
   From: rjh@cpax.org.uk   
      
   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.   
      
   --   
   Richard Heathfield   
   Email: rjh at cpax dot org dot uk   
   "Usenet is a strange place" - dmr 29 July 1999   
   Sig line 4 vacant - apply within   
      
   --- 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