forked from hanabi1224/Programming-Language-Benchmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bench_java.yaml
86 lines (86 loc) · 2.08 KB
/
bench_java.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
lang: java
problems:
- name: helloworld
source:
- 1.java
- name: binarytrees
source:
- 2.java
- name: merkletrees
source:
- 1.java
- name: nbody
source:
- 1.java
- 2.java
- name: pidigits
source:
- 1.java
- name: edigits
source:
- 1.java
- name: fannkuch-redux
source:
- 1.java
- name: fasta
source:
- 4.java
- name: knucleotide
source:
- 3-m.java
- name: regex-redux
source:
- 3.java
- name: mandelbrot
source:
- 1.java
- 1a.java
- 1b.java
- 2.java
- name: spectral-norm
source:
- 2.java
- name: nsieve
source:
- 1.java
- 2.java
- name: coro-prime-sieve
source:
- 1.java
compiler_version_command: javac -version
compiler_version_regex:
runtime_version_parameter: -version
runtime_version_regex:
source_rename_to: app.java
environments:
- os: linux
compiler: openjdk
version: 20
docker: openjdk:20-slim
docker_runtime_dir: /usr/local/openjdk-*
docker_runtime_dir_rename_to: openjdk
include:
build: javac --enable-preview --release 20 --add-modules jdk.incubator.vector app.java -d out
out_dir: out
run_cmd: openjdk/bin/java --enable-preview --add-modules jdk.incubator.vector app
- os: linux
compiler: openjdk/zgc
version: 20
docker: openjdk:20-slim
docker_runtime_dir: /usr/local/openjdk-*
docker_runtime_dir_rename_to: openjdk
include:
build: javac --enable-preview --release 20 --add-modules jdk.incubator.vector app.java -d out
out_dir: out
run_cmd: openjdk/bin/java -XX:+UseZGC -Xlog:all=off --enable-preview --add-modules jdk.incubator.vector app
- os: linux
compiler: openjdk
version: 22
docker: openjdk:22-slim
docker_runtime_dir: /usr/local/openjdk-*
docker_runtime_dir_rename_to: openjdk
include:
build: javac --enable-preview --release 22 --add-modules jdk.incubator.vector app.java -d out
out_dir: out
run_cmd: openjdk/bin/java --enable-preview --add-modules jdk.incubator.vector app
allow_failure: true