Skip to content

Commit feb98fb

Browse files
authored
Fix broken performance test (#116)
* Fix broken performance test Signed-off-by: Thijs Baaijen <[email protected]> * Apply suggestion from @Thijss Signed-off-by: Thijs Baaijen <[email protected]> * Apply suggestion from @Thijss Signed-off-by: Thijs Baaijen <[email protected]> --------- Signed-off-by: Thijs Baaijen <[email protected]>
1 parent bd58e6d commit feb98fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/performance/grid_performance_tests.py

Lines changed: 2 additions & 2 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, check_max_id=False);"]
3636

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

0 commit comments

Comments
 (0)