Skip to content

Commit 62c6cde

Browse files
committed
fix constants for graph performance tests
Signed-off-by: Thijs Baaijen <[email protected]>
1 parent a3d3e7e commit 62c6cde

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

tests/performance/_constants.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
}
1515

1616
GRAPH_SETUP_CODES = {
17-
"rustworkx": "from power_grid_model_ds.model.grids.base import Grid;"
18-
+ "from power_grid_model_ds.data_source.generator.grid_generators import RadialGridGenerator;"
19-
+ "from power_grid_model_ds.model.graphs.models import RustworkxGraphModel;"
17+
"rustworkx": "from power_grid_model_ds import Grid;"
18+
+ "from power_grid_model_ds.generators import RadialGridGenerator;"
19+
+ "from power_grid_model_ds.graph_models import RustworkxGraphModel;"
2020
+ "grid=RadialGridGenerator(nr_nodes={graph_size}, grid_class=Grid, graph_model=RustworkxGraphModel).run()",
2121
}
2222

tests/performance/graph_performance_tests.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
# pylint: disable=missing-function-docstring
88

99
GRAPH_SIZES = [100, 500, 1000, 5000]
10-
GRAPH_SIZES = [100, 500, 1000]
1110

1211

1312
def perftest_initialize():

0 commit comments

Comments
 (0)