Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add "ftl bench" command #2884

Merged
merged 2 commits into from
Sep 28, 2024
Merged

feat: add "ftl bench" command #2884

merged 2 commits into from
Sep 28, 2024

Commits on Sep 28, 2024

  1. feat: add "ftl bench" command

    This benchmarks FTL calls at the specified concurrency level.
    
    eg.
    
    ```
    ~/dev/ftl $ ftl bench -j16 -c1024 echo.echo
    Starting benchmark
      Verb: echo.echo
      Count: 1024
      Parallelism: 16
    Results:
      Successes: 16384
      Errors: 0
    Timing percentiles:
      50%: 10.868375ms
      90%: 15.968125ms
      95%: 18.338459ms
      99%: 24.135084ms
    Standard deviation: ±3.713237ms
    ```
    alecthomas committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    e39cedf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ccac27f View commit details
    Browse the repository at this point in the history