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


take cairo example, when run pkg.add("cairo"), there's nothing displayed in console.

  1. is there way let pkg.add() display more information when working?
  2. what steps pkg.add() carry out? download, compile?
  3. is possible speed up? kept waiting 15 minutes, nothing out! maybe it's julia's problem, or maybe it's system's problem, how can 1 tell?

edit

julia version: 0.3.9 (installed using binary 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 whether normal: took me 11 seconds 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 

and took 2 minutes load gadfly package:

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

does runs faster on linux/mac on windows? not easy build software on windows; however, improve performance if build source?

julia awesome, hope works!

as mentioned colin t. bowers, particular case abnormally slow , indicates wrong installation. pkg.add (along other pkg operations) known slow on julia 0.4. luckily, issue has been fixed.

pkg operations have seen substantial increase in performance in julia v0.5, being released today (september 19, 2016). can go downloads page v0.5. (it might few hours before they're of time of writing.)


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -