LibPQ.jl icon indicating copy to clipboard operation
LibPQ.jl copied to clipboard

`LibPQ`.`async_execute`'s overhead is around 3ms

Open pankgeorg opened this issue 2 years ago • 2 comments

image

According to the Profile.jl, that's mostly completely spent at file watching (which is very sad and probably a FileWatching.jl issue)

pankgeorg avatar Sep 03 '23 17:09 pankgeorg

This is actually consistent with python's psycopg/asyncio, so I guess that's the cost of doing async 🤷🏾 image

pankgeorg avatar Sep 04 '23 20:09 pankgeorg

Can you test with psycopg3? I'm curious whether they have addressed this.

iamed2 avatar Sep 05 '23 15:09 iamed2