You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Profiling using py-spy is showing that psycopg is now nice and fast when it can stay down in the C level, but resurfacing back in Python has a visible impact.
Rewriting the whole classes in Cython would address the problem, but it's quite a major work.
Mypyc might fill the gap, making a good use of the extensive type annotations of the psycopg codebase.
The text was updated successfully, but these errors were encountered:
Note that cython can also compile pure python code for a moderate performance advantage. See for example falcon
I'm not sure how it compares with mypyc however wrt performance
Profiling using py-spy is showing that psycopg is now nice and fast when it can stay down in the C level, but resurfacing back in Python has a visible impact.
Rewriting the whole classes in Cython would address the problem, but it's quite a major work.
Mypyc might fill the gap, making a good use of the extensive type annotations of the psycopg codebase.
The text was updated successfully, but these errors were encountered: