Skip to content

Commit 044d037

Browse files
committed
Comment out irrelevant benchmarks
1 parent 592c2be commit 044d037

File tree

2 files changed

+34
-34
lines changed

2 files changed

+34
-34
lines changed

misc/python/materialize/scalability/schema/schema.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def init_sqls(self) -> list[str]:
5151
[
5252
f"CREATE TABLE t{t} (f1 INTEGER DEFAULT 1);",
5353
f"INSERT INTO t{t} DEFAULT VALUES;",
54-
f"CREATE OR REPLACE MATERIALIZED VIEW mv{t} AS SELECT count(*) AS count FROM t{t};",
54+
# f"CREATE OR REPLACE MATERIALIZED VIEW mv{t} AS SELECT count(*) AS count FROM t{t};",
5555
]
5656
)
5757

@@ -62,9 +62,9 @@ def init_sqls(self) -> list[str]:
6262
# index to be ready.
6363
if self.create_index:
6464
init_sqls.append(f"CREATE INDEX i{t} ON t{t} (f1);")
65-
init_sqls.append(f"CREATE INDEX mv_i{t} ON mv{t} (count);")
65+
# init_sqls.append(f"CREATE INDEX mv_i{t} ON mv{t} (count);")
6666
init_sqls.append(f"SELECT f1 from t{t};")
67-
init_sqls.append(f"SELECT count from mv{t};")
67+
# init_sqls.append(f"SELECT count from mv{t};")
6868

6969
return init_sqls
7070

misc/python/materialize/scalability/workload/workloads/dml_dql_workloads.py

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -7,59 +7,59 @@
77
# the Business Source License, use of this software will be governed
88
# by the Apache License, Version 2.0.
99
from materialize.scalability.operation.operations.operations import (
10-
InsertDefaultValues,
11-
SelectCount,
12-
SelectCountInMv,
13-
SelectLimit,
14-
SelectOne,
10+
#InsertDefaultValues,
11+
#SelectCount,
12+
#SelectCountInMv,
13+
#SelectLimit,
14+
#SelectOne,
1515
SelectStar,
16-
SelectUnionAll,
17-
Update,
16+
#SelectUnionAll,
17+
#Update,
1818
)
1919
from materialize.scalability.operation.scalability_operation import Operation
2020
from materialize.scalability.workload.workload_markers import DmlDqlWorkload
2121

2222

23-
class InsertWorkload(DmlDqlWorkload):
24-
def operations(self) -> list["Operation"]:
25-
return [InsertDefaultValues()]
23+
# class InsertWorkload(DmlDqlWorkload):
24+
# def operations(self) -> list["Operation"]:
25+
# return [InsertDefaultValues()]
2626

2727

28-
class SelectOneWorkload(DmlDqlWorkload):
29-
def operations(self) -> list["Operation"]:
30-
return [SelectOne()]
28+
# class SelectOneWorkload(DmlDqlWorkload):
29+
# def operations(self) -> list["Operation"]:
30+
# return [SelectOne()]
3131

3232

3333
class SelectStarWorkload(DmlDqlWorkload):
3434
def operations(self) -> list["Operation"]:
3535
return [SelectStar()]
3636

3737

38-
class SelectLimitWorkload(DmlDqlWorkload):
39-
def operations(self) -> list["Operation"]:
40-
return [SelectLimit()]
38+
# class SelectLimitWorkload(DmlDqlWorkload):
39+
# def operations(self) -> list["Operation"]:
40+
# return [SelectLimit()]
4141

4242

43-
class SelectCountWorkload(DmlDqlWorkload):
44-
def operations(self) -> list["Operation"]:
45-
return [SelectCount()]
43+
# class SelectCountWorkload(DmlDqlWorkload):
44+
# def operations(self) -> list["Operation"]:
45+
# return [SelectCount()]
4646

4747

48-
class SelectUnionAllWorkload(DmlDqlWorkload):
49-
def operations(self) -> list["Operation"]:
50-
return [SelectUnionAll()]
48+
# class SelectUnionAllWorkload(DmlDqlWorkload):
49+
# def operations(self) -> list["Operation"]:
50+
# return [SelectUnionAll()]
5151

5252

53-
class InsertAndSelectCountInMvWorkload(DmlDqlWorkload):
54-
def operations(self) -> list["Operation"]:
55-
return [InsertDefaultValues(), SelectCountInMv()]
53+
# class InsertAndSelectCountInMvWorkload(DmlDqlWorkload):
54+
# def operations(self) -> list["Operation"]:
55+
# return [InsertDefaultValues(), SelectCountInMv()]
5656

5757

58-
class InsertAndSelectLimitWorkload(DmlDqlWorkload):
59-
def operations(self) -> list["Operation"]:
60-
return [InsertDefaultValues(), SelectLimit()]
58+
# class InsertAndSelectLimitWorkload(DmlDqlWorkload):
59+
# def operations(self) -> list["Operation"]:
60+
# return [InsertDefaultValues(), SelectLimit()]
6161

6262

63-
class UpdateWorkload(DmlDqlWorkload):
64-
def operations(self) -> list["Operation"]:
65-
return [Update()]
63+
# class UpdateWorkload(DmlDqlWorkload):
64+
# def operations(self) -> list["Operation"]:
65+
# return [Update()]

0 commit comments

Comments
 (0)