HomePhabricator
Diffusion Comm 35ad12958bf9

[keyserver] Introduce `yarn profile-prod` to `keyserver`

Tags
None
Referenced Files
F776663: ac7655.png
Sep 27 2023, 10:04 AM
File Not Attached
Subscribers
None

Description

[keyserver] Introduce yarn profile-prod to keyserver

Summary:
Introduce yarn profile-prod to keyserver which mirrors yarn prod (AKA will need to run yarn babel-build prior to running. Introducing yarn profile-dev is a bit more involved, and I'm not fully convinced is fully necessary.. but this works right now.


Depends on D9301

Test Plan:

  1. yarn prod in web and landing
  2. yarn babel-build && yarn profile-prod
  3. CTRL-C to end profiling session
  4. Here's the flamegraph:

ac7655.png (2×3 px, 392 KB)

Reviewers: ashoat, ginsu, tomek, rohan

Reviewed By: ashoat

Differential Revision: https://phab.comm.dev/D9302

Details

Provenance
atulAuthored on Sep 27 2023, 9:56 AM
Reviewer
ashoat
Differential Revision
D9302: [keyserver] Introduce `yarn profile-prod` to `keyserver`
Parents
rCOMM851d1f97c684: [keyserver] Add `$KEYSERVER_PROFILING_ENABLED` to toggle `node:cluster`
Branches
Unknown
Tags
Unknown