Module performance

Module performance 

Source
Expand description

Performance Optimization and Monitoring

This module provides performance monitoring, optimization utilities, and memory management improvements for Unity asset parsing.

Structs§

MemoryPool
Memory pool for reducing allocations
OptimizationSettings
Performance optimization settings
PerformanceMetrics
Performance metrics for Unity asset parsing operations
PerformanceStats
Performance statistics snapshot
PerformanceTimer
Performance timer for measuring operations
PooledItem
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§

BufferPool
Buffer pool for byte vectors