Sha256: e187cb338b2405d581601543bfd74f5c72fcb3ae76073548d34615be4ca365dd
Contents?: true
Size: 350 Bytes
Versions: 3
Compression:
Stored size: 350 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ffaker-2.2.0 | scripts/benchmark.rb |
ffaker-2.1.0 | scripts/benchmark.rb |
ffaker-2.0.0 | scripts/benchmark.rb |