Skip to content

Commit 29e7df0

Browse files
committed
Minor clarification
1 parent 24bd77f commit 29e7df0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/ci_common/bench-common.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
num_threads:: 32,
117117
hyperthreading:: false
118118
},
119-
local contains(arr, item_as_substr) = std.length(std.findSubstr(item_as_substr, arr)) > 0,
119+
local contains(a_str, substr) = std.length(std.findSubstr(substr, a_str)) > 0,
120120
# Useful to distribute the benchmark load between two machine types, but always stay consistent for the same benchmark suite
121121
# This guarantees comparability of results, whatever the platform/context, for each suite
122122
hr350a_or_osprey(suite=null):: if suite != null && std.count([contains(s, suite) for s in ["barista", "renaissance"]], true) > 0 then self.osprey else self.hr350a,

0 commit comments

Comments
 (0)