Skip to content

Add Cadence Computation Profiling Guide#1636

Merged
chasefleming merged 12 commits into
mainfrom
cf/cadence-computation-profiling
Jan 8, 2026
Merged

Add Cadence Computation Profiling Guide#1636
chasefleming merged 12 commits into
mainfrom
cf/cadence-computation-profiling

Conversation

@chasefleming

Copy link
Copy Markdown
Member

No description provided.

@vercel

vercel Bot commented Jan 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
docs Ready Ready Preview, Comment Jan 8, 2026 9:24pm

@turbolent turbolent left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for writing this up! Some small comments, but looks great overall, the step-by-steps instructions and troubleshooting info is very useful 👍

Comment thread docs/build/cadence/advanced-concepts/computation-profiling.md Outdated
Comment thread docs/build/cadence/advanced-concepts/computation-profiling.md Outdated

## Using Source File Pragmas

The `#sourceFile` pragma improves report readability by associating your code with meaningful file paths. Without it, reports show generic identifiers.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if sourceFile pragma is supported when profiling. Maybe it only applies to computation reports? I didn't add explicit support for source file pragmas when implementing profiling, but maybe this already works automatically somehow?

Maybe double check availability, and point out if it only applies to reporting. If it's not supported for profiling yet, let's add it, it looks like a nice feature!

@chasefleming chasefleming Jan 8, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like it only applies to reporting. Good catch. I'll adjust the doc.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When it gets added we can update the doc.

Comment thread docs/build/cadence/advanced-concepts/computation-profiling.md
Co-authored-by: Bastian Müller <bastian@turbolent.com>
@chasefleming
chasefleming merged commit 7a3434c into main Jan 8, 2026
3 checks passed
@chasefleming
chasefleming deleted the cf/cadence-computation-profiling branch January 8, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants