Sha256: 1711f99e5c815a37ac89da88017aa03450f4f0c55393cf5dbb75973471b1d50a

Contents?: true

Size: 309 Bytes

Versions: 1

Compression:

Stored size: 309 Bytes

Contents

require "benchmark"

N = 1000

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)

require 'tataki/base'
converter = Tataki::Converter::SkkJisyo.new(%w[M jinmei])

source = "かな漢字変換" * 100

puts Benchmark::CAPTION
puts Benchmark.measure {
  N.times do
    converter.to_kana(source)
  end
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tataki-0.0.4 benchmark/001-M_jinmei.rb