[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1] test-coroutine: test cost introduced by coro
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH v1] test-coroutine: test cost introduced by coroutine |
Date: |
Tue, 19 Aug 2014 16:13:34 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 13.08.2014 um 12:08 hat Ming Lei geschrieben:
> This test runs dummy function with coroutine by using
> two enter and one yield since which is a common usage.
>
> So we can see the cost introduced by corouting for running
> one function, for example:
>
> Run operation 20000000 iterations 4.841071 s, 4131K operations/s
> 242ns per coroutine
>
> Signed-off-by: Ming Lei <address@hidden>
Thanks, applied to the block branch.
Kevin