github.com/prattmic/llgo-embedded@v0.0.0-20150820070356-41cfecea0e1e/utils/benchcomp/README (about)

     1  These are some quick and dirty tools for measuring the performance impact
     2  of a change to llgo by sampling the results of running the libgo benchmark
     3  suite. They can be used to calculate the geo-mean and 95% confidence interval
     4  using the Student's t-test. The benchcomp program massages the output of the
     5  Go benchmark tools into a form that can be read by the R program analyze.R
     6  which runs the statistics.
     7  
     8  To use, clpatch this into gofrontend:
     9  https://codereview.appspot.com/103550047/
    10  
    11  then run:
    12  
    13  make
    14  make -C workdir/gofrontend_build/libgo-stage1 bench 2>&1 | tee before.out
    15  # make changes
    16  make
    17  make -C workdir/gofrontend_build/libgo-stage1 bench 2>&1 | tee after.out
    18  utils/benchcomp/benchcomp benchns before.out after.out | R -f utils/benchcomp/analyze.R
    19  
    20  The results should be displayed on stdout.