repository.rb

Path: lib/log4r/repository.rb
Last Update: Thu Apr 18 23:45:52 +0000 2013

: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

Required files

monitor   singleton  

[Validate]