Skip to content
This repository has been archived by the owner on Dec 23, 2022. It is now read-only.

jetbridge/prisma-bundle-size

Repository files navigation

Prisma lambda cold start profiling

How to reproduce:

  • Configure AWS credentials
  • npm run deploy

Output will be:

Stack temp-prisma-client-repro-my-stack
  Status: deployed
  Outputs:
    ApiEndpoint: https://3ve1rtcjv4.execute-api.us-east-1.amazonaws.com
  • time curl https://3ve1rtcjv4.execute-api.us-east-1.amazonaws.com/no-prisma

  • time curl https://3ve1rtcjv4.execute-api.us-east-1.amazonaws.com/prisma

  • To view precise timing details visit the AWS x-ray console and look at the function traces, specifically the "Initialization" segments:

xray

About

Prisma generated client bundling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published