next.js
1ec61f76 - Remove `execSync` (#51785)

Commit
2 years ago
Remove `execSync` (#51785) Currently we have an `execSync` in the Telemetry class constructor which runs at startup even if it might not be needed. This PR changes it to be non-blocking and makes it lazily loaded. Before: <img width="907" alt="CleanShot 2023-06-25 at 16 33 57@2x" src="https://github.com/vercel/next.js/assets/3676859/b3b1acb6-9968-4a00-9da9-b4b7fa859be3"> Note that all 3 processes (main, app renderer, pages renderer) all have this. After: <img width="956" alt="CleanShot 2023-06-25 at 16 36 52@2x" src="https://github.com/vercel/next.js/assets/3676859/7ef1973b-bdb2-485d-9336-6f67e13bccff">
Author
Parents
Loading