Skip to content

Simplify quick profiling#2404

Merged
andrewbranch merged 1 commit intomicrosoft:mainfrom
andrewbranch:quick-pprof
Dec 17, 2025
Merged

Simplify quick profiling#2404
andrewbranch merged 1 commit intomicrosoft:mainfrom
andrewbranch:quick-pprof

Conversation

@andrewbranch
Copy link
Copy Markdown
Member

I found myself typing out the absolute path to the repo frequently when profiling auto-imports. If nobody else thinks this is useful, we can close, but I would use it all the time.

Copilot AI review requested due to automatic review settings December 17, 2025 20:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a convenience function for profiling that automatically uses the repository's pprof directory, eliminating the need to manually specify the full path when profiling operations like auto-imports.

Key changes:

  • Adds ProfileInPprofDir() convenience function that profiles to <repo-root>/pprof directory

Copy link
Copy Markdown
Member

@jakebailey jakebailey left a comment

Choose a reason for hiding this comment

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

I don't see why not

@andrewbranch andrewbranch added this pull request to the merge queue Dec 17, 2025
Merged via the queue into microsoft:main with commit c15e764 Dec 17, 2025
28 checks passed
@andrewbranch andrewbranch deleted the quick-pprof branch December 17, 2025 20:30
jakebailey added a commit that referenced this pull request Dec 18, 2025
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