Sha256: 4ddc04e3979f482d74651d404d806a49538514377238404f2cc70a5e3973f51e
Contents?: true
Size: 332 Bytes
Versions: 10
Compression:
Stored size: 332 Bytes
Contents
$LOAD_PATH.unshift File.expand_path '../lib' require File.expand_path('../../lib/flamegraph', __FILE__) def ack(m, n) if (m == 0) n + 1 elsif (n == 0) ack(m - 1, 1) else ack(m - 1, ack(m, n - 1)) end end # graph = Flamegraph.generate do # ack(3,7) # end Flamegraph.generate("graph.html") do ack(3,7) end
Version data entries
10 entries across 10 versions & 1 rubygems