From: normalperson@... Date: 2015-07-28T05:07:24+00:00 Subject: [ruby-core:70141] [Ruby trunk - Bug #11397] [Open] rubygems tests slow after r51384 Issue #11397 has been reported by Eric Wong. ---------------------------------------- Bug #11397: rubygems tests slow after r51384 https://bugs.ruby-lang.org/issues/11397 * 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/