|
@@ -2,6 +2,7 @@
|
|
# Set the root of our go installation
|
|
# Set the root of our go installation
|
|
export GOROOT=${IROOT}/go
|
|
export GOROOT=${IROOT}/go
|
|
export GOPATH=${TROOT}
|
|
export GOPATH=${TROOT}
|
|
|
|
+export GOGC=800
|
|
|
|
|
|
sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/benchmark/conf/app.conf
|
|
sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/benchmark/conf/app.conf
|
|
|
|
|
|
@@ -10,4 +11,4 @@ export PATH="$GOROOT/bin:$PATH"
|
|
|
|
|
|
go get -u github.com/robfig/revel/revel github.com/eaigner/jet
|
|
go get -u github.com/robfig/revel/revel github.com/eaigner/jet
|
|
go build -o bin/revel github.com/robfig/revel/revel
|
|
go build -o bin/revel github.com/robfig/revel/revel
|
|
-bin/revel run benchmark prod &
|
|
|
|
|
|
+bin/revel run benchmark prod &
|