Sha256: f8567ba9bb925c27e047993928c6a52a9d266324196ca744d04bcc8c94ab3d48

Contents?: true

Size: 255 Bytes

Versions: 1

Compression:

Stored size: 255 Bytes

Contents

require 'benchmark/ips'
require_relative 'lib/jkf'

Benchmark.ips do |x|
  x.report('parse') do
    Dir['spec/*fixtures/**/*'].each do |file|
      Jkf.parse_file(file)
    rescue Jkf::FileTypeError, Jkf::Parser::ParseError
      # okay
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jkf-0.5.2 bench.rb