Optimize session event generation and data handling for improved performance

- Refactored the session event generation function to enhance speed and reduce memory usage.
- Implemented pre-allocation of arrays and caching of session data to streamline event creation.
- Simplified session data generation using pre-generated arrays for faster random selection of parameters.
- Enhanced timestamp generation logic to reflect realistic traffic patterns, improving event accuracy.
- Adjusted batch processing for event handling to optimize memory management and throughput.
This commit is contained in:
Bill Yang 2025-03-23 23:23:11 -07:00
parent ad2a01eec9
commit 5cc4e08f80

File diff suppressed because it is too large Load diff