Răsfoiți Sursa

edit edap-http config (#6270)

* 初始化edap-http-benchmark的项目

* 修改pom文件以及测试的配置

* 修改端口号,jdk版本以及去掉有问题的plaintext的测试项

* 修改Message启动时初始化为每次请求生成新的对象

* 去掉多余的"s"字符

* 增加plaintext的测试配置

* add edap-http framwork

* cache plaintext's content.

* add edap-http-fast

* 解决docker构建文件编写错误

* 修改测试框架配置

* 增加dockerfile暴露端口的设置

Co-authored-by: louis <[email protected]>
luyongshou 4 ani în urmă
părinte
comite
7a31688409

+ 1 - 1
frameworks/Java/edap-http/benchmark_config.json

@@ -21,7 +21,7 @@
         "notes": "",
         "notes": "",
         "versus": "edap-http"
         "versus": "edap-http"
       },
       },
-      "http-fast":{
+      "fast":{
         "plaintext_url": "/plaintext",
         "plaintext_url": "/plaintext",
         "json_url": "/json",
         "json_url": "/json",
         "port": 8080,
         "port": 8080,

+ 2 - 2
frameworks/Java/edap-http/edap-http-fast.dockerfile

@@ -1,11 +1,11 @@
 FROM maven:3.6.3-openjdk-8-slim as maven
 FROM maven:3.6.3-openjdk-8-slim as maven
-WORKDIR /edap-http-fast
+WORKDIR /edap-http
 COPY pom.xml pom.xml
 COPY pom.xml pom.xml
 COPY src src
 COPY src src
 RUN mvn compile assembly:single -q
 RUN mvn compile assembly:single -q
 
 
 FROM openjdk:8u275-jdk-slim
 FROM openjdk:8u275-jdk-slim
-WORKDIR /edap-http-fast
+WORKDIR /edap-http
 COPY --from=maven /edap-http/target/edap-http-benchmark-1.0-SNAPSHOT-jar-with-dependencies.jar app.jar
 COPY --from=maven /edap-http/target/edap-http-benchmark-1.0-SNAPSHOT-jar-with-dependencies.jar app.jar
 
 
 EXPOSE 8080
 EXPOSE 8080