Commits
Click on a commit to change the comparison rangeperf(client): Pre-index DMMF datamodel during generation
In the constructor, we spend some time indexing all models and types
by their name, which on a larger schemas has an impact on startup
performance. This PR replaces base-dmmf with a set of 3 pre-indexed
maps.
For backward compatibility, `Prisma.dmmf` export will be lazily computed
using runtime datamodel if requested.
Close prisma/client-planning#321 perf(client): Pre-index DMMF datamodel during generation
In the constructor, we spend some time indexing all models and types
by their name, which on a larger schemas has an impact on startup
performance. This PR replaces base-dmmf with a set of 3 pre-indexed
maps.
For backward compatibility, `Prisma.dmmf` export will be lazily computed
using runtime datamodel if requested.
Close prisma/client-planning#321 perf(client): Pre-index DMMF datamodel during generation
In the constructor, we spend some time indexing all models and types
by their name, which on a larger schemas has an impact on startup
performance. This PR replaces base-dmmf with a set of 3 pre-indexed
maps.
For backward compatibility, `Prisma.dmmf` export will be lazily computed
using runtime datamodel if requested.
Close prisma/client-planning#321 perf(client): Pre-index DMMF datamodel during generation
In the constructor, we spend some time indexing all models and types
by their name, which on a larger schemas has an impact on startup
performance. This PR replaces base-dmmf with a set of 3 pre-indexed
maps.
For backward compatibility, `Prisma.dmmf` export will be lazily computed
using runtime datamodel if requested.
Close prisma/client-planning#321