Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Flag for Garbage Collection Statistics #428

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

acondolu
Copy link
Contributor

@acondolu acondolu commented Jan 21, 2020

This PR adds to ahc-link the new flag --gc-stats which enables the gathering of basic statistics about garbage collection.

This flag (similar to the -s flag in GHC) displays the following information:

  • Time spent in the RTS initialisation
  • Time spent in the mutator
  • Time spent in garbage collection
  • Total elapsed time
  • The percentage of GC time vs Total time
  • The number of GCs
  • The number of canceled GCs, e.g. due to yolo mode
  • The total number of bytes copied due to evacuation
  • The total number of MBlocks allocated
  • The maximum size of requested Wasm memory

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant