github.com/zhangyunhao116/fastrand@v0.4.0/.benchok.yml (about)

     1  base:
     2    file: "base.txt"
     3    beforerun: "rm -f -- base.txt"
     4    run: "go test -run=NOTEST -bench=. -count=5 > base.txt"
     5    maxrun: 3
     6    maxerr: 5
     7  
     8  cmp:
     9    file: "latest.txt"
    10    beforerun: "rm -f -- latest.txt"
    11    run: "go test -run=NOTEST -bench=. -count=5 > latest.txt"
    12    afterrun: "benchstat base.txt latest.txt"
    13    maxrun: 3
    14    maxerr: 5
    15  
    16  release:
    17    file: "r0.txt"
    18    beforerun: "rm -f -- r0.txt && rm -f -- r1.txt"
    19    run: "env BENCHMARK_TARGET=std go test -run=NOTEST -bench=. -count=5 -timeout=60m > r0.txt && go test -run=NOTEST -bench=. -count=5 -timeout=60m > r1.txt"
    20    afterrun: "benchstat r0.txt r1.txt"
    21    maxrun: 1
    22    maxerr: 100