Skip to content

Commit 412ffdd

Browse files
committed
move native micro benchmarks to own suite
1 parent 371f4c1 commit 412ffdd

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

mx.graalpython/mx_graalpython_bench_param.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,21 @@
9292
'special-add': ITER_15 + ['5'],
9393
'special-len': ITER_10 + ['5'],
9494
'member_access': ITER_10 + ['5'],
95+
'magic-bool': ITER_10 + ['100000000'],
96+
'magic-iter': ITER_10 + ['50000000'],
97+
'instantiation': ITER_10 + ['50000000'],
98+
'call-classmethod': ITER_15 + ['50000000'],
99+
}
100+
101+
102+
MICRO_NATIVE_BENCHMARKS = {
95103
'c_member_access': ITER_25 + ['5'],
96104
'c-list-iterating-obj': ITER_15 + ['50000000'],
97-
'magic-bool': ITER_10 + ['100000000'],
98105
'c-magic-bool': ITER_10 + ['100000000'],
99-
'magic-iter': ITER_10 + ['50000000'],
100106
'c-magic-iter': ITER_10 + ['50000000'],
101-
'instantiation': ITER_10 + ['50000000'],
102107
'c-instantiation': ITER_10 + ['50000000'],
103108
'c_arith-binop': ITER_25 + ['5'],
104109
'c_arith_binop_2': ITER_25 + ['50'],
105-
'call-classmethod': ITER_15 + ['50000000'],
106110
'c-call-classmethod': ITER_15 + ['50000000']
107111
}
108112

@@ -159,6 +163,7 @@
159163
# ----------------------------------------------------------------------------------------------------------------------
160164
BENCHMARKS = {
161165
"micro": [PATH_MICRO, MICRO_BENCHMARKS],
166+
"micro-native": [PATH_MICRO, MICRO_NATIVE_BENCHMARKS],
162167
"meso": [PATH_MESO, MESO_BENCHMARKS],
163168
"macro": [PATH_MACRO, MACRO_BENCHMARKS],
164169
# "interop": [PATH_INTEROP, INTEROP_BENCHMARKS],

0 commit comments

Comments
 (0)