Path: | lib/log4r/repository.rb |
Last Update: | Thu Oct 04 04:10:58 +0000 2012 |
:nodoc:
Version: | $Id$ |
Using Thread.exclusive seems to be more efficient than using a class wide instance of Sync.synchronize in ruby 1.8.6 - Colby
Using Sync.synchronize, 5000 iterations: real 3m55.493s user 3m45.557s sys 0m3.478s
Using Thread.exclusive, 5000 iterations: real 2m35.859s user 2m33.951s sys 0m1.224s