From: shibata.hiroshi@... Date: 2015-07-28T11:38:11+00:00 Subject: [ruby-core:70151] [Ruby trunk - Bug #11397] rubygems tests slow after r51384 Issue #11397 has been updated by Hiroshi SHIBATA. Thank you Eric. We discussed this issue today. Your solution is good to me. Please commit it. ---------------------------------------- Bug #11397: rubygems tests slow after r51384 https://bugs.ruby-lang.org/issues/11397#change-53579 * Author: Eric Wong * Status: Open * Priority: Normal * Assignee: Hiroshi SHIBATA * ruby -v: * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- Attached is a proposed patch to memoize the tmp_dh_callback result for RubyGems, similar to what existing OpenSSL, DRb, Net::HTTP tests already do. Without this patch, make test-all TESTS='test/rubygems/ -v -j4' Runs for several minutes (I gave up waiting). This patch makes the rubygems tests run in under 20 seconds on my 32-bit system. OK to commit? ---Files-------------------------------- memoize_dh_response.patch (2.25 KB) -- https://bugs.ruby-lang.org/