evio/benchmarks/bench.sh

15 lines
306 B
Bash
Raw Normal View History

2017-11-03 04:31:36 +03:00
#!/bin/bash
2017-11-04 02:39:28 +03:00
set -e
2017-11-03 04:31:36 +03:00
cd $(dirname "${BASH_SOURCE[0]}")
2017-11-04 02:39:28 +03:00
mkdir -p out/
./bench-http.sh 2>&1 | tee out/http.txt
./bench-echo.sh 2>&1 | tee out/echo.txt
./bench-redis.sh 1 2>&1 | tee out/redis1.txt
./bench-redis.sh 8 2>&1 | tee out/redis8.txt
./bench-redis.sh 16 2>&1 | tee out/redis16.txt
go run analyze.go