RobertCraigie / prisma-client-py

Prisma Client Python is an auto-generated and fully type-safe database client designed for ease of use
https://prisma-client-py.readthedocs.io
Apache License 2.0
1.8k stars 76 forks source link

Provide performance benchmarks #218

Open RobertCraigie opened 2 years ago

RobertCraigie commented 2 years ago

Currently our performance will not stack up well with other Python ORMs, however we can't work on improving performance without having a baseline to work from.

We should also provide context for these benchmarks by also benchmarking other ORMs. We should include:

We could also base the benchmarks on these benchmarks: https://github.com/tortoise/orm-benchmarks

RobertCraigie commented 2 years ago

We could probably make use of: https://github.com/psf/pyperf

RobertCraigie commented 2 years ago

We should also benchmark using a mocked engine to make it easier to identify what performance improvements we can make and what improvements must be made on the Prisma side.

RobertCraigie commented 2 years ago

We could also consider using asv.