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

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

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages