How can I speed up Pkg.add () in Julia?

Take Cairo as an example, when I start Pkg.add("Cairo"), nothing is displayed in the console.

  • Is there a way for Pkg.add () to display more information when it works?
  • What steps does Pkg.add () perform? Download, compile?
  • Is it possible to speed it up? I was waiting 15 minutes all the time, nothing! Maybe a problem with Julia, or maybe a problem with the system, how can I say this?

Edit

Julia version: 0.3.9 (Installed using binary from julia-lang.org)
OS: Winsows 7 64bit.
CPU:  Core Duo 2.4GHz
RAM: 4G
Hard Disk: SSD

ping github.com passed, 0% loss.
Internet download speedtest: ~30 Mbps.

I don't know if this is normal: it took me 11 seconds to get the version.

PS C:\Users\Nick> Measure-Command {julia --version}


Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 11
Milliseconds      : 257
Ticks             : 112574737
TotalDays         : 0.000130294834490741
TotalHours        : 0.00312707602777778
TotalMinutes      : 0.187624561666667
TotalSeconds      : 11.2574737
TotalMilliseconds : 11257.4737

It took almost 2 minutes to download the Gadfly package:

julia> @time require("Gadfly")
elapsed time: 112.131236102 seconds (442839856 bytes allocated, 0.39% gc time)

Is it faster on Linux / Mac than on Windows? It is generally not difficult to create software on Windows; however, will performance improve if I build from source?

, , !

+4
1

. , - . Pkg.add ( Pkg), , Julia 0.4. , .

Pkg Julia v0.5, (19 2016 .). downloads, v0.5. ( , , .)

+2

All Articles