Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Simon Marlow's avatar
    cbeb99ef
    Basic heap profile support without -prof · cbeb99ef
    Simon Marlow authored
    Now that constructor info tables contain the name of the constructor,
    we can generate useful heap profiles without requiring the whole
    program and libraries to be compiled with -prof.  So now, "+RTS -hT"
    generates a heap profile for any program, dividing the profile by
    constructor.  It wouldn't be hard to add support for grouping
    constructors by module, or to restrict the profile to certain
    constructors/modules/packages.
    
    This means that for the first time we can get heap profiles for GHCi,
    which was previously impossible because the byte-code
    interpreter and linker don't work with -prof.
    cbeb99ef
    History
    Basic heap profile support without -prof
    Simon Marlow authored
    Now that constructor info tables contain the name of the constructor,
    we can generate useful heap profiles without requiring the whole
    program and libraries to be compiled with -prof.  So now, "+RTS -hT"
    generates a heap profile for any program, dividing the profile by
    constructor.  It wouldn't be hard to add support for grouping
    constructors by module, or to restrict the profile to certain
    constructors/modules/packages.
    
    This means that for the first time we can get heap profiles for GHCi,
    which was previously impossible because the byte-code
    interpreter and linker don't work with -prof.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.