Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profiler missing calls #15405

Open
rumblefrog opened this issue Nov 25, 2024 · 2 comments
Open

Profiler missing calls #15405

rumblefrog opened this issue Nov 25, 2024 · 2 comments
Labels
bug Something isn't working needs triage

Comments

@rumblefrog
Copy link

What version of Bun is running?

1.1.36+ededc168c

What platform is your computer?

Darwin 23.5.0 arm64 arm

What steps can reproduce the bug?

Profiling an express application, but there's very little call trace available.

  1. Start a minimal Express application w/ LOG_LEVEL=debug bun --inspect ./server/index.ts
  2. Visit debug.bun.sh, and start recording on timeline
  3. Visit the HTTP server page
  4. Stop recording
  5. Resulting trace shows very little

What is the expected behavior?

Complete call tree

What do you see instead?

Very little call tree available, containing non of the express's functions or user functions

Image

Additional information

No response

@rumblefrog rumblefrog added bug Something isn't working needs triage labels Nov 25, 2024
@rumblefrog
Copy link
Author

Any chance for a version of Bun with debug entitlement that I can throw in XCode Instruments? Would appreciate instructions on that if that's available.

@Jarred-Sumner
Copy link
Collaborator

@rumblefrog you can use the bun-profile build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

2 participants