Skip to content

Commit

Permalink
Mirror load test on C#
Browse files Browse the repository at this point in the history
  • Loading branch information
mamcx committed Feb 13, 2025
1 parent c233238 commit d7b02a2
Show file tree
Hide file tree
Showing 4 changed files with 660 additions and 149 deletions.
3 changes: 1 addition & 2 deletions crates/bench/load.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Mini-tool for executing load testing and call reducer functions.
import argparse
import subprocess
import sys
import time
from datetime import datetime, timedelta

Expand Down Expand Up @@ -77,7 +76,7 @@ def run(cli: str, database: str, init: list, load: list, frequency: float, durat
python load.py -d <database> -i <init_reducers> -l <load_reducers> [--no-cli] [-f <frequency>] [-s <seconds>]
Example:
python load.py -d quickstart -f 2 -s 10 -i "insert_bulk_small_rows 100" -l "queries 'small, inserts:10,query:10,deletes:10';"
python load.py -d quickstart -f 2 -s 10 -i "insert_bulk_small_rows 100" -l "queries 'small, inserts:10,queries:10,deletes:10';"
"""
parser = argparse.ArgumentParser()

Expand Down
6 changes: 6 additions & 0 deletions modules/benchmarks-cs/benchmarks-cs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,10 @@
<ProjectReference Include="../../crates/bindings-csharp/Runtime/Runtime.csproj" />
</ItemGroup>

<ItemGroup>
<None Remove="Bogus" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Bogus" Version="35.6.1" />
</ItemGroup>
</Project>
Loading

0 comments on commit d7b02a2

Please sign in to comment.