OSDN Git Service

test-coroutine: add performance test for nesting
authorAlex Barcelo <abarcelo@ac.upc.edu>
Thu, 16 Feb 2012 12:14:06 +0000 (13:14 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 12 Mar 2012 14:14:08 +0000 (15:14 +0100)
commit7e849a9919aac147a768a775014f2eff98e44323
treef39d37cc08e7af101ff1cd09f4424b8a6aea78e7
parentfe91bfa8a26832cc07a6b74b8decfb687499caee
test-coroutine: add performance test for nesting

The performance test will also check for nesting. It will do
a certain quantity of cycles, and each of one will do a depth
nesting process.

This is useful for benchmarking the creation of coroutines,
given that nesting is creation-intensive (and the other perf
test does not benchmark that).

Signed-off-by: Alex Barcelo <abarcelo@ac.upc.edu>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
test-coroutine.c