Skip to content

Commit e0f6186

Browse files
add sysimage size to make output report
1 parent 7680f77 commit e0f6186

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contrib/generate_precompile.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,8 @@ let pre_output_time = time_ns()
453453
# Print report after sysimage has been saved so all time spent can be captured
454454
Base.postoutput() do
455455
output_time = time_ns() - pre_output_time
456-
print("Output ────── "); Base.time_print(output_time); println()
456+
print("Output ────── ")
457+
Base.time_print(output_time)
458+
println(" (sysimage size: ", Base.format_bytes(filesize(unsafe_string(Base.JLOptions().outputo))), ")")
457459
end
458460
end

0 commit comments

Comments
 (0)