You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/11/28 17:55:38 UTC

[GitHub] Juice10 commented on a change in pull request #61: Performance boost

Juice10 commented on a change in pull request #61: Performance boost
URL: https://github.com/apache/incubator-openwhisk-runtime-go/pull/61#discussion_r237192968
 
 

 ##########
 File path: examples/benchmark/Makefile
 ##########
 @@ -0,0 +1,23 @@
+IMG?=whisk/actionloop-golang-v1.11
+IMG2?=whisk/actionloop
+
+all: golang bash
+
+test.lua:
+	echo 'wrk.method = "POST"'>test.lua
+	echo "wrk.body = '{\"value\":{\"name\":\"Mike\"}}'">>test.lua
+	echo 'wrk.headers["Content-Type"] = "application/json"'>>test.lua
+
+golang: test.lua
+	docker run -d --name under-test --rm -p 8080:8080 $(IMG)
+	invoke init main.go
 
 Review comment:
   Would be nice to include the `invoke` file/command in this PR

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services