Changes between Version 21 and Version 22 of GhciDebugger


Ignore:
Timestamp:
Feb 20, 2007 2:08:44 PM (7 years ago)
Author:
mnislaih
Comment:

Yay! Overhead is down to 2.6x

Legend:

Unmodified
Added
Removed
Modified
  • GhciDebugger

    v21 v22  
    264264== Overhead == 
    265265The instrumentation scheme potentially introduces overhead at two stages: compile-time and run-time. Compile-time overhead is unnoticeable for general programs, although there are no benchmarks available to sustain this claim. Run-time overhead is much more noticeable. 
    266 Run-time overhead has been measured informally to range in between 9x and 25x, depending on the code of the program under consideration.  
     266Run-time overhead has been measured informally to range in between 9x and 25x, depending on the code of the program under consideration.  '''This is no longer true. ''' After extensive benchmarking and tweaking, overhead is down to 166% in average, 560% worst case, measured over the entire nofib suite. 
     267 
    267268 
    268269With an always-on breakpoints scenario in mind, we do a number of things to mitigate this overhead in absence of enabled breakpoints. One of these is to allow a ghc-api client to disable auto breakpoints via the ghc-api functions: