From 8b2967974dab8dec331166e14e5106df93be5c92 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Tue, 11 Feb 2020 14:30:32 +0100 Subject: [PATCH] Hardcode longest stlib name in sysimg.jl. --- base/sysimg.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/sysimg.jl b/base/sysimg.jl index 27b25069cf11d..5dd2e36b8bd76 100644 --- a/base/sysimg.jl +++ b/base/sysimg.jl @@ -49,7 +49,7 @@ let :Statistics, ] - maxlen = maximum(textwidth.(string.(stdlibs))) + maxlen = 14 # number of chars in longest stdlib name print_time = (mod, t) -> (print(rpad(string(mod) * " ", maxlen + 3, "─")); Base.time_print(t * 10^9); println()) print_time(Base, (Base.end_base_include - Base.start_base_include) * 10^(-9))