CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2014
    Location
    Tel-Aviv
    Posts
    12

    How long is your build?

    Developers are spending more and more time of their days compiling.
    How long is your build?

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: How long is your build?

    Is it kinda survey?
    Victor Nijegorodov

  3. #3
    Join Date
    Oct 2014
    Location
    Tel-Aviv
    Posts
    12

    Re: How long is your build?

    yes

  4. #4
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,635

    Re: How long is your build?

    Quote Originally Posted by Incredibuild View Post
    Developers are spending more and more time of their days compiling.
    How long is your build?
    We are? I would think as hardware becomes faster and multi-core processors are everywhere, we'd be spending less time compiling. How long a build takes depends on what I'm building and what language I'm working in.

  5. #5
    Join Date
    Jul 2002
    Posts
    2,543

    Re: How long is your build?

    7 min 16 sec 34 ms

  6. #6
    Join Date
    Apr 2000
    Location
    Belgium (Europe)
    Posts
    4,626

    Re: How long is your build?

    Since moving to the new and faster build machine.
    13 hours give or take for a complete regenerate and rebuild. (it used to be more than a day).
    5 hours for a rebuild without regen.
    10mins for a typical daily dev build.
    A minute or so for the normal change code/debug type cycle.

  7. #7
    Join Date
    Jun 2002
    Location
    Stockholm, Sweden
    Posts
    1,641

    Re: How long is your build?

    13 hours... whoa. An operating system?

    I really hope you guys enable the the /MP compiler option.
    It used to have a lot of bugs, but multithreaded compilation is pure win with later versions of VS.
    Nobody cares how it works as long as it works

  8. #8
    Join Date
    Apr 2000
    Location
    Belgium (Europe)
    Posts
    4,626

    Re: How long is your build?

    No, the regenerate is creating .cpp and .h files for internal data tables and the code for the solid state machine to process them. It basically has nothing to do with "compiling" other than that it spits out code that needs to be compiled. A preprocessor of sorts if you want to view it that way.

    It's a "hardcoded" optimization process whereby we generate all possible decisions into tables so that each decision making step is just a handfull of instructions rather than a lot of complex calculations.
    Once generated, it comes out at about 1420Mb worth of sources that gets compiled into static arrays totalling about 470Mb.
    Compiling those takes the compiler a while (the bigger part of the 5hours) but only needs to happen once (until they change, which isn't frequent). actual code we work on regularly is fairly limited hence the 10min 'normal dev build' time.

    NDA's mean I can't say much about it, but it's related to avionics.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured