• Sean McGivern's avatar
    Add Gitlab::Profiler for profiling from a console or runner · b16c0080
    Sean McGivern authored
    Gitlab::Profiler.profile takes a URL to profile, and returns the ruby-prof
    profile result.
    
    This is currently only for interactive use (in a console) or from the script
    runner. Note that when using this interactively, changes to the application
    within that console session will be used, so this can be used to test proposed
    performance changes.
    b16c0080
profiler.rb 4.49 KB