Comparing performance of a task queued to an existing thread vs. new thread for each task.
Rev. | Tiempo | Autor | Mensaje RSS |
6fda31d7 | 2017-11-28 10:53:14 | Eric Hopper | I'm wrong. You don't need hg-git after all. Back it out. |
5fc438bf | 2017-11-28 10:50:55 | Eric Hopper | Mentioning needing hg-git in README. |
be5c4a1b | 2017-09-01 03:07:52 | Eric Hopper | Make magnitude of numbers more easily compared by setting... |
409f9b96 | 2017-06-03 09:47:40 | Eric Hopper | Add in system for selecting subset of tests. |
76283aa8 | 2017-06-03 09:47:21 | Eric Hopper | auto return type not supported for lambda in C++11. |
55a9fdf1 | 2017-04-04 08:49:33 | Eric Hopper | Put instructions on how to run in README.md |
4c237678 | 2017-04-04 08:45:36 | Eric Hopper | Added a Makefile so people could just run make to get res... |
38cf800e | 2017-04-04 06:12:29 | Eric Hopper | Use git repo directly instead of through hg-git. |
e809e706 | 2017-03-24 06:22:53 | Eric Hopper | Add a README to explain what this is about. |
61272ca0 | 2017-03-24 06:15:58 | Eric Hopper | Ignore what I've currently called the executable. |
A simple little program to test various ways to call functions to see how much overhead they introduce.
One way is to have a worker thread and communicate to it with a queue. For this I use the lock-free queue implementation from https://github.com/cameron314/readerwriterqueue.
This is a git subrepo, so you will also need git to check it out.
To run this on a system with make and a program that calls itself g++ and
accepts g++ flags, just type make
.
Welcome to OSDN Wiki system. Here is your chamber Wiki space.
Check Wiki Guide (English) to refer syntax and functions.
[PageInfo]
(auto generated page)
[Permissions]
view:all, edit:admins, delete/config:admins