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[^:]+):\s*(?P[0-9.]+)\s+(?P\w+)\s+(?P\w+)'