]> git.lttng.org Git - lttng-ci.git/commitdiff
benchmark: Update Babeltrace benchmark build flags
authorKienan Stewart <kstewart@efficios.com>
Wed, 22 Jan 2025 16:58:53 +0000 (11:58 -0500)
committerKienan Stewart <kstewart@efficios.com>
Wed, 22 Jan 2025 18:20:17 +0000 (13:20 -0500)
Change-Id: I207a61819eafc9a737f9c90c6cf03a76097ca087
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
lava/benchmark/babeltrace/benchmark.yml

index c007114fd4924c7505d16b89ee58829b33cc4e73..22e7d9ea64e254370961c866d4d57aa78f60aadf 100644 (file)
@@ -13,7 +13,7 @@ run:
                 - pushd babeltrace
                 - git checkout ${COMMIT}
                 - ./bootstrap
-                - ./configure --disable-man-pages
+                - ./configure CFLAGS='-O3 -g0 -flto -fuse-linker-plugin' CXXFLAGS='-O3 -g0 -flto -fuse-linker-plugin' LDFLAGS='-flto -fuse-linker-plugin' BABELTRACE_DEV_MODE=0 BABELTRACE_DEBUG_MODE=0 BABELTRACE_MINIMAL_LOG_LEVEL=INFO --disable-man-pages
                 - make -j
                 - make install
                 - ldconfig
@@ -29,7 +29,9 @@ run:
                 - mount -t tmpfs -o size=10024m new_ram_disk /tmp/ram_disk
                 - curl -o /tmp/trace.tar.gz "${TRACE_LOCATION}"
                 - mkdir /tmp/ram_disk/trace
+                - 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
                 - ./ci/lava/upload_artifact.sh result_dummy_sink results/benchmarks/babeltrace/dummy/${COMMIT}
This page took 0.026081 seconds and 4 git commands to generate.