Module: Lrama::Report::Profile
- Defined in:
- lib/lrama/report/profile.rb
Class Method Summary collapse
-
.report_profile ⇒ Object
See “Profiling Lrama” in README.md for how to use.
Class Method Details
.report_profile ⇒ Object
See “Profiling Lrama” in README.md for how to use.
7 8 9 10 11 12 13 |
# File 'lib/lrama/report/profile.rb', line 7 def self.report_profile require "stackprof" StackProf.run(mode: :cpu, raw: true, out: 'tmp/stackprof-cpu-myapp.dump') do yield end end |