History | View | Annotate | Download (4.7 kB)
test-coroutine: add performance test for nesting
The performance test will also check for nesting. It will doa certain quantity of cycles, and each of one will do a depthnesting process.
This is useful for benchmarking the creation of coroutines,given that nesting is creation-intensive (and the other perf...
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 anerror message is written to stderr and the program exits with exit...
coroutine: add test-coroutine --benchmark-lifecycle
Add a microbenchmark for coroutine create, enter, and return (akalifecycle). This is a useful benchmark because users are expected tocreate many coroutines, one per I/O request for example, and wetherefore need to provide good performance in that scenario....