Skip to content

Commit 5fcdeaf

Browse files
committed
fix?: reduce parallel visitors
1 parent 25e46e4 commit 5fcdeaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/benchmarks/test_visit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ def test_visit_all_ast_nodes(benchmark, big_schema_sdl): # noqa: F811
2323
def test_visit_all_ast_nodes_in_parallel(benchmark, big_schema_sdl): # noqa: F811
2424
document_ast = parse(big_schema_sdl)
2525
visitor = DummyVisitor()
26-
parallel_visitor = ParallelVisitor([visitor] * 50)
26+
parallel_visitor = ParallelVisitor([visitor] * 20)
2727
benchmark(lambda: visit(document_ast, parallel_visitor))

0 commit comments

Comments
 (0)