Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/performance/grid_performance_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def perf_test_add_nodes():
+ "nodes = NodeArray.zeros({size});"
}

code_to_test = ["grid.append(nodes);"]
code_to_test = ["grid.append(nodes, check_max_id=False);"]

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

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

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

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

Expand All @@ -57,6 +57,6 @@ def perf_test_get_downstream_nodes_performance():


if __name__ == "__main__":
perf_test_get_downstream_nodes_performance()
# perf_test_get_downstream_nodes_performance()
perf_test_add_nodes()
perf_test_add_lines()