From: authorNari@... Date: 2014-09-26T09:28:04+00:00 Subject: [ruby-dev:48578] [ruby-trunk - misc #10297] [Open] r47670 make benchmark/bm_vm_thread_create_join.rb slow Issue #10297 has been reported by Narihiro Nakamura. ---------------------------------------- misc #10297: r47670 make benchmark/bm_vm_thread_create_join.rb slow https://bugs.ruby-lang.org/issues/10297 * Author: Narihiro Nakamura * Status: Open * Priority: Normal * Assignee: Akira Tanaka * Category: core * Target version: current: 2.2.0 ---------------------------------------- nariです。 r47670でbm_vm_thread_create_join.rbが10%ほど遅くなったようです。 スレッドをバンバン生成するベンチマークなので、スレッドに名前付けするところの影響がでているかなと思いました(が詳しいところは計測できていません…)。 r47669 % time ./miniruby -e '10000.times{ Thread.new{}.join }' ./miniruby -e '10000.times{ Thread.new{}.join }' 1.83s user 3.90s system 90% cpu 6.320 total r47670 % time ./miniruby -e '10000.times{ Thread.new{}.join }' ./miniruby -e '10000.times{ Thread.new{}.join }' 2.30s user 5.30s system 94% cpu 8.038 total -- https://bugs.ruby-lang.org/