分析器提供对GC
运行信息的访问,包括时间、长度和对象空间大小。GC
例子:
GC::Profiler.enable
require 'rdoc/rdoc'
GC::Profiler.report
GC::Profiler.disable
另见
、GC.count
和GC.malloc_allocated_size
GC.malloc_allocations
相关用法
- Ruby GC::Profiler.raw_data用法及代码示例
- Ruby GC::Profiler.result用法及代码示例
- Ruby GC.latest_compact_info用法及代码示例
- Ruby GC.latest_gc_info用法及代码示例
- Ruby GC.enable用法及代码示例
- Ruby GC.disable用法及代码示例
- Ruby GC.stress =用法及代码示例
- Ruby GC.start用法及代码示例
- Ruby Gem::Resolver::ComposedSet类用法及代码示例
- Ruby Gem::Resolver::Molinillo::SpecificationProvider.requirement_satisfied_by?用法及代码示例
- Ruby Gem::Resolver::Molinillo::DependencyGraph::Vertex.requirements用法及代码示例
- Ruby Gem::Resolver::Molinillo::DependencyGraph::Vertex.explicit_requirements用法及代码示例
- Ruby Gem::Resolver::Molinillo::Resolver::Resolution.base用法及代码示例
- Ruby Gem::Resolver::Molinillo::Resolver::Resolution.locked_requirement_named用法及代码示例
- Ruby Gem::Specification.authors用法及代码示例
- Ruby Gem::Specification.author=用法及代码示例
- Ruby Gem::Specification.bindir用法及代码示例
- Ruby Gem::Specification.files用法及代码示例
- Ruby Gem::Resolver::Molinillo::DependencyGraph::Vertex._recursive_successors用法及代码示例
- Ruby Gem::Resolver::Molinillo::Resolver::Resolution.resolver_ui用法及代码示例
- Ruby Gem::Security模块用法及代码示例
- Ruby Gem::RequestSet::GemDependencyAPI.group用法及代码示例
- Ruby Gem::Command.arguments用法及代码示例
- Ruby Gem::Version类用法及代码示例
- Ruby Gem::Specification.required_ruby_version=用法及代码示例
注:本文由纯净天空筛选整理自ruby-lang.org大神的英文原创作品 GC::Profiler模块。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。