github.com/Accefy/pop@v0.0.0-20230428174248-e9f677eab5b9/bench.sh (about) 1 #!/bin/bash 2 3 set +e 4 5 clear 6 7 echo "postgres" 8 SODA_DIALECT=postgres go test -tags sqlite -bench=. 9 echo "--------------------" 10 echo "mysql" 11 SODA_DIALECT=mysql go test -tags sqlite -bench=. 12 echo "--------------------" 13 echo "sqlite" 14 SODA_DIALECT=sqlite go test -tags sqlite -bench=.