From 3f855cb714a0b114f84d2cf9b35a785b6697c4df Mon Sep 17 00:00:00 2001 From: Alexander Kuzmenkov Date: Thu, 22 Apr 2021 20:18:21 +0300 Subject: [PATCH] more --- docker/test/performance-comparison/compare.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker/test/performance-comparison/compare.sh b/docker/test/performance-comparison/compare.sh index ac3c744aed4..3ee3612d8da 100755 --- a/docker/test/performance-comparison/compare.sh +++ b/docker/test/performance-comparison/compare.sh @@ -1191,7 +1191,11 @@ function upload_results # form that can be used for historical data when you only have compare.log. cat compare.log \ | sed -n ' - s/.*\(Model name:\)[[:space:]]\+\(.*\)$/metric lscpu-model-name \2/p; + s/.*Model name:[[:space:]]\+\(.*\)$/metric lscpu-model-name \1/p; + s/.*L1d cache:[[:space:]]\+\(.*\)$/metric lscpu-l1d-cache \1/p; + s/.*L1i cache:[[:space:]]\+\(.*\)$/metric lscpu-l1i-cache \1/p; + s/.*L2 cache:[[:space:]]\+\(.*\)$/metric lscpu-l2-cache \1/p; + s/.*L3 cache:[[:space:]]\+\(.*\)$/metric lscpu-l3-cache \1/p; s/.*left_sha=\(.*\)$/old-sha \1/p; s/.*right_sha=\(.*\)/new-sha \1/p' \ | awk '