Skip to content

feat: add GHC profiling infrastructure via Nix#282

Draft
cgeorgii wants to merge 3 commits intomainfrom
feat/profiling
Draft

feat: add GHC profiling infrastructure via Nix#282
cgeorgii wants to merge 3 commits intomainfrom
feat/profiling

Conversation

@cgeorgii
Copy link
Member

  • nix run .#profiling
  • nix run .#visualize-heap

@cgeorgii cgeorgii force-pushed the feat/profiling branch 3 times, most recently from 7f2b109 to 8ce60c0 Compare March 6, 2026 13:18
cgeorgii added 3 commits March 9, 2026 10:35
Adds hoard_peer_connection_establishment_seconds histogram, observed
on the first KeepAlive ping per peer (Connecting → Connected transition).
Uses the existing connectedAt timestamp from Connection to measure from
connection slot creation through protocol startup.
Add complete profiling setup with:
- Separate profiling build with all-functions detail
- Helper scripts for heap, time, allocation, and eventlog profiling
- Visualization tools (hp2ps, PDF generation)
- Gitignore updates for profiling artifacts (.aux, .ps)
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