Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/* Copyright (c) 2026-2026 Deephaven Data Labs and Patent Pending */
package io.deephaven.benchmark.tests.standard.client;

import org.junit.jupiter.api.*;
import io.deephaven.benchmark.tests.standard.StandardTestRunner;

/**
* Standard benchmark for Barrage client snapshot throughput. Snapshots a two-column table from the source server.
*/
public class BarrageClientTest {
final StandardTestRunner runner = new StandardTestRunner(this);

@BeforeEach
void setup() {
runner.tables("source");
var q = """
from deephaven.barrage import barrage_session
session = barrage_session("localhost", 10000, auth_type="Anonymous")
""";
runner.addSetupQuery(q);
}

@Test
void snapshot() {
runner.setScaleFactors(6, 0);
var q = "result = session.snapshot(b's/source')";
Comment thread
stanbrub marked this conversation as resolved.
runner.test("Client- Barrage Snapshot", q, "key1", "num1");
}

}
Loading