-
-
Maybe the issue is "tiny" C++ source files including 5000 headers?
-
Compiling involves a lot of files being read and written. Every file access is a syscall.
-
The number of files and reads (several kb each due to buffering) should be massively dominated by AST transformations.
End of conversation
New conversation -
-
-
Here's a make/g++ example using PowerDNS recursor source code: https://gist.github.com/terrorobe/c8bee5a1353c80f16778d5c69b332e9e … ; close to a million syscalls.
-
That strace shows that, out of a 122.8 second job, syscalls took less than 100 ms. Make them 5x slower and the build time goes from 122.8 second to 123.3 seconds. Not significant.
- 1 more reply
New conversation -
-
-
It's half and half Rich.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.