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

soroban-rpc: add heap profiling endpoints #861

Merged
merged 3 commits into from
Aug 21, 2023
Merged

Conversation

tsachiherman
Copy link
Contributor

@tsachiherman tsachiherman commented Aug 15, 2023

What

add heap profiling endpoints

Why

Our existing implementation manually add selected number of endpoints; these are great, but we missed few built-in endpoints that could help monitor heap / profiling.

i.e.

curl  http://localhost:8005/debug/pprof/heap > heap.out
go tool pprof heap.out inuse_spaceTime

Known limitations

n/a

@tsachiherman tsachiherman self-assigned this Aug 15, 2023
@tsachiherman tsachiherman added this to the Soroban Testnet Release milestone Aug 15, 2023
@tsachiherman tsachiherman enabled auto-merge (squash) August 15, 2023 23:17
@tsachiherman tsachiherman merged commit 3f13cd0 into main Aug 21, 2023
19 of 21 checks passed
@tsachiherman tsachiherman deleted the tsachi/heapprofiling branch August 21, 2023 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants