Commit 707abfdf authored by Zixian Cai's avatar Zixian Cai

Add quicksort to test suite

parent 617f7b6b
......@@ -136,3 +136,50 @@ som:
environ:
ZEBU_BUILD: "release"
PYPY_USESSION_BASENAME: som_rpyzebu
quicksort:
benchmark:
name: micro/quicksort
iterations: 20
callback:
name: clock
param: "6"
environ:
PYPY_USESSION_DIR: example
tasks:
rpyc_O0:
language:
name: rpython
backend: c
source: targetquicksort.py
environ:
PYPY_C_CLANG_OPT_FLAG: -O0
PYPY_USESSION_BASENAME: &basename "${MUBENCH_TASKSET_NAME}_${MUBENCH_TASK_NAME}"
flags:
- --gc=none
compiler:
args:
- &scale_factor 1000
rpyc_O3:
language:
name: rpython
backend: c
source: targetquicksort.py
environ:
PYPY_C_CLANG_OPT_FLAG: -O3
PYPY_USESSION_BASENAME: *basename
flags:
- --gc=none
compiler:
args:
- *scale_factor
rpyzebu:
language:
name: rpython
backend: mu
impl: zebu
source: targetquicksort.py
environ:
PYPY_USESSION_BASENAME: *basename
compiler:
args:
- *scale_factor
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment