[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: |
Ming Lei |
Subject: |
Re: [Qemu-devel] [PATCH v1] test-coroutine: test cost introduced by coroutine |
Date: |
Tue, 19 Aug 2014 21:57:08 +0800 |
Hi Guys,
On Wed, Aug 13, 2014 at 6:08 PM, Ming Lei <address@hidden> wrote:
> 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>
Ping...
Thanks,