Sha256: b94690b93f51dafae0856208a104cfb95115168227ff4e4354e37bdee96de0a6
Contents?: true
Size: 706 Bytes
Versions: 1
Compression:
Stored size: 706 Bytes
Contents
module Flows module Plugin module Profiler class Report class Tree < Report # @api private class Node attr_reader :subject, :executions def initialize(subject:) @subject = subject @children = {} @cache = {} @executions = [] end def [](subject) @children[subject] ||= Node.new(subject: subject) end def children @children.values end def register_execution(microseconds) @executions << microseconds end end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
flows-0.6.0 | lib/flows/plugin/profiler/report/tree/node.rb |