Skip to content

Commit b73199b

Browse files
committed
Changed: Test if benchmark failed
1 parent a8b8779 commit b73199b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/node/test_node_benchmark.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,10 @@ def run_construct_node(depth: int, width: int = 1, parent_node: Node = None) ->
2525

2626

2727
def test_node_benchmark_width_1_depth_10(benchmark):
28-
benchmark.pedantic(run_construct_node, (10, 1), iterations=10, rounds=2)
28+
benchmark.pedantic(run_construct_node, (1000, 1), iterations=10, rounds=2)
2929

3030

3131
def test_node_benchmark_width_1_depth_100(benchmark):
32-
import time
33-
34-
time.sleep(10)
3532
benchmark.pedantic(run_construct_node, (100, 1), iterations=10, rounds=2)
3633

3734

0 commit comments

Comments
 (0)