Open
Description
As illustrated by :
PS> Measure-Command { julia --startup-file=no -e "println(1 + 2)" }
Days : 0
Hours : 0
Minutes : 0
Seconds : 5
Milliseconds : 853
Ticks : 58533488
TotalDays : 6.77470925925926E-05
TotalHours : 0.00162593022222222
TotalMinutes : 0.0975558133333333
TotalSeconds : 5.8533488
TotalMilliseconds : 5853.3488
Other times it is fine:
PS> Measure-Command { julia --startup-file=no -e "println(1 + 2)" }
Days : 0
Hours : 0
Minutes : 0
Seconds : 0
Milliseconds : 374
Ticks : 3749323
TotalDays : 4.33949421296296E-06
TotalHours : 0.000104147861111111
TotalMinutes : 0.00624887166666667
TotalSeconds : 0.3749323
TotalMilliseconds : 374.9323
The 5 second case sometimes happens when running the command in a fresh terminal. Subsequent calls are fine.
I have not observed this on 1.10.
julia> versioninfo()
Julia Version 1.11.1
Commit 8f5b7ca12a (2024-10-16 10:53 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 8 × Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, skylake)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)