* 初始化edap-http-benchmark的项目 * 修改pom文件以及测试的配置 * 修改端口号,jdk版本以及去掉有问题的plaintext的测试项 * 修改Message启动时初始化为每次请求生成新的对象 * 去掉多余的"s"字符 * 增加plaintext的测试配置 * add edap-http framwork * cache plaintext's content. * add edap-http-fast * 解决docker构建文件编写错误 Co-authored-by: louis <[email protected]>
@@ -20,6 +20,25 @@
"display_name": "edap-http",
"notes": "",
"versus": "edap-http"
+ },
+ "http-fast":{
+ "plaintext_url": "/plaintext",
+ "json_url": "/json",
+ "port": 8080,
+ "approach": "Realistic",
+ "classification": "Platform",
+ "database": "Postgres",
+ "framework": "None",
+ "language": "Java",
+ "flavor": "None",
+ "orm": "Raw",
+ "platform": "edap",
+ "webserver": "None",
+ "os": "Linux",
+ "database_os": "Linux",
+ "display_name": "edap-http-fast",
+ "notes": "",
+ "versus": "edap-http-fast"
}
]
@@ -0,0 +1,10 @@
+FROM maven:3.6.3-openjdk-8-slim as maven
+WORKDIR /edap-http-fast
+COPY pom.xml pom.xml
+COPY src src
+RUN mvn compile assembly:single -q
+
+FROM openjdk:8u275-jdk-slim
+COPY --from=maven /edap-http/target/edap-http-benchmark-1.0-SNAPSHOT-jar-with-dependencies.jar app.jar
+CMD ["java", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-XX:+AggressiveOpts", "-Dedap.http.decoder.type=fast", "-cp", "app.jar", "io.edap.http.Bootstrap"]