• Nimrod Gilboa Markevich's avatar
    Add profiling tools (#1087) · ab38f4c0
    Nimrod Gilboa Markevich authored
    * Add gin-contrib/pprof dependency
    
    * Run pprof server on agent with --profiler flag
    
    * Add --profiler flag to cli
    
    * Fix error message
    
    * Print cpu usage percentage
    
    * measure cpu of current pid instead of globaly on the system
    
    * Add scripts to plot performance
    
    * Plot packetsCount in analysis
    
    * Concat to DataFrame
    
    * Plot in turbo colorscheme
    
    * Make COLORMAP const
    
    * Fix rss units
    
    * Reduce code repetition by adding function for plotting
    
    * Allow grouping based on filenames
    
    * Temporary: Marked with comments where to disable code for experiments
    
    * Add newline at end of file
    
    * Add tap.cpuprofile flag. Change memprofile flag to tap.memprofile
    
    * create tapper modes for debugging using env vars
    
    * Fix rss plot units (MB instead of bytes)
    
    * Remove comment
    
    * Add info to plot script
    
    * Remove tap.cpumemprofile. Rename tap.memprofile to memprofile
    
    * Remove unused import
    
    * Remove whitespaces
    
    Co-authored-by: M. Mert Yıldıran ...
    ab38f4c0