4 ms·
I would encourage you to try this again on Julia 1.8. Startup time has improved a lot. A few minutes seems way too long to process some images. Even plotting sh
by nwvg_7257 4y ago
I would encourage you to try this again on Julia 1.8. Startup time has improved a lot. A few minutes seems way too long to process some images. Even plotting should happen within 20-30s now.
- doodlesdev 4y agoPossibly related recent discussion: https://news.ycombinator.com/item?id=35106488 https://news.ycombinator.com/item?id=35106488
- enriquto 4y agoWill try! The image warping was done by an external program. Julia was used just to multiply two matrices of size 3x3 for each image in the collection. Launching the interpreter took almost a whole second, the rest of the computation was instantaneous.
- dunefox 4y agoDid you launch Julia for each image separately?
- enriquto 4y agoYes. I was using julia as a shell calculator to multiply small matrices. Octave happens to be much faster for this (admittedly niche) use case.
- bluenose69 4y agoWorking this way is pretty common for small tasks. As has been suggested, Julia 1.9 is a lot faster than it was before. I find it's more like 4 seconds than 0.5 seconds, though. With plot.jl as $ cat plot.jl using Plots x = range(0, 10, length=100) y = sin.(x) plot(x, y) I find that $ time julia plot.jl yields 4.19s user 0.50s system 106% cpu 4.409 total
- deleted 4y ago[deleted]
- enriquto 4y agoPlotting is a complicated beast. If you just want to multiply matrices, there's no "using" statement and you get sub-second running times. Still geologically slow, but at least somewhat manageable.
- ViralBShah 4y agoStartup time for plots is down to <0.5s with Julia 1.9 (in beta).