Skip to content

Commit a70584d

Browse files
committed
Fix discussion on inference timing
1 parent f9c7d19 commit a70584d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/tutorials/snoop_inference.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ The second number is the *inclusive* time, which is the exclusive time plus the
124124
Therefore, the inclusive time is always at least as large as the exclusive time.
125125

126126
The `ROOT` node is a bit different: its exclusive time measures the time spent on all operations *except* inference.
127-
In this case, we see that the entire call took approximately 10ms, of which 9.3ms was spent on activities besides inference.
127+
In this case, we see that the entire call took approximately 3.3ms, of which 2.7ms was spent on activities besides inference.
128128
Almost all of that was code-generation, but it also includes the time needed to run the code.
129-
Just 0.76ms was needed to run type-inference on this entire series of calls.
129+
Just 0.55ms was needed to run type-inference on this entire series of calls.
130130
As you will quickly discover, inference takes much more time on more complicated code.
131131

132132
We can also display this tree as a flame graph, using the [ProfileView.jl](https://github.com/timholy/ProfileView.jl) package:

0 commit comments

Comments
 (0)