jestjs / jest

Delightful JavaScript Testing.
https://jestjs.io
MIT License
44.28k stars 6.47k forks source link

[Feature]: support NODE_DEBUG #15261

Closed ghost closed 1 month ago

ghost commented 3 months ago

🚀 Feature Proposal

As there are many issues popping up about test execution slowness and other issues, it would be really helpful if one could get a look at how Jest itself performs and what it actually does.

Motivation

  1. It will allow users to check whether Jest itself is slow, some of their test code is slow or a dependency that they are using causing slowness or at least help pointing at something more specific to investigate.
  2. The output would provide Jest developers with hints about where to look at for troubleshooting.

Example

NODE_DEBUG=jest:* jest ...

Pitch

Only the core knows about what is executed internally and when.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] commented 1 month ago

This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.

github-actions[bot] commented 1 month ago

This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.

github-actions[bot] commented 3 days ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.