You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Detailed Benchmark Progress Tracking and Enhanced Report Generation Features (#28)
## Summary
This PR introduces enhancements to the benchmarking and report
generation functionalities in the GuideLLM project. Key updates include
the integration of detailed progress tracking using the rich library,
improvements to performance statistics, and adjustments to report output
formats.
## Details
- Added `BenchmarkReportProgress` class to manage real-time progress
updates for benchmarks and report generation using `rich`.
- Updated the report structure to include comprehensive performance
statistics, such as request latency, time to first token, and
inter-token latency.
- Introduced new methods to generate detailed tables summarizing
requests, data tokens, and performance metrics in reports.
- Enhanced the executor logic to handle different benchmark modes (e.g.,
sweep, synchronous, throughput) more effectively.
- Refined error handling and logging for better clarity and debugging.
- Modified unit tests to cover new functionalities and ensure robustness
across various scenarios.
- Adjusted configuration and settings to optimize benchmarking
capabilities and ensure consistent output.
## Test Plan
- Added new unit tests to verify the functionality of
`BenchmarkReportProgress` and other report generation methods.
- Performed end-to-end testing of different benchmark modes to ensure
accurate real-time progress tracking and report generation.
- Verified that all existing tests pass without any regression failures.
<img width="716" alt="Screen Shot 2024-08-22 at 4 21 29 AM"
src="https://github.com/user-attachments/assets/cf336607-3be2-47aa-b570-5bf7c44da1be">
<img width="1279" alt="Screen Shot 2024-08-22 at 4 59 21 AM"
src="https://github.com/user-attachments/assets/fe6a167b-1fa3-41ca-b95d-882ddd08bc1c">
0 commit comments