by sapiogram · 2y ago · 0 comments
For thread creation, the author of the original post said "somewhere between 10 and 20 microseconds". This matches my own (very simple) benchmarks on my Ubuntu desktop, which was able to create and destroy just over 100k threads/second.
Depending on your use case, using a thread pool could mitigate this cost entirely.
No comments yet.