You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just found that when I use RUBYGEMS_GEMDEPS and there are some gems in Gemfile that is from github. All command related to rubygems will become really slow.
Let me know if you need me to provide more information
Cheers
The text was updated successfully, but these errors were encountered:
leomao10
changed the title
performance issue with RUBYGEMS_GEMDEPS and gems from github
performance issue with RUBYGEMS_GEMDEPS when Gemfile has git repos
Oct 12, 2015
Running this with ruby 2.3.1 and rubygems 2.6.4 the results are:
github gems rubygems
bundle 0m5.090s 0m0.359s
gem --version 0m4.901s 0m0.172s
gem list tile 0m4.743s 0m0.230s
gem list tilt 0m4.754s 0m0.234s
gem help 0m5.161s 0m0.236s
It definitely looks like there is a performance issue there. My complete guess is that there is some automatic querying of the remote git repos going on during all the commands.
We're going to close this because it is so old, but if this problem is still happening with the latest version of RubyGems please feel free to let us know with a new issue!
Hi There,
I just found that when I use RUBYGEMS_GEMDEPS and there are some gems in Gemfile that is from github. All command related to rubygems will become really slow.
Here is the env I am testing:
And here is the Gemfile:
And here are the command I ran with time:
If I use gems from rubygems.org, then these commands will back to normal:
Here is the Gemfile:
And here are the command I ran and the time:
Here is a simple repo that I use to create this issue:
https://github.com/leomao10/gemdeps_demo
Let me know if you need me to provide more information
Cheers
The text was updated successfully, but these errors were encountered: