Of course, it could be the time taken for starting ruby up that you're seeing here, too. I get times of about 0.015s for starting ruby and importing xapian: ie, for: time ruby -e "require 'xapian';" Checking that would be worthwhile, too. -- Richard