class

Logarithm::Profiling

Inherits Reference < Object

CLI Performance Profiling Utilities

This module provides timing and profiling utilities specifically designed for CLI operations. It tracks execution time, resource usage, and provides detailed performance reports for optimization purposes.

Features:

  • Function-level timing with automatic reporting
  • CLI command timing and resource tracking
  • Performance benchmarking utilities
  • Memory usage profiling
  • CPU usage profiling during operations

Constructors

instance
Source

Class methods

end_measurement(name : String)
Source
measure(name : String, &)
Source
report(verbose : Bool = false)
Source
reset
Source
start_measurement(name : String)
Source

Instance methods

end_measurement(name : String)
Source
measure(name : String, &)
Source
measurement_summary
Source
measurements
Source
report(verbose : Bool = false)
Source
reset
Source
start_measurement(name : String)
Source

Nested types