Project

General

Profile

« Previous | Next » 

Revision 4023637d

Added by segiddins (Samuel Giddins) almost 2 years ago

[rubygems/rubygems] Reduce allocations for stub specifications

This helps with memory usage during application boot time

==> memprof.after.txt <==
Total allocated: 1.43 MB (18852 objects)
Total retained:  421.12 kB (4352 objects)

==> memprof.before.txt <==
Total allocated: 2.43 MB (28355 objects)
Total retained:  469.69 kB (5425 objects)

See https://bugs.ruby-lang.org/issues/19890 about the readline
allocations

https://github.com/rubygems/rubygems/commit/d7eb66eee3