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

Conversation

alecthomas
Copy link
Collaborator

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 alecthomas requested a review from a team as a code owner September 28, 2024 06:01
@alecthomas alecthomas requested review from wesbillman and removed request for a team September 28, 2024 06:01
This was referenced Sep 28, 2024
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 alecthomas merged commit 647858f into main Sep 28, 2024
91 checks passed
@alecthomas alecthomas deleted the aat/bench-cmd branch September 28, 2024 06:25
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