소스 검색

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 년 전
부모
커밋
7a31688409
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      frameworks/Java/edap-http/benchmark_config.json
  2. 2 2
      frameworks/Java/edap-http/edap-http-fast.dockerfile

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

@@ -21,7 +21,7 @@
         "notes": "",
         "versus": "edap-http"
       },
-      "http-fast":{
+      "fast":{
         "plaintext_url": "/plaintext",
         "json_url": "/json",
         "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
-WORKDIR /edap-http-fast
+WORKDIR /edap-http
 COPY pom.xml pom.xml
 COPY src src
 RUN mvn compile assembly:single -q
 
 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
 
 EXPOSE 8080