File tree Expand file tree Collapse file tree
Runner/suites/Performance/Geekbench Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ metadata :
2+ name : geekbench-cpu-single
3+ format : " Lava-Test Test Definition 1.0"
4+ description : >
5+ Geekbench 6 CPU single-core only run (single-thread workloads) with live progress,
6+ per-iteration logs and CSV dumps.
7+ os :
8+ - linux
9+ scope :
10+ - performance
11+ - functional
12+
13+ params :
14+ OUT_DIR : " ./logs_Geekbench_Single"
15+ RUNS : " 1"
16+ HEARTBEAT_SECS : " 15"
17+ CORE_LIST : " "
18+ SET_PERF_GOV : " 1"
19+ GEEKBENCH_BIN : " geekbench_aarch64"
20+
21+ NO_UPLOAD : " 1"
22+ UPLOAD : " 0"
23+
24+ # Geekbench internal options
25+ GB_ITERATIONS : " " # geekbench --iterations (internal)
26+ WORKLOAD_GAP : " " # ms
27+
28+ # Export options (optional)
29+ EXPORT_TEXT_FILE : " " # if set, geekbench will write it too (script will still parse logs)
30+
31+ EXTRA_ARGS : " "
32+ STANDALONE : " 0"
33+
34+ run :
35+ steps :
36+ - REPO_PATH=$PWD
37+ - cd Runner/suites/Performance/Geekbench/ || exit 0
38+ - ./run.sh \
39+ --outdir "$OUT_DIR" \
40+ --runs "$RUNS" \
41+ --core-list "${CORE_LIST:-}" \
42+ --bin "$GEEKBENCH_BIN" \
43+ --progress-heartbeat "$HEARTBEAT_SECS" \
44+ $( [ "$SET_PERF_GOV" = "1" ] && true || echo --no-perf-gov ) \
45+ $( [ "$NO_UPLOAD" = "1" ] && echo --no-upload || true ) \
46+ $( [ "$UPLOAD" = "1" ] && echo --upload || true ) \
47+ --cpu \
48+ --single-core \
49+ $( [ -n "$GB_ITERATIONS" ] && echo --iterations "$GB_ITERATIONS" || true ) \
50+ $( [ -n "$WORKLOAD_GAP" ] && echo --workload-gap "$WORKLOAD_GAP" || true ) \
51+ $( [ -n "$EXPORT_TEXT_FILE" ] && echo --export-text "$EXPORT_TEXT_FILE" || true ) \
52+ -- ${EXTRA_ARGS:-} \
53+ || true
54+ - $REPO_PATH/Runner/utils/send-to-lava.sh Geekbench.res
You can’t perform that action at this time.
0 commit comments