Skip to content

Commit 50e5fe0

Browse files
IanButterworthKristofferC
authored andcommitted
Add timing to precompile trace compile (#54962)
I think this tool is there mainly to see what's taking so long, so timing information is helpful. (cherry picked from commit f2558c4)
1 parent 34c3a63 commit 50e5fe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/loading.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2811,7 +2811,7 @@ function create_expr_cache(pkg::PkgId, input::String, output::String, output_o::
28112811
opts = `-O0 --output-ji $(output) --output-incremental=yes`
28122812
end
28132813

2814-
trace = isassigned(PRECOMPILE_TRACE_COMPILE) ? `--trace-compile=$(PRECOMPILE_TRACE_COMPILE[])` : ``
2814+
trace = isassigned(PRECOMPILE_TRACE_COMPILE) ? `--trace-compile=$(PRECOMPILE_TRACE_COMPILE[]) --trace-compile-timing` : ``
28152815
io = open(pipeline(addenv(`$(julia_cmd(;cpu_target)::Cmd)
28162816
$(flags)
28172817
$(opts)

0 commit comments

Comments
 (0)