From d9cdbfaa7314bcb4aaf1247ed35810db1ba8a40c Mon Sep 17 00:00:00 2001 From: Ian Butterworth Date: Sat, 21 Sep 2024 07:55:43 -0400 Subject: [PATCH] add maxdepth=100 arg to print_tree (#394) --- docs/src/tutorials/snoop_inference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/tutorials/snoop_inference.md b/docs/src/tutorials/snoop_inference.md index ebd1389a..f5b9f1dc 100644 --- a/docs/src/tutorials/snoop_inference.md +++ b/docs/src/tutorials/snoop_inference.md @@ -89,7 +89,7 @@ We can do that with the [AbstractTrees](https://github.com/JuliaCollections/Abst ```jldoctest flatten-demo; filter=[r"[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?", r"Main\.var\"Main\"\."] julia> using AbstractTrees -julia> print_tree(tinf) +julia> print_tree(tinf, maxdepth=100) InferenceTimingNode: 0.002712/0.003278 on Core.Compiler.Timings.ROOT() with 1 direct children └─ InferenceTimingNode: 0.000133/0.000566 on FlattenDemo.packintype(::Int64) with 2 direct children ├─ InferenceTimingNode: 0.000094/0.000094 on FlattenDemo.MyType{Int64}(::Int64) with 0 direct children