Skip to main content

Module performance_hints

Module performance_hints 

Source
Expand description

§Function-Level Performance Hinting System

This module provides a comprehensive performance hinting system that allows functions to declare their performance characteristics and optimization preferences.

Structs§

DurationRange
Expected duration range
ExecutionStats
Execution statistics for a function
MemoryRequirements
Memory requirements specification
PerformanceHintRegistry
Performance hint registry for functions
PerformanceHints
Performance characteristics of a function
PerformanceTracker
Function decorator for automatic performance tracking

Enums§

CacheBehavior
Cache behavior characteristics
ComplexityClass
Computational complexity classification
IoPattern
I/O operation characteristics
MemoryPattern
Memory access pattern classification
OptimizationLevel
Optimization level preferences
OptimizationRecommendation
Optimization recommendations based on performance analysis

Functions§

global_registry
Get the global performance hint registry