From 7502daa751b9be646dc2aa7fffd301a1a54c2c73 Mon Sep 17 00:00:00 2001 From: Tomas Aparicio Date: Sun, 18 Dec 2016 15:03:36 +0000 Subject: [PATCH] feat(version): bump to 0.1.29 --- History.md | 6 ++++++ benchmark.sh | 8 ++++---- version.go | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/History.md b/History.md index ca3fa21..721503d 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,9 @@ +## 0.1.29 / 2016-12-18 + +* feat(max-allowed-size): add new option max-allowed-size in bytes +* fix(max-allowed-size): HEAD response handling +- fix(usage): correct help message of 'allowed-origins' + ## 0.1.28 / 01-10-2016 - feat(#95): use `libvips@8.4.1`. diff --git a/benchmark.sh b/benchmark.sh index a017f1c..8a2c6e2 100755 --- a/benchmark.sh +++ b/benchmark.sh @@ -16,8 +16,8 @@ pid=$! suite() { echo "$1 --------------------------------------" echo "POST http://localhost:$port/$2" | vegeta attack \ - -duration=10s \ - -rate=20 \ + -duration=30s \ + -rate=50 \ -body="./fixtures/large.jpg" \ | vegeta report sleep 1 } @@ -25,8 +25,8 @@ suite() { # Run suites suite "Crop" "crop?width=800&height=600" suite "Resize" "resize?width=200" -suite "Rotate" "rotate?rotate=180" -suite "Enlarge" "enlarge?width=1600&height=1200" +#suite "Rotate" "rotate?rotate=180" +#suite "Enlarge" "enlarge?width=1600&height=1200" suite "Extract" "extract?top=50&left=50&areawidth=200&areaheight=200" # Kill the server diff --git a/version.go b/version.go index 4e6155e..d272933 100644 --- a/version.go +++ b/version.go @@ -2,7 +2,7 @@ package main import "gopkg.in/h2non/bimg.v1" -const Version = "0.1.28" +const Version = "0.1.29" type Versions struct { ImaginaryVersion string `json:"imaginary"`