-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi, very insteresting library!
Do you have any benchmark to calculate the overhead for async and for sync functions using the decorator?
Something like:
def sync_func(): pass
async def async_func(): pass
@async_to_sync_wraps
async def wrapped_async_func(): passtimeit sync_func()
timeit await async_func()
timeit wrapped_async_func()
timeit await wrapped_async_func()Metadata
Metadata
Assignees
Labels
No labels