github.com/iainanderson83/datastructures@v0.0.4-0.20191103204413-889e20b53bcf/arrays/benchmark.sh (about)

     1  #!/bin/sh
     2  
     3  go test -bench Slice -count 8 > slice_bench.txt
     4  
     5  go test -bench StructReturn -count 8 > struct_bench.txt
     6  
     7  go test -bench Sprintf -count 8 > sprintf_bench.txt
     8  
     9  go test -bench SliceConversion -count 8 > slice_size_bench.txt