Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 479 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 479 Bytes

Alloc Profile Parser

Usage

1. Gather Profile

Using Julia on this branch:

GC.start_alloc_profile(100_000)

# code you wanna profile

file = open("my-profile.json", "w")
GC.stop_and_write_alloc_profile(file)

2. Parse & Visualize

prof = AllocProfileParser.parse_alloc_profile("my-profile.json")
AllocProfileParser.to_pprof(prof)

You should see something like:

PProf