Module: Bulldogger::FramesMethod
- Defined in:
- lib/bulldogger/frames_collector.rb
Class Method Summary collapse
-
.normalize(method_id) ⇒ Object
CRuby seeds String#hash per process, and compiled template method names embed it.
Class Method Details
.normalize(method_id) ⇒ Object
CRuby seeds String#hash per process, and compiled template method names embed it. Folding numeric segments keeps frame identities stable across isolated runs.
9 10 11 |
# File 'lib/bulldogger/frames_collector.rb', line 9 def normalize(method_id) method_id.to_s.gsub(/_{2,3}-?\d{6,}_\d+/, "__HASH__") end |