-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow zef performance and usability comments #69
Comments
Agreed. First, i'll point out that this can already be solved by providing your own SpeedThe Initialization message at the start is shown so the user does not think the program is frozen when you start it, but is not tied to network activity.. Why does it start so slow? It's not because of the network connection (well usually its not, in your case it I understand it is), but rather because of rakudo's current Do not let this speed discrepency worry you though! There is work being done on the new READMEAgain I agree. |
I guess we can use a web service like As mentioned before, my corporate network is way slower with DNS request (long story that started with a power failure problem :) ) so you can think of it as the worst case to happen. But still it happened. I recently added |
Ah, but you misunderstand. The slow part is not parsing metadata per install, its rakudo itself loading the meta data json every time you start it (and also use at least 1 module). The filtering of the retrieved json is generally quick. This link shows the culprit: https://github.com/rakudo/rakudo/blob/nom/src/core/CompUnitRepo/Local/Installation.pm#L9 Note despite the name that it also loads modules, not just installs them (to be specific, it will load modules installed by it, while I had an idea the other day related to this topic though. I could create a ecosystem projects list clone but host it on github. Because We could also find a way to provide access to the project list via IP address instead of requiring a host name... maybe Thanks for adding zef to |
I've changed the default behavior so the package list is only updated when |
👍 |
NOTE: I need to re-add the mentioned functionality (to only update when needed or requested) to the new version of zef |
@azawawi is this still an issue or is it something we can close? |
Closing. Thanks for the reminder 👍 |
On my "slow" $work network, I am facing a problem while using
zef
. The "Initializing" part on every run is simply redundant. Why cant `zefcache module results like
panda`` for at least a day and provide an update command?So far,
zef
is the superior candidate architecture-wise. However, it needs to be as fast as possible sincezef
is going to be used a lot by programmers around the world once Perl 6 is successfully launched on Christmas.Also the
-v
option in the README.pod usage examples complicates the commands one has to type.The text was updated successfully, but these errors were encountered: