To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

test_rpy_fib.yml 2.5 KB
Newer Older
1
2
fib:
  iterations: 50
John Zhang's avatar
John Zhang committed
3
4
5
  benchmark:
    name: micro/fib
    args:
6
7
      - 10  # scale factor
      - 35
John Zhang's avatar
John Zhang committed
8
  callback:
9
    name: clock
John Zhang's avatar
John Zhang committed
10
11
12
    param: "6"
  environ:
    PYPY_USESSION_DIR: example  # controls where PyPy puts usession directory
13
14
15
16
17
18
19
20
21
22
  tasks:
    rpyc_O0:
      language:
        name: rpython
        backend: c
      source: targetfib.py
      compiler:
        flags:
          - --gc=none
      environ:
Zixian Cai's avatar
Zixian Cai committed
23
        PYPY_C_CLANG_OPT_FLAG: -O0
24
25
26
27
28
29
30
31
32
33
        PYPY_USESSION_BASENAME: fib_rpyc_O0
    rpyc_O1:
      language:
        name: rpython
        backend: c
      source: targetfib.py
      compiler:
        flags:
          - --gc=none
      environ:
Zixian Cai's avatar
Zixian Cai committed
34
        PYPY_C_CLANG_OPT_FLAG: -O1
35
36
37
38
39
40
41
42
43
44
        PYPY_USESSION_BASENAME: fib_rpyc_O1
    rpyc_O2:
      language:
        name: rpython
        backend: c
      source: targetfib.py
      compiler:
        flags:
          - --gc=none
      environ:
Zixian Cai's avatar
Zixian Cai committed
45
        PYPY_C_CLANG_OPT_FLAG: -O2
46
47
48
49
50
51
52
53
54
55
        PYPY_USESSION_BASENAME: fib_rpyc_O2
    rpyc_O3:
      language:
        name: rpython
        backend: c
      source: targetfib.py
      compiler:
        flags:
          - --gc=none
      environ:
Zixian Cai's avatar
Zixian Cai committed
56
        PYPY_C_CLANG_OPT_FLAG: -O3
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
        PYPY_USESSION_BASENAME: fib_rpyc_O3
    rpyzebu:
      language:
        name: rpython
        backend: mu
        impl: zebu
      source: targetfib.py
      compiler:
        pypydir: $PYPY_MU
      environ:
        ZEBU_BUILD: release
        PYPY_USESSION_DIR: example
        PYPY_USESSION_BASENAME: fib_rpyzebu
    c_O0:
      language: c
      source: fib.c
      compiler:
        flags:
          - -O0
    c_O1:
      language: c
      source: fib.c
      compiler:
        flags:
          - -O1
    c_O2:
      language: c
      source: fib.c
      compiler:
        flags:
          - -O2
    c_O3:
      language: c
      source: fib.c
      compiler:
        flags:
          - -O3
Zixian Cai's avatar
Zixian Cai committed
94
95
96
97
98
99
    c_wasm_O3:
      language: wasm
      source: fib.c
      compiler:
        flags:
          - -O3
Zixian Cai's avatar
Zixian Cai committed
100
101
102
103
104
105
106
107
108
    mu_slow:
      language:
        name: mu
        impl: zebu
      source: build_fib.c
    mu_fast:
      language:
        name: mu
        impl: zebu
109
110
111
112
      source: build_fib.c
      compiler:
        flags:
          - -DBUILD_FIB_FAST
Zixian Cai's avatar
Zixian Cai committed
113
114
115
116
117
118
119
120
121
122
123
124
125
  compare:
    - - c_O0
      - c_O3
    - - c_O0
      - rpyc_O3
    - - c_O3
      - rpyc_O3
    - - c_O0
      - rpyzebu
    - - c_O3
      - rpyzebu
    - - rpyc_O3
      - rpyzebu
Zixian Cai's avatar
Zixian Cai committed
126
127
128
129
130
131
132
133
134
135
    - - c_O0
      - mu_fast
    - - c_O3
      - mu_fast
    - - c_O0
      - mu_slow
    - - c_O3
      - mu_fast
    - - mu_fast
      - mu_slow