Sha256: e1a8c71e69f5acfa83d47a0fcf1f1a19e607b45be91d11a0b274070589c611a2
Contents?: true
Size: 404 Bytes
Versions: 1
Compression:
Stored size: 404 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true require "bundler/setup" require "benchmark/ips" require "heap_profiler/full" FIXTURE_PATH = File.expand_path("../../test/fixtures/diffed-heap/allocated.heap", __FILE__) Benchmark.ips do |x| x.report("ruby") { HeapProfiler::Native.ruby_build_index(FIXTURE_PATH) } x.report("cpp") { HeapProfiler::Native.build_index(FIXTURE_PATH) } x.compare! end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
heap-profiler-0.1.0 | benchmark/indexing.rb |