forked from hanabi1224/Programming-Language-Benchmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bench_python.yaml
108 lines (108 loc) · 2.29 KB
/
bench_python.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
lang: python
problems:
- name: helloworld
source:
- 1.py
- name: binarytrees
source:
- 1.py
- name: merkletrees
source:
- 1.py
- name: pidigits
source:
- 4.py
- name: edigits
source:
- 1.py
- name: spectral-norm
source:
- 8.py
- name: fasta
source:
- 1.py
- 5-m.py
- name: knucleotide
source:
- 3.py
- name: regex-redux
source:
- 1.py
- name: nbody
source:
- 1.py
- 2.py
- name: json-serde
source:
- 1.py
- name: coro-prime-sieve
source:
- 1.py
- name: http-server
source:
- 1.py
# - 2.py
- name: nsieve
source:
- 1.py
- 2.py
- name: lru
source:
- 1.py
- 2.py
- name: secp256k1
source:
- 1.py
source_rename_to: app.py
environments:
- os: linux
compiler: cpython
version: 3
runtime_version_parameter: --version
include: python
before_build:
- pip3 install -r requirements.txt -t out
build: cp app.py out && python3 -OO compile.py
out_dir: out
run_cmd: python3 -OO app.pyc
runtime_included: false
force_check_child_processes: true
- os: linux
enabled: false
compiler: pyjion
version: 3
runtime_version_parameter: --version
include: python
before_build:
- pip3 install -r requirements.txt -t out
- sh -c "cat pyjion.py > out/app.py"
build: sh -c "cat c.py >> out/app.py" && python3 -OO compile.py
out_dir: out
run_cmd: python3 -OO app.pyc
runtime_included: false
force_check_child_processes: true
- os: linux
compiler: pypy
version: 3
docker: pypy:3-slim
docker_runtime_dir: /opt/pypy/
runtime_version_parameter: --version
include: python
before_build:
- pip3 install -r requirements.txt -t out
build: cp app.py out && pypy3 -OO compile.py
out_dir: out
run_cmd: pypy/bin/pypy3 -OO app.pyc
force_check_child_processes: true
- os: linux
compiler: pyston
version: latest
runtime_version_parameter: --version
include: python
before_build:
- pip3 install -r requirements.txt -t out
build: cp app.py out && pyston3 -OO compile.py
out_dir: out
run_cmd: pyston3 -OO app.pyc
runtime_included: false
force_check_child_processes: true