Sha256: 6ebe2217ffa0a7f64de9dce758210bb18727781f619aa78649a3d4be2b2e70db
Contents?: true
Size: 337 Bytes
Versions: 3
Compression:
Stored size: 337 Bytes
Contents
# frozen_string_literal: true module Lrama class Report module Profile # See "Profiling Lrama" in README.md for how to use. def self.report_profile require "stackprof" StackProf.run(mode: :cpu, raw: true, out: 'tmp/stackprof-cpu-myapp.dump') do yield end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lrama-0.7.0 | lib/lrama/report/profile.rb |
lrama-0.6.11 | lib/lrama/report/profile.rb |
lrama-0.6.10 | lib/lrama/report/profile.rb |