Closed szunami closed 4 years ago
Eh, based on https://raw.githubusercontent.com/szunami/flamegraph-example/main/flamegraph.svg it is not obvious that lock contention is a real issue.
Parallel stuff is still worth, could be more worth
I currently believe that lock contention is not the issue, but actually CPU starving.
Consider N queues, one per thread, where each output goes to a randomly assigned queue