Sha256: 852ce435241eb4763e6ae4b44a2bbb80b5400a7094b200b4b4d630811c064946
Contents?: true
Size: 348 Bytes
Versions: 10
Compression:
Stored size: 348 Bytes
Contents
require 'rubygems' require 'benchmark' N = 10_000 def run(name) require name Benchmark.bm do |rep| rep.report("generating #{N} names (#{name} #{FFaker::VERSION})") do N.times do FFaker::Name.name end end end $stdout.flush exit(0) end fork { run('faker') }; Process.wait fork { run('ffaker') }; Process.wait
Version data entries
10 entries across 10 versions & 1 rubygems