Commit graph

5 commits

Author SHA1 Message Date
Bill Yang
5cc4e08f80 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.
2025-03-23 23:23:11 -07:00
Bill Yang
ad2a01eec9 Optimize session event generation and enhance data handling
- Introduced a highly optimized version of the session event generation function, focusing on performance improvements and reduced memory usage.
- Implemented pre-allocation of arrays and caching of commonly used session data to enhance event creation speed.
- Simplified session data generation by utilizing device profile templates and pre-generated arrays for faster random selection.
- Enhanced timestamp generation logic to focus on realistic traffic patterns, improving the accuracy of event timestamps.
- Integrated worker threads for parallel processing, significantly boosting the overall data generation throughput.
2025-03-23 23:20:03 -07:00
Bill Yang
8c7a115b8e Implement optimized session event generation and session data handling
- Introduced a new optimized version of the session event generation function to enhance performance and reduce memory usage.
- Pre-allocated arrays for event storage to improve speed during event creation.
- Cached commonly used session data to minimize repeated property lookups, further boosting efficiency.
- Simplified session data generation by utilizing pre-generated arrays for faster random selection of browser, OS, and other parameters.
- Enhanced timestamp generation logic to focus on realistic traffic patterns, improving the overall accuracy of event timestamps.
2025-03-23 23:11:23 -07:00
Bill Yang
19d219a669 Refactor event generation logic for improved memory efficiency and performance
- Changed the event storage approach from a single large array to batch arrays to manage memory usage better.
- Introduced a new constant for batch size to optimize event handling during generation.
- Updated the insertion process to handle events in smaller, more manageable batches, enhancing throughput.
- Ensured the final event array is constructed efficiently by flattening the batch arrays based on the actual event count.
2025-03-23 23:03:22 -07:00
Bill Yang
dbe66cf5c8 Refactor Filters component to improve parameter handling and UI clarity
- Updated the Filters component to support dynamic parameter labels for better user experience.
- Enhanced filtering options by adding support for new parameters, including "event_name".
- Streamlined the code by removing unused console logs and improving overall readability.
2025-03-23 22:53:45 -07:00