Skip to content

Build a Concurrent async_benchmark.py Script #96

@CodNoob100

Description

@CodNoob100

The current scripts/benchmark.py tests injection latency sequentially in a for loop. Since the new Rust daemon is highly concurrent, this doesn't test its true throughput. Create a new async_benchmark.py script using asyncio.gather and httpx.AsyncClient to bombard the Gateway with hundreds of simultaneous concurrent requests to measure maximum requests-per-second (RPS).

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomershelp wantedExtra attention is neededpythonPull requests that update python code

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions