-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(bench): implement random message and batch size for benchmarking
This commit introduces the ability to specify random message sizes and batch sizes in the benchmarking tool. The changes include: - Added support for specifying message size and batch size as either a single value or a range. - Updated the benchmarking logic to handle random sizes, ensuring that the tool can generate messages and batches with varying sizes. - Refactored the code to improve readability and maintainability, including the removal of unused code and the introduction of utility functions for common operations. - Enhanced the rate limiting mechanism to support byte-based limits, ensuring that the benchmarking tool can accurately simulate different network conditions.
- Loading branch information
Showing
41 changed files
with
1,756 additions
and
1,384 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.