Sha256: 38700fe093ade7f6dabbbd66188c00f648db44237aaf15bd6073d550df15bc47
Contents?: true
Size: 335 Bytes
Versions: 16
Compression:
Stored size: 335 Bytes
Contents
# encoding: UTF-8 $KCODE = 'u' unless "1.9".respond_to?(:encoding) require File.expand_path("../performance", __FILE__) require "benchmark" job = HTMLEntitiesJob.new job.all(100) # Warm up to give JRuby a fair shake. Benchmark.benchmark do |b| b.report("Encoding"){ job.encode(100) } b.report("Decoding"){ job.decode(100) } end
Version data entries
16 entries across 16 versions & 8 rubygems