description: "Run benchmark for babeltrace"
params:
TRACE_LOCATION: "https://obj.internal.efficios.com/lava/traces/benchmark/babeltrace/babeltrace_benchmark_trace.tar.gz"
+ TRACE_tools-2.10_LOCATION: "https://obj.internal.efficios.com/lava/traces/babeltrace/benchmark/babeltrace_benchmark_trace-tools-2.10.tar.gz"
+ TRACE_tools-2.14_LOCATION: "https://obj.internal.efficios.com/lava/traces/babeltrace/benchmark/babeltrace_benchmark_trace-tools-2.14.tar.gz"
COMMIT: "invalid"
GIT_URL: "https://github.com/efficios/babeltrace.git"
run:
- cpupower frequency-set -g performance
- tar xvf /tmp/trace.tar.gz --directory /tmp/ram_disk/trace/
- echo 3 | tee /proc/sys/vm/drop_caches
- - python3 ./ci/scripts/babeltrace-benchmark/time.py --output=result_dummy_sink --command "babeltrace /tmp/ram_disk/trace/ -o dummy" --iteration 5
- - python3 ./ci/scripts/babeltrace-benchmark/time.py --output=result_text_sink --command "babeltrace /tmp/ram_disk/trace/" --iteration 5
+ - python3 ./ci/scripts/babeltrace-benchmark/time.py --output=result_dummy_sink --command "babeltrace /tmp/ram_disk/trace/ -o dummy" --iteration 5 --taskset 0
+ - python3 ./ci/scripts/babeltrace-benchmark/time.py --output=result_text_sink --command "babeltrace /tmp/ram_disk/trace/" --iteration 5 --taskset 0
- ./ci/lava/upload_artifact.sh result_dummy_sink results/benchmarks/babeltrace/dummy/${COMMIT}
- ./ci/lava/upload_artifact.sh result_text_sink results/benchmarks/babeltrace/text/${COMMIT}
-
+ - rm -rf /tmp/ram_disk/trace/*
+ - curl -o - "${TRACE_tools-2.10_LOCATION}" | tar -C /tmp/ram_disk/trace -xz
+ - python3 ./ci/scripts/babeltrace-benchmark/time.py --output=result_dummy_sink --command "babeltrace /tmp/ram_disk/trace/ -o dummy" --iteration 5 --taskset 0
+ - python3 ./ci/scripts/babeltrace-benchmark/time.py --output=result_text_sink --command "babeltrace /tmp/ram_disk/trace/" --iteration 5 --taskset 0
+ - ./ci/lava/upload_artifact.sh result_dummy_sink results/benchmarks/babeltrace/dummy-2.10/${COMMIT}
+ - ./ci/lava/upload_artifact.sh result_text_sink results/benchmarks/babeltrace/text-2.10/${COMMIT}
+ - rm -rf /tmp/ram_disk/trace/*
+ - curl -o - "${TRACE_tools-2.14_LOCATION}" | tar -C /tmp/ram_disk/trace -xz
+ - python3 ./ci/scripts/babeltrace-benchmark/time.py --output=result_dummy_sink --command "babeltrace /tmp/ram_disk/trace/ -o dummy" --iteration 5 --taskset 0
+ - python3 ./ci/scripts/babeltrace-benchmark/time.py --output=result_text_sink --command "babeltrace /tmp/ram_disk/trace/" --iteration 5 --taskset 0
+ - ./ci/lava/upload_artifact.sh result_dummy_sink results/benchmarks/babeltrace/dummy-2.14/${COMMIT}
+ - ./ci/lava/upload_artifact.sh result_text_sink results/benchmarks/babeltrace/text-2.14/${COMMIT}