Skip to content

Commit f2923fa

Browse files
authored
Clojure: Bump to Aleph 0.6.1 and latest dependencies (#7972)
1 parent c5be01a commit f2923fa

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

frameworks/Clojure/aleph/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ This is the [Aleph](https://github.com/clj-commons/aleph) portion of a [benchmar
66
The dependencies are documented in [project.clj](project.clj),
77
but the main ones are:
88

9-
* [Aleph 0.4.7](https://github.com/clj-commons/aleph)
10-
* [Clojure 1.11.0](http://clojure.org/)
11-
* [metosin/jsonista 0.3.5](https://github.com/metosin/jsonista), which in turn uses [Jackson](http://jackson.codehaus.org/)
9+
* [Aleph 0.6.1](https://github.com/clj-commons/aleph)
10+
* [Clojure 1.11.1](http://clojure.org/)
11+
* [metosin/jsonista 0.3.7](https://github.com/metosin/jsonista), which in turn uses [Jackson](http://jackson.codehaus.org/)
1212
* [hiccup 1.0.5](https://github.com/weavejester/hiccup)
1313
* [porsas 0.0.1-alpha14](https://github.com/arnaudgeiser/porsas)
1414

frameworks/Clojure/aleph/aleph.dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM clojure:openjdk-17-lein-2.9.8
1+
FROM clojure:temurin-19-lein
22
WORKDIR /aleph
33
COPY src src
44
COPY project.clj project.clj
@@ -14,7 +14,7 @@ EXPOSE 9999
1414
RUN apt update -y
1515
RUN apt install perl -y
1616

17-
CMD ["java", "-server", "-Xms2G", "-Xmx2G", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-Dvertx.disableMetrics=true", "-Dvertx.threadChecks=false", "-Dvertx.disableContextTimings=true", "-Dvertx.disableTCCL=true", "-Djava.net.preferIPv4Stack=true", "-jar", "target/hello-aleph-standalone.jar"]
17+
CMD ["java", "-server", "-Xms2G", "-Xmx2G", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-Djava.net.preferIPv4Stack=true", "-Dio.netty.leakDetection.level=disabled", "-jar", "target/hello-aleph-standalone.jar"]
1818

1919
# To enable JMX and async-profiler
20-
#CMD ["java", "-XX:+UnlockDiagnosticVMOptions", "-XX:+DebugNonSafepoints", "-Djdk.attach.allowAttachSelf", "-Dcom.sun.management.jmxremote=true", "-Djava.rmi.server.hostname=0.0.0.0","-Dcom.sun.management.jmxremote.rmi.port=9999" ,"-Dcom.sun.management.jmxremote.port=9999", "-Dcom.sun.management.jmxremote.ssl=false", "-Dcom.sun.management.jmxremote.authenticate=false", "-server", "-Xms2G", "-Xmx2G", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-Dvertx.disableMetrics=true", "-Dvertx.threadChecks=false", "-Dvertx.disableContextTimings=true", "-Dvertx.disableTCCL=true", "-Djava.net.preferIPv4Stack=true", "-jar", "target/hello-aleph-standalone.jar"]
20+
#CMD ["java", "-XX:+UnlockDiagnosticVMOptions", "-XX:+DebugNonSafepoints", "-Djdk.attach.allowAttachSelf", "-Dcom.sun.management.jmxremote=true", "-Djava.rmi.server.hostname=0.0.0.0","-Dcom.sun.management.jmxremote.rmi.port=9999" ,"-Dcom.sun.management.jmxremote.port=9999", "-Dcom.sun.management.jmxremote.ssl=false", "-Dcom.sun.management.jmxremote.authenticate=false", "-server", "-Xms2G", "-Xmx2G", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-Djava.net.preferIPv4Stack=true", "-jar", "target/hello-aleph-standalone.jar"]
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
(defproject hello "aleph"
2-
:description "JSON/plaintext tests"
3-
:dependencies [[org.clojure/clojure "1.11.0"]
4-
[aleph "0.4.7"]
5-
[metosin/jsonista "0.3.5"]
2+
:description "Aleph benchmarks"
3+
:dependencies [[org.clojure/clojure "1.11.1"]
4+
[aleph "0.6.1"]
5+
[metosin/jsonista "0.3.7"]
66
[hiccup "1.0.5"]
7-
[io.netty/netty-transport-native-epoll "4.1.65.Final" :classifier "linux-x86_64"]
87
[com.github.arnaudgeiser/porsas "0.0.1-alpha14"
98
:exclusions [io.netty/netty-codec-dns
109
io.netty/netty-codec
@@ -18,7 +17,7 @@
1817
io.netty/netty-transport
1918
io.netty/netty-resolver-dns
2019
io.netty/netty-resolver]]
21-
[com.clojure-goes-fast/clj-async-profiler "0.5.1"]]
20+
[com.clojure-goes-fast/clj-async-profiler "1.0.3"]]
2221
:main hello.handler
2322
:jvm-opts ^:replace ["-Dclojure.compiler.direct-linking=true"]
2423
:aot :all)

0 commit comments

Comments
 (0)