Created attachment 790168 [details] linewise profiling summary This profiling result was taken on the VM and not when my laptop ran out of memory. Nonetheless, it shows what ruby methods were using CPU time during the runtime of the hostnames module. Small explanation: % self: percentage of time a stack frame was on top of call stack % total: percentage of time a stack frame was visible on the call stack % name: name of ruby method, filename and line that is observed on the call stack More information about rbspy can be taken from https://rbspy.github.io/