4 ms·
OK, but that's irrelevant in this context because Go has to context switch either way.
by pcwalton 10y ago
OK, but that's irrelevant in this context because Go has to context switch either way.
- zeeboo 10y agoIt can also switch on memory allocations and function calls as well. I'd expect a large fraction of the context switches come from those events and don't go through the kernel.