Skip to content

Add server profiling #2875

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

Merged
merged 1 commit into from
Jul 4, 2025
Merged

Add server profiling #2875

merged 1 commit into from
Jul 4, 2025

Conversation

r4victor
Copy link
Collaborator

@r4victor r4victor commented Jul 4, 2025

The PR allows profiling server endpoints with pyinstrument by setting DSTACK_SERVER_PROFILING_ENABLED and passing ?profile=1 to requests.

@r4victor r4victor merged commit f5c8fcf into master Jul 4, 2025
25 checks passed
@r4victor r4victor deleted the pr_profiling branch July 4, 2025 07:28
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.

1 participant