summaryrefslogtreecommitdiff
path: root/openembedded/ebizzy.yaml
blob: ec871c90eba03f2011b5c4d40e2a97900ff02067 (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
29
30
31
32
33
34
35
36
37
38
metadata:
    name: ebizzy
    version: "1.0"
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Ebizzy test for Linaro OpenEmbedded builds. Ebizzy test is designed to generate
                  a workload resembling common web application server workloads. It is highly
                  threaded, has a large in-memory working set, and allocates and deallocates
                  memory frequently."
    maintainer:
        - lisa.nguyen@linaro.org
    os:
        - openembedded
    devices:
        - juno
        - vexpress-tc2
    scope:
        - performance

params:
    THREADS: 2
    TIME: 20
    REPEAT: 50

run:
    steps:
        - CURRENT_DIR=$(pwd)
        - i=1
        - cd /opt/ltp/testcases/bin
        - while [ $i -le $REPEAT ]; do ./ebizzy -t $THREADS -S $TIME | tee -a ebizzy.log; true $(( i++ )); done
        - cp ebizzy.log ebizzy-real.log
        - cp ebizzy.log ebizzy-user.log
        - cp ebizzy.log ebizzy-sys.log
        - $CURRENT_DIR/common/scripts/min_max_avg_parse.py ebizzy-real.log "real" "Second"
        - $CURRENT_DIR/common/scripts/min_max_avg_parse.py ebizzy-user.log "user" "Second"
        - $CURRENT_DIR/common/scripts/min_max_avg_parse.py ebizzy-sys.log "sys"  "Second"

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