Expand description
Performance Optimization and Monitoring
This module provides performance monitoring, optimization utilities, and memory management improvements for Unity asset parsing.
Structs§
- Memory
Pool - Memory pool for reducing allocations
- Optimization
Settings - Performance optimization settings
- Performance
Metrics - Performance metrics for Unity asset parsing operations
- Performance
Stats - Performance statistics snapshot
- Performance
Timer - Performance timer for measuring operations
- Pooled
Item - An item borrowed from a memory pool
Functions§
- get_
buffer - Get a buffer from the global pool
- get_
global_ metrics - Global performance functions
- get_
performance_ stats - Get current performance statistics
- record_
cache_ hit - Record cache hit
- record_
cache_ miss - Record cache miss
- record_
file_ processed - Record that a file was processed
- record_
memory_ usage - Record memory usage
- record_
object_ parsed - Record that an object was parsed
- reset_
performance_ metrics - Reset global performance metrics
Type Aliases§
- Buffer
Pool - Buffer pool for byte vectors