summaryrefslogtreecommitdiff
path: root/openembedded/hackbench.yaml
blob: 5ea93540eae446fef12719ddf2aa8bd01fbcfe7c (plain)
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
metadata:
    name: hackbench
    format: "Lava-Test-Shell Test Definition 1.0"
    version: 1.0
    description: "Hackbench test for Linaro OpenEmbedded builds. Hackbench is both a benchmark
                  and a stress test for the Linux kernel scheduler. It's main job is to create
                  a specified number of pairs of schedulable entities (either threads or traditional
                  processes) which communicate via either sockets or pipes and time, how long it takes
                  for each pair to send data back and forth."
    maintainer:
        - ciprian.barbu@linaro.org
        - anders.roxell@linaro.org
    os:
        - openembedded
    devices:
        - arndale
        - juno
    scope:
        - performance
        - preempt-rt

run:
    steps:
        - for i in {1..1000}; do timeout 10s hackbench | tee -a hackbench_res.txt; done
        - ./common/scripts/min_max_avg_parse.py hackbench_res.txt "Time:" "Seconds"

parse:
    pattern: '^(?P<test_case_id>[^:]+):\s*(?P<measurement>[0-9.]+)\s+(?P<units>\w+)\s+(?P<result>\w+)'