Skip to content

Conversation

albertoperdomo2
Copy link

Summary

This PR adds a new rate type incremental to the suite of benchmarks. This new rate type starts at a specified initial rate --start-rate and linearly increases the request rate over time by --increment-factor, offering an optional rate limit --rate-limit to cap the maximum rate. This simulates, as the name implies, load ramp up along time.

Details

  • Added new CLI flags mentioned before: --start-rate, --increment-factor and --rate-limit.
  • Added a new profile IncrementalProfile class.
  • Implemented AsyncIncrementalStrategy scheduler strategy that handles the logic and includes the optional initial burst.
  • Updated the create_profile function to handle the new arguments.

Test Plan

Related Issues

  • Resolves #

  • "I certify that all code in this PR is my own, except as noted below."

Use of AI

  • Includes AI-assisted code completion
  • Includes code generated by an AI application
  • Includes AI-generated tests (NOTE: AI written tests should have a docstring that includes ## WRITTEN BY AI ##)

@albertoperdomo2 albertoperdomo2 marked this pull request as ready for review September 1, 2025 09:13
@albertoperdomo2 albertoperdomo2 changed the title WIP: Implement incremental rate type Implement incremental rate type Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant