You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/08/05 09:10:33 UTC

[GitHub] [dubbo-benchmark] CoolIceV opened a new pull request, #15: Add dubbogo benchmark

CoolIceV opened a new pull request, #15:
URL: https://github.com/apache/dubbo-benchmark/pull/15

   benchmark for dubbogo


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-benchmark] Lvnszn commented on pull request #15: Add dubbogo benchmark

Posted by GitBox <gi...@apache.org>.
Lvnszn commented on PR #15:
URL: https://github.com/apache/dubbo-benchmark/pull/15#issuecomment-1207763614

   配置文件可以都留一行空行。会好一些,如下
   
   ![image](https://user-images.githubusercontent.com/12541438/183362792-e87cf5e5-9549-448f-b13f-ae219bc0c09c.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-benchmark] Lvnszn commented on a diff in pull request #15: Add dubbogo benchmark

Posted by GitBox <gi...@apache.org>.
Lvnszn commented on code in PR #15:
URL: https://github.com/apache/dubbo-benchmark/pull/15#discussion_r939893409


##########
benchmark-go.sh:
##########
@@ -0,0 +1,39 @@
+#!/usr/bin/env bash
+
+usage() {
+    echo "Usage: ${PROGRAM_NAME} command dirname"
+    echo "         -h help"
+    echo "dirname: test module name"
+}
+
+run() {
+    if [ -d "${PROJECT_DIR}" ]; then
+        go mod tidy
+        export DUBBO_GO_CONFIG_PATH=${PROJECT_DIR}/conf/dubbogo.yaml
+        CMD="go run ${PROJECT_DIR}/main.go ${ARGS}"
+        echo "command is: ${CMD}"
+        ${CMD}
+    fi
+}
+
+PROGRAM_NAME=$0
+ARGS=""
+
+
+PROJECT_DIR=$1
+shift
+if [ ! -d "${PROJECT_DIR}" ]; then
+    usage
+    exit 0
+fi
+
+ARGS=$@
+
+
+run
+
+
+
+
+
+

Review Comment:
   这块其实可以删



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-benchmark] AlexStocks merged pull request #15: Add dubbogo benchmark

Posted by GitBox <gi...@apache.org>.
AlexStocks merged PR #15:
URL: https://github.com/apache/dubbo-benchmark/pull/15


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org