Skip to content

Commit 0d82ec9

Browse files
luyongshoulouis
andauthored
adde edap-http-fast (#6237)
* 初始化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]>
1 parent 2f8927d commit 0d82ec9

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

frameworks/Java/edap-http/benchmark_config.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,25 @@
2020
"display_name": "edap-http",
2121
"notes": "",
2222
"versus": "edap-http"
23+
},
24+
"http-fast":{
25+
"plaintext_url": "/plaintext",
26+
"json_url": "/json",
27+
"port": 8080,
28+
"approach": "Realistic",
29+
"classification": "Platform",
30+
"database": "Postgres",
31+
"framework": "None",
32+
"language": "Java",
33+
"flavor": "None",
34+
"orm": "Raw",
35+
"platform": "edap",
36+
"webserver": "None",
37+
"os": "Linux",
38+
"database_os": "Linux",
39+
"display_name": "edap-http-fast",
40+
"notes": "",
41+
"versus": "edap-http-fast"
2342
}
2443
}
2544
]
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM maven:3.6.3-openjdk-8-slim as maven
2+
WORKDIR /edap-http-fast
3+
COPY pom.xml pom.xml
4+
COPY src src
5+
RUN mvn compile assembly:single -q
6+
7+
FROM openjdk:8u275-jdk-slim
8+
WORKDIR /edap-http-fast
9+
COPY --from=maven /edap-http/target/edap-http-benchmark-1.0-SNAPSHOT-jar-with-dependencies.jar app.jar
10+
CMD ["java", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-XX:+AggressiveOpts", "-Dedap.http.decoder.type=fast", "-cp", "app.jar", "io.edap.http.Bootstrap"]

0 commit comments

Comments
 (0)