4 ms·
But the 1ms number is also measured with strace. Plus, the article is in 2015, and the author did not mention the CPU and other configuration. So that also mak
by justicezyx 5y ago
But the 1ms number is also measured with strace.
Plus, the article is in 2015, and the author did not mention the CPU and other configuration. So that also make things muddy.
- cozzyd 5y agoYes, but if there are almost no syscalls, then strace is doing a lot less. Profiling my trivial program with callgrind shows (unsurprisingly) that the majority of the time is in dynamic library relocation and whatever __GI__tunables_init does: https://i.imgur.com/Yligh7S.png https://i.imgur.com/Yligh7S.png