summaryrefslogtreecommitdiff
path: root/benchmark/dir_empty_p.rb
blob: 8329c757cf9bae2e0a04b16de490922e89d8d47d (plain)
12345
require 'tmpdir' max = 100_000 Dir.mktmpdir('bm_dir_empty_p') do |dir| max.times { Dir.empty?(dir) } end 
close