aboutsummaryrefslogtreecommitdiffstats
path: root/gem_prelude.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2023-09-18 19:18:21 -0700
committergit <svn-admin@ruby-lang.org>2023-11-26 22:07:39 +0000
commit08308fe3e8fd51f4445be9408a418d9ac6960921 (patch)
treeff07be79dbd8244dc512a8b55f2ae4d1f011baff /gem_prelude.rb
parentcc5d1bf026bcc5b4929a4f9d5e32d2fa5730348c (diff)
downloadruby-08308fe3e8fd51f4445be9408a418d9ac6960921.tar.gz
[rubygems/rubygems] Reduce allocations when installing gems with bundler
``` ==> memprof.after.txt <== Total allocated: 1.13 MB (2352 objects) Total retained: 10.08 kB (78 objects) ==> memprof.before.txt <== Total allocated: 46.27 MB (38439 objects) Total retained: 9.94 kB (75 objects) ``` Yes, we were allocating 45MB of arrays in `dependencies_installed?`, it was accidentally cubic. https://github.com/rubygems/rubygems/commit/13ab874388
Diffstat (limited to 'gem_prelude.rb')
0 files changed, 0 insertions, 0 deletions