https://issues.dlang.org/show_bug.cgi?id=16019
Issue ID: 16019 Summary: Implement a way to check GC usage stats from application Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: druntime Assignee: nob...@puremagic.com Reporter: pub...@dicebot.lv The last remaining difference between our internal D2 compiler and vanilla 2.070 is addition of small stats function to runtime: void gc_usage ( ref size_t used, ref size_t available ); We use it for two main cases: 1) verify GC usage of library utilities 2) doing live reporting of app performance in quick info console Martin Nowak told it should be relatively easy to provide one (or similar) based on existing internal stat system, thus exposing the enhancement request to outer world. --