Skip to content

Commit 1ec0fb2

Browse files
rurorujj
andauthored
Add graalvm tests for httpserver/httpserver-robaho/ring-http-exchange (#9968)
* Add graalvm to ring-http-exchange Enable running ring-http-exchange on graalvm Change group-id/artifactid/name in pom.xml to ring-http-exchage * Add graalvm to httpserver and httpserver-robago * merge httpserver and httpserver-robaho into single project --------- Co-authored-by: jj <[email protected]>
1 parent a67aa28 commit 1ec0fb2

22 files changed

+327
-424
lines changed

frameworks/Clojure/ring-http-exchange/benchmark_config.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,50 @@
4040
"database_os": "Linux",
4141
"display_name": "ring-http-exchange-robaho",
4242
"notes": "",
43+
"versus": "httpserver-robaho"
44+
}
45+
},
46+
{
47+
"graalvm": {
48+
"json_url": "/json",
49+
"plaintext_url": "/plaintext",
50+
"port": 8080,
51+
"approach": "Realistic",
52+
"classification": "Platform",
53+
"database": "None",
54+
"framework": "None",
55+
"language": "Clojure",
56+
"flavor": "None",
57+
"orm": "None",
58+
"platform": "None",
59+
"webserver": "None",
60+
"os": "Linux",
61+
"database_os": "Linux",
62+
"display_name": "ring-http-exchange-graalvm",
63+
"notes": "",
4364
"versus": "ring-http-exchange"
4465
}
66+
},
67+
{
68+
"robaho-graalvm": {
69+
"json_url": "/json",
70+
"plaintext_url": "/plaintext",
71+
"port": 8080,
72+
"approach": "Realistic",
73+
"classification": "Platform",
74+
"database": "None",
75+
"framework": "None",
76+
"language": "Clojure",
77+
"flavor": "None",
78+
"orm": "None",
79+
"platform": "None",
80+
"webserver": "None",
81+
"os": "Linux",
82+
"database_os": "Linux",
83+
"display_name": "ring-http-exchange-robaho-graalvm",
84+
"notes": "",
85+
"versus": "ring-http-exchange-robaho"
86+
}
4587
}
4688
]
4789
}
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
[framework]
2+
name = "ring-http-exchange"
3+
4+
[main]
5+
urls.plaintext = "/plaintext"
6+
urls.json = "/json"
7+
approach = "Realistic"
8+
classification = "Platform"
9+
database = "None"
10+
database_os = "Linux"
11+
os = "Linux"
12+
orm = "Raw"
13+
platform = "httpserver"
14+
webserver = "None"
15+
versus = "httpserver"
16+
17+
18+
[graalvm]
19+
urls.plaintext = "/plaintext"
20+
urls.json = "/json"
21+
approach = "Realistic"
22+
classification = "Platform"
23+
database = "None"
24+
database_os = "Linux"
25+
os = "Linux"
26+
orm = "Raw"
27+
platform = "httpserver"
28+
webserver = "None"
29+
versus = "httpserver-graalvm"
30+
31+
[robaho]
32+
urls.plaintext = "/plaintext"
33+
urls.json = "/json"
34+
approach = "Realistic"
35+
classification = "Platform"
36+
database = "None"
37+
database_os = "Linux"
38+
os = "Linux"
39+
orm = "Raw"
40+
platform = "httpserver"
41+
webserver = "None"
42+
versus = "httpserver-robaho"
43+
44+
[robaho-graalvm]
45+
urls.plaintext = "/plaintext"
46+
urls.json = "/json"
47+
approach = "Realistic"
48+
classification = "Platform"
49+
database = "None"
50+
database_os = "Linux"
51+
os = "Linux"
52+
orm = "Raw"
53+
platform = "httpserver"
54+
webserver = "None"
55+
versus = "httpserver-robaho-graalvm"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM maven:3-eclipse-temurin-24-alpine as maven
2+
WORKDIR /ring-http-exchange
3+
COPY pom.xml pom.xml
4+
COPY src src
5+
RUN mvn clean clojure:compile package
6+
7+
FROM ghcr.io/graalvm/graalvm-community:24
8+
WORKDIR /ring-http-exchange
9+
COPY --from=maven /ring-http-exchange/target/ring-http-server-1.0.0-jar-with-dependencies.jar app.jar
10+
11+
EXPOSE 8080
12+
13+
CMD ["java", "-server", "-XX:+UseParallelGC", "-jar", "app.jar"]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM maven:3-eclipse-temurin-24-alpine as maven
2+
WORKDIR /ring-http-exchange
3+
COPY pom.xml pom.xml
4+
COPY src src
5+
RUN mvn clean clojure:compile -P robaho package
6+
7+
FROM ghcr.io/graalvm/graalvm-community:24
8+
WORKDIR /ring-http-exchange
9+
COPY --from=maven /ring-http-exchange/target/ring-http-server-1.0.0-jar-with-dependencies.jar app.jar
10+
11+
EXPOSE 8080
12+
13+
CMD ["java", "-server", "-XX:+UseParallelGC", "-jar", "app.jar"]

frameworks/Java/httpserver-robaho/README.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

frameworks/Java/httpserver-robaho/benchmark_config.json

Lines changed: 0 additions & 44 deletions
This file was deleted.

frameworks/Java/httpserver-robaho/config.toml

Lines changed: 0 additions & 27 deletions
This file was deleted.

frameworks/Java/httpserver-robaho/pom.xml

Lines changed: 0 additions & 83 deletions
This file was deleted.

frameworks/Java/httpserver-robaho/src/main/java/benchmarks/Fortune.java

Lines changed: 0 additions & 25 deletions
This file was deleted.

frameworks/Java/httpserver-robaho/src/main/java/benchmarks/Message.java

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)