@Gadget (Gadget) posted a new topic, subject "Build times question. IWYU makes much difference?". It read:

   Hi again all. I am quite new to Unreal but have used Unity for a few years here and there. I was surprised by the length of waits for Builds. Whether packaging the finished app, or just compiing lighting or the game code, it takes much longer than with C#. Well I am not an expert C++ at all so I take this as just a fact of the engine/language for now.
    
    But when watching Ben's Battle Tank video, I have noticed his builds seem way faster than mine, even though it seems he is on old Unreal and not using IWYU.
    
    I might be wrong, but i think he was using a very similar spec machine to me. I think he mentioned he had 4 series i7. I have 4790k. (I also have 6GB 1060 GTX and 32GB DDR 1600 RAM)
    
    Does SSD speed affect build time much. I already am using an NVMe drive but it is Intel 660p or something, and I saw on Youtube that apparently my SSD is fairly slow.

After which, @DanM (Daniel Marshall) added

    What times are you getting? And are you sure the compiliation hasn't just been cut from the video?

@Gadget (Gadget) replied

    I don't know exactly how to check my build times. But quite often it feels a lot slower than in the videos. It's probably nothing, ignore me really lol. I was just wondering if buying new hardware was worth it (although I had hoped my current rig would serve me for much longer :D)

@DanM (Daniel Marshall) replied

    Window > Developer Tools > Message Log > Compiler Log.
    
    Unreal is weird, sometimes I have better compile times doing a full rebuild

To which @QueueButton replied

    DanM:
    
    > Unreal is weird, sometimes I have better compile times doing a full rebuild
    
    Buggy == weird lol
    
    Gadget:
    
    > Does SSD speed affect build time much. I already am using an NVMe drive but it is Intel 660p or something, and I saw on Youtube that apparently my SSD is fairly slow.
    
    NVMe VS SSD will not be much different for most people. I don't know about here but I would think still in this situation not much different.
    
    I have UE4 installed to HDD and its fine to me but I'm not comparing build times nor do I care. The software, drivers, BIOS, and other applications running can all cause build times to be different as well. Its not just hardware.
    
    NVMe also can suffer from heat slowdowns, SSDs can suffer slowdowns at < 50% free space, SSDs and NVMe and if TRIM is being done, etc so there's additional reasons.
    
    Even identical hardware will generally not perform exactly the same and varies as a result.
    
    Perhaps you should just be happy that it builds and works. That is what really counts anyway.
    
    By the way, IWYU helps to speed up build times but slows down working in code because of having to look up stuff. It a win lose situation. They feel the win is more worth it. There are ways around that such as a pay for 3rd party plugin but its really Epic that should be responsible for getting their own stuff working correctly.

@Gadget (Gadget) replied

    Lol yeah i am happy that it builds and works. It's just that as a novice who is pressing ‘Build' every 30 seconds to ensure my code didn't break anything, if I can speed up my compile times by 25% that might have justified a hardware upgrade 
    
    Anyway meanwhile I have decided my existing computer is more than adequate.
    
    Also, I prefer the IWYU methodology really. I kinda feel one day there will be a plugin for VS or something that can just do it for us. Really it's not a huge database of headers that the system needs to realise which one I am typing, maybe there is a way some genius can automate it. After all #using gets populated automatically in other languages.
    
    I'm hoping to finish off the tank series in the next day or two. Sadly to be honest, I'm not overly impressed with the end result of the game, but I have learnt a lot from the project so cannot complain overall.
    
    Thanks for all the responses.

@system (system) replied

    

Then @DanM (Daniel Marshall) said

    


{'source': 'discourse', 'url': 'https://community.gamedev.tv/t/build-times-question-iwyu-makes-much-difference/122281', 'title': 'Build times question. IWYU makes much difference?', 'views': 163, 'has_accepted_answer': False, 'word_count': 712, 'like_count': 2, 'reply_count': 4, 'participant_count': 3, 'posts': 8, 'tags': '', 'author': '@Gadget (Gadget)', 'participants': '@Gadget (Gadget), @DanM (Daniel Marshall), @QueueButton, @system (system)', 'image_url': [None], 'created_at': '2020-01-30T14:11:46.999Z', 'last_posted_at': '2020-04-25T08:32:03.740Z'}