Skip to content

Commit

Permalink
remove benchmarks for deprecated classes
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrakenhoff committed Jun 26, 2024
1 parent 6eef039 commit 535f985
Showing 1 changed file with 0 additions and 86 deletions.
86 changes: 0 additions & 86 deletions tests/test_006_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,6 @@ def test_benchmark_write_series_pas(benchmark):
_ = benchmark(series_write, conn=conn)


@pytest.mark.benchmark(group="write_series")
@requires_pkg("pystore")
def test_benchmark_write_series_pystore(benchmark):
path = "./tests/data/pystore"
conn = pst.PystoreConnector("test", path)
_ = benchmark(series_write, conn=conn)


@pytest.mark.benchmark(group="write_series")
@requires_pkg("arctic")
def test_benchmark_write_series_arctic(benchmark):
connstr = "mongodb://localhost:27017/"
conn = pst.ArcticConnector("test", connstr)
_ = benchmark(series_write, conn=conn)


@pytest.mark.benchmark(group="write_series")
@requires_pkg("arcticdb")
def test_benchmark_write_series_arcticdb(benchmark):
Expand Down Expand Up @@ -73,22 +57,6 @@ def test_benchmark_read_series_pas(benchmark):
_ = benchmark(series_read, conn=conn)


@pytest.mark.benchmark(group="read_series")
@requires_pkg("pystore")
def test_benchmark_read_series_pystore(benchmark):
path = "./tests/data/pystore"
conn = pst.PystoreConnector("test", path)
_ = benchmark(series_read, conn=conn)


@pytest.mark.benchmark(group="read_series")
@requires_pkg("arctic")
def test_benchmark_read_series_arctic(benchmark):
connstr = "mongodb://localhost:27017/"
conn = pst.ArcticConnector("test", connstr)
_ = benchmark(series_read, conn=conn)


@pytest.mark.benchmark(group="read_series")
@requires_pkg("arcticdb")
def test_benchmark_read_series_arcticdb(benchmark):
Expand Down Expand Up @@ -145,24 +113,6 @@ def test_benchmark_write_model_pas(benchmark):
_ = benchmark(write_model, conn=conn, ml=ml)


@pytest.mark.benchmark(group="write_model")
@requires_pkg("pystore")
def test_benchmark_write_model_pystore(benchmark):
path = "./tests/data/pystore"
conn = pst.PystoreConnector("test", path)
ml = build_model(conn)
_ = benchmark(write_model, conn=conn, ml=ml)


@pytest.mark.benchmark(group="write_model")
@requires_pkg("arctic")
def test_benchmark_write_model_arctic(benchmark):
connstr = "mongodb://localhost:27017/"
conn = pst.ArcticConnector("test", connstr)
ml = build_model(conn)
_ = benchmark(write_model, conn=conn, ml=ml)


@pytest.mark.benchmark(group="write_model")
@requires_pkg("arcticdb")
def test_benchmark_write_model_arcticdb(benchmark):
Expand All @@ -187,24 +137,6 @@ def test_benchmark_write_model_nocheckts_pas(benchmark):
_ = benchmark(write_model_nocheckts, conn=conn, ml=ml)


@pytest.mark.benchmark(group="write_model")
@requires_pkg("pystore")
def test_benchmark_write_model_nocheckts_pystore(benchmark):
path = "./tests/data/pystore"
conn = pst.PystoreConnector("test", path)
ml = build_model(conn)
_ = benchmark(write_model_nocheckts, conn=conn, ml=ml)


@pytest.mark.benchmark(group="write_model")
@requires_pkg("arctic")
def test_benchmark_write_model_nocheckts_arctic(benchmark):
connstr = "mongodb://localhost:27017/"
conn = pst.ArcticConnector("test", connstr)
ml = build_model(conn)
_ = benchmark(write_model_nocheckts, conn=conn, ml=ml)


@pytest.mark.benchmark(group="write_model")
@requires_pkg("arcticdb")
def test_benchmark_write_model_nocheckts_arcticdb(benchmark):
Expand Down Expand Up @@ -235,24 +167,6 @@ def test_benchmark_read_model_pas(benchmark):
pst.util.delete_pas_connector(conn)


@pytest.mark.benchmark(group="read_model")
@requires_pkg("pystore")
def test_benchmark_read_model_pystore(benchmark):
path = "./tests/data/pystore"
conn = pst.PystoreConnector("test", path)
_ = benchmark(read_model, conn=conn)
pst.util.delete_pystore_connector(conn=conn)


@pytest.mark.benchmark(group="read_model")
@requires_pkg("arctic")
def test_benchmark_read_model_arctic(benchmark):
connstr = "mongodb://localhost:27017/"
conn = pst.ArcticConnector("test", connstr)
_ = benchmark(read_model, conn=conn)
pst.util.delete_arctic_connector(conn=conn)


@pytest.mark.benchmark(group="read_model")
@requires_pkg("arcticdb")
def test_benchmark_read_model_arcticdb(benchmark):
Expand Down

0 comments on commit 535f985

Please sign in to comment.