github.com/cockroachdb/swiss@v0.0.0-20240303172742-c161743eb608/bench.sh (about)

     1  #!/bin/bash
     2  
     3  go test -c
     4  ./swiss.test -test.v -test.run - -test.bench . -test.count 10 -test.benchmem -test.timeout 10h | tee out
     5  grep -v swissMap out | sed 's,/runtimeMap,,g' > out.runtime
     6  grep -v runtimeMap out | sed 's,/swissMap,,g' > out.swiss
     7  benchstat out.runtime out.swiss