Project

General

Profile

« Previous | Next » 

Revision 5c11dea4

Added by segiddins (Samuel Giddins) almost 2 years ago

[rubygems/rubygems] Reduce allocations when parsing lockfile

==> memprof.after.txt <==
Total allocated: 673.08 kB (7644 objects)
Total retained:  107.35 kB (1018 objects)

==> memprof.before.txt <==
Total allocated: 739.12 kB (9140 objects)
Total retained:  138.61 kB (1695 objects)

Savings will scale by the number of lines in the lockfile

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