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

🐛 BUG: CPU profiling report is vague and doesn't link to source code #7813

Open
Ali-hd opened this issue Jan 18, 2025 · 0 comments
Open
Assignees
Labels
bug Something that isn't working

Comments

@Ali-hd
Copy link

Ali-hd commented Jan 18, 2025

Which Cloudflare product(s) does this pertain to?

Wrangler

What versions are you using?

3.103.2 [Wrangler], 20.17.0 [Node]

What operating system and version are you using?

Windows 11

Please provide a link to a minimal reproduction

No response

Describe the Bug

I basically followed the example here
https://developers.cloudflare.com/workers/observability/dev-tools/cpu-usage/#an-example-profile

create an index.js file
paste the code inside then run wrangler dev index.js
clicked "record", ran the worker in another tab couple time and stopped recording

The results I got were different from the docs I followed above.
There was no mention of the functions addNumbers and moreAddition, it all looks anonymous so I can't tell what part of the code that is.

The screenshots added to the linked guide above also seem to include outdated chrome devtools interface, ex: Profiler tab is no longer there.

Image

Please provide any relevant error logs

No response

@Ali-hd Ali-hd added the bug Something that isn't working label Jan 18, 2025
@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Jan 18, 2025
@Ali-hd Ali-hd changed the title 🐛 BUG: CPU profiling reports no exact files only anonymous 🐛 BUG: CPU profiling report is vague and doesn't link to source code Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that isn't working
Projects
Status: Untriaged
Development

No branches or pull requests

2 participants