Statistics
| Branch: | Revision:

root / test-coroutine.c @ a22f123c

History | View | Annotate | Download (4.1 kB)

# Date Author Comment
aa7ee42e 08/02/2011 04:53 pm Stefan Hajnoczi

coroutine: add test-coroutine automated tests

To run automated tests for coroutines:

make test-coroutine
./test-coroutine

On success the program terminates with exit status 0. On failure an
error message is written to stderr and the program exits with exit...

5e3840ce 08/02/2011 04:53 pm Stefan Hajnoczi

coroutine: add test-coroutine --benchmark-lifecycle

Add a microbenchmark for coroutine create, enter, and return (aka
lifecycle). This is a useful benchmark because users are expected to
create many coroutines, one per I/O request for example, and we
therefore need to provide good performance in that scenario....