Sha256: 8ceb10cd14893acf3ee3fe1e1673f3b6e613370874928c2fdc9e51d1db4374c5

Contents?: true

Size: 355 Bytes

Versions: 8

Compression:

Stored size: 355 Bytes

Contents

# encoding: UTF-8
$KCODE = 'u' unless "1.9".respond_to?(:encoding)

require File.join(File.dirname(__FILE__), "performance")
require "profiler"

job = HTMLEntitiesJob.new

puts "Encoding"
Profiler__::start_profile
job.encode(1)
Profiler__::print_profile($stdout)

puts "Decoding"
Profiler__::start_profile
job.decode(1)
Profiler__::print_profile($stdout)

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
htmlentities-4.3.1 perf/profile.rb
htmlentities-4.3.0 perf/profile.rb
htmlentities-4.2.4 perf/profile.rb
htmlentities-4.2.3 perf/profile.rb
htmlentities-4.2.2 perf/profile.rb
htmlentitties-4.2.1 perf/profile.rb
htmlentities-4.2.1 perf/profile.rb
htmlentities-4.2.0 perf/profile.rb