cloudflare / cloudflare/workers-sdk
🐛 BUG: CPU profiling report is vague and doesn't link to source code
- Dominant language
- TypeScript
- Stars
- 4.5k
- Forks
- 1.5k
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 187
Description
### 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.

### Please provide any relevant error logs
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.