Comparing performance of a task queued to an existing thread vs. new thread for each task.
|作者||Eric Hopper <hopper@omni...>|
Add a README to explain what this is about.
|@@ -0,0 +1,9 @@|
|1||+A simple little program to test various ways to call functions to see how much|
|2||+overhead they introduce.|
|4||+One way is to have a worker thread and communicate to it with a queue. For this|
|5||+I use the lock-free queue implementation from|
|8||+I include that as an hg subrepo using a git+https url, so you will need the|
|9||+hg-git extension to check it out.|