Skip to content

Commit 66c821f

Browse files
committed
Fix broken performance test
Signed-off-by: Thijs Baaijen <[email protected]>
1 parent bd58e6d commit 66c821f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/performance/grid_performance_tests.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def perf_test_add_nodes():
1515
+ "nodes = NodeArray.zeros({size});"
1616
}
1717

18-
code_to_test = ["grid.append(nodes);"]
18+
code_to_test = ["grid.append(nodes, check_max_id=False);"]
1919

2020
do_performance_test(code_to_test, [10, 200, 1000], 100, setup_code)
2121

@@ -32,7 +32,7 @@ def perf_test_add_lines():
3232
+ "lines.to_node = nodes.id;"
3333
}
3434

35-
code_to_test = ["grid.append(lines);"]
35+
code_to_test = ["grid.append(lines, che ck_max_id=False);"]
3636

3737
do_performance_test(code_to_test, [10, 200, 1000], 100, setup_code)
3838

@@ -57,6 +57,6 @@ def perf_test_get_downstream_nodes_performance():
5757

5858

5959
if __name__ == "__main__":
60-
perf_test_get_downstream_nodes_performance()
60+
# perf_test_get_downstream_nodes_performance()
6161
perf_test_add_nodes()
6262
perf_test_add_lines()

0 commit comments

Comments
 (0)