5 ms·
By half a second I obviously didn't mean 0.5 seconds but rather a very short duration that I didn't bother to measure. Edit: Now I bothered to measure. You wer
by dunefox 6y ago
By half a second I obviously didn't mean 0.5 seconds but rather a very short duration that I didn't bother to measure.
Edit: Now I bothered to measure. You were saying?
~ time julia -E "1+1"
2
julia -E "1+1" 0,59s user 0,14s system 153% cpu 0,476 total
~ time julia -E "sum(sin.(rand(1000000)))"
459807.21199623536
julia -E "sum(sin.(rand(1000000)))" 1,01s user 0,17s system 125% cpu 0,948 total
- ViralBShah 6y agoWhich version of Julia are you using? My main point was that while half a second (~0.5s) is perceptible startup time, ~0.1s is not. Is it a much older system than mine? I have a 2.3GHz Core i5 from about 2017.