Skip to content

Commit 5284db0

Browse files
committed
Runnable
1 parent 8e8eb72 commit 5284db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarks/src/main/java/org/elasticsearch/benchmark/compute/operator/ValuesSourceReaderBenchmark.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ public void benchmark() {
344344
);
345345
long sum = 0;
346346
for (Page page : pages) {
347-
op.addInput(page);
347+
op.addInput(page.shallowCopy());
348348
switch (name) {
349349
case "long" -> {
350350
LongVector values = op.getOutput().<LongBlock>getBlock(1).asVector();

0 commit comments

Comments
 (0)