Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 742 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 742 Bytes

GoAT: Go Allocation Trace

This repository provides libraries and CLI tools for manipulating experimental Go allocation traces.

Generating an allocation trace

  1. Apply CL 228817 to your Go tree.
  2. Add calls in your application to export the trace (API).
    • For exporting the trace locally, opening a file and writing to disk is generally sufficient.
  3. Run your application with GOALLOCTRACE=1.

Available CLI Tools

  • goat-check: Sanity checks and optionally prints an allocation trace.

More coming soon.

Future work

  • Add simulation library and tools.
  • Add visualization library and tools.