Sha256: 78e2b7531b85883bde0b2495cece7f9d4601c6eef3f94a0dfa784ca4d9c913d8

Contents?: true

Size: 262 Bytes

Versions: 1

Compression:

Stored size: 262 Bytes

Contents

#! /usr/bin/env ruby

require 'benchmark'
require 'itaiji'

converter = Itaiji::Converter.new

Benchmark.bm do |benchmark|
  benchmark.report do
    10000.times do
      converter.seijitai("齊藤正澔")
      converter.itaiji("斉藤正浩")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
itaiji-0.3.0 bin/performance