Sha256: 09bb79b3eeb78184a29868315bdc89f84abf650b0e3435bc2f3b7cb91910b2ce

Contents?: true

Size: 361 Bytes

Versions: 17

Compression:

Stored size: 361 Bytes

Contents

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

require "memory_profiler"
require "public_suffix"

PublicSuffix::List.default

report = MemoryProfiler.report do
  PublicSuffix.domain("www.example.com")
  PublicSuffix.domain("a.b.ide.kyoto.jp")
end

report.pretty_print
# report.pretty_print(to_file: 'profiler-%s-%d.txt' % [ARGV[0], Time.now.to_i])

Version data entries

17 entries across 16 versions & 4 rubygems

Version Path
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.4.0/gems/public_suffix-2.0.5/test/execution_profiler.rb
vagrant-unbundled-2.0.2.0 vendor/bundle/ruby/2.4.0/gems/public_suffix-2.0.5/test/execution_profiler.rb
vagrant-unbundled-2.0.1.0 vendor/bundle/ruby/2.4.0/gems/public_suffix-2.0.5/test/execution_profiler.rb
vagrant-unbundled-2.0.0.1 vendor/bundle/ruby/2.4.0/gems/public_suffix-2.0.5/test/execution_profiler.rb
vagrant-unbundled-1.9.8.1 vendor/bundle/ruby/2.4.0/gems/public_suffix-2.0.5/test/execution_profiler.rb
vagrant-unbundled-1.9.7.1 vendor/bundle/ruby/2.4.0/gems/public_suffix-2.0.5/test/execution_profiler.rb
tdiary-5.0.5 vendor/bundle/gems/public_suffix-2.0.5/test/execution_profiler.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/public_suffix-2.0.5/test/execution_profiler.rb
vagrant-unbundled-1.9.5.1 vendor/bundle/ruby/2.4.0/gems/public_suffix-2.0.5/test/execution_profiler.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/public_suffix-2.0.5/test/execution_profiler.rb
tdiary-5.0.4 vendor/bundle/gems/public_suffix-2.0.5/test/execution_profiler.rb
public_suffix-2.0.5 test/execution_profiler.rb
public_suffix-2.0.4 test/execution_profiler.rb
public_suffix-2.0.3 test/execution_profiler.rb
public_suffix-2.0.2 test/execution_profiler.rb
public_suffix-2.0.1 test/execution_profiler.rb
public_suffix-2.0.0 test/execution_profiler.rb