fix/test: benchmark
This commit is contained in:
20
BENCHMARK.md
20
BENCHMARK.md
@@ -16,18 +16,18 @@ Versions:
|
||||
=== Bench comparison (averages) ===
|
||||
metric parrhesia strfry nostr-rs-relay strfry/parrhesia nostr-rs/parrhesia
|
||||
-------------------------- --------- -------- -------------- ---------------- ------------------
|
||||
connect avg latency (ms) ↓ 10.00 3.00 2.50 0.30x 0.25x
|
||||
connect max latency (ms) ↓ 18.50 5.00 4.00 0.27x 0.22x
|
||||
echo throughput (TPS) ↑ 76972.00 68204.50 158779.00 0.89x 2.06x
|
||||
echo throughput (MiB/s) ↑ 42.15 38.15 86.95 0.91x 2.06x
|
||||
event throughput (TPS) ↑ 1749.00 3560.00 787.50 2.04x 0.45x
|
||||
event throughput (MiB/s) ↑ 1.15 2.30 0.50 2.00x 0.43x
|
||||
req throughput (TPS) ↑ 2463.00 1808.00 822.00 0.73x 0.33x
|
||||
req throughput (MiB/s) ↑ 13.00 11.70 2.25 0.90x 0.17x
|
||||
connect avg latency (ms) ↓ 11.50 3.50 2.50 0.30x 0.22x
|
||||
connect max latency (ms) ↓ 20.00 5.50 3.50 0.28x 0.17x
|
||||
echo throughput (TPS) ↑ 81805.50 62033.50 162281.50 0.76x 1.98x
|
||||
echo throughput (MiB/s) ↑ 44.75 34.65 88.90 0.77x 1.99x
|
||||
event throughput (TPS) ↑ 1524.50 3518.00 782.50 2.31x 0.51x
|
||||
event throughput (MiB/s) ↑ 1.00 2.25 0.50 2.25x 0.50x
|
||||
req throughput (TPS) ↑ 2539.00 1809.00 847.00 0.71x 0.33x
|
||||
req throughput (MiB/s) ↑ 12.45 11.70 2.35 0.94x 0.19x
|
||||
|
||||
Legend: ↑ higher is better, ↓ lower is better.
|
||||
Ratio columns are server/parrhesia (for ↓ metrics, <1.00x means that server is faster).
|
||||
|
||||
Run details:
|
||||
run 1: parrhesia(echo_tps=78336, event_tps=1796, req_tps=2493, connect_avg_ms=9) | strfry(echo_tps=70189, event_tps=3567, req_tps=1809, connect_avg_ms=3) | nostr-rs-relay(echo_tps=149317, event_tps=786, req_tps=854, connect_avg_ms=2)
|
||||
run 2: parrhesia(echo_tps=75608, event_tps=1702, req_tps=2433, connect_avg_ms=11) | strfry(echo_tps=66220, event_tps=3553, req_tps=1807, connect_avg_ms=3) | nostr-rs-relay(echo_tps=168241, event_tps=789, req_tps=790, connect_avg_ms=3)
|
||||
run 1: parrhesia(echo_tps=80431, event_tps=1427, req_tps=2546, connect_avg_ms=13) | strfry(echo_tps=61421, event_tps=3581, req_tps=1811, connect_avg_ms=3) | nostr-rs-relay(echo_tps=167436, event_tps=792, req_tps=897, connect_avg_ms=3)
|
||||
run 2: parrhesia(echo_tps=83180, event_tps=1622, req_tps=2532, connect_avg_ms=10) | strfry(echo_tps=62646, event_tps=3455, req_tps=1807, connect_avg_ms=4) | nostr-rs-relay(echo_tps=157127, event_tps=773, req_tps=797, connect_avg_ms=2)
|
||||
|
||||
Reference in New Issue
Block a user