I have since long suffered from long startup times when building with SCons. On my old work laptop, it could take up to 60 seconds to just build the most fundamental hello world
The solution here, according to the chat, was to disable the Antivirus software running on the machine.
With this, the SCons startup time went from 40 to 2 seconds. Also significant performance improvement in other areas could be noticed.