14 changed files with 1798 additions and 79 deletions
@ -0,0 +1,8 @@ |
|||||||
|
|
||||||
|
RELAY_NAME: khatru-sqlite |
||||||
|
RELAY_URL: ws://khatru-sqlite:3334 |
||||||
|
TEST_TIMESTAMP: 2025-12-04T09:33:45+00:00 |
||||||
|
BENCHMARK_CONFIG: |
||||||
|
Events: 50000 |
||||||
|
Workers: 24 |
||||||
|
Duration: 60s |
||||||
@ -0,0 +1,43 @@ |
|||||||
|
Starting Network Graph Traversal Benchmark |
||||||
|
Relay URL: ws://next-orly-badger:8080 |
||||||
|
Workers: 24 |
||||||
|
Pubkeys: 100000, Follows per pubkey: 1-1000 |
||||||
|
|
||||||
|
╔════════════════════════════════════════════════════════╗ |
||||||
|
║ NETWORK GRAPH TRAVERSAL BENCHMARK (100k Pubkeys) ║ |
||||||
|
║ Relay: ws://next-orly-badger:8080 ║ |
||||||
|
╚════════════════════════════════════════════════════════╝ |
||||||
|
Generating 100000 deterministic pubkeys... |
||||||
|
2025/12/04 13:19:05 INFO: Successfully loaded embedded libsecp256k1 v5.0.0 from /tmp/orly-libsecp256k1/libsecp256k1.so |
||||||
|
Generated 10000/100000 pubkeys... |
||||||
|
Generated 20000/100000 pubkeys... |
||||||
|
Generated 30000/100000 pubkeys... |
||||||
|
Generated 40000/100000 pubkeys... |
||||||
|
Generated 50000/100000 pubkeys... |
||||||
|
Generated 60000/100000 pubkeys... |
||||||
|
Generated 70000/100000 pubkeys... |
||||||
|
Generated 80000/100000 pubkeys... |
||||||
|
Generated 90000/100000 pubkeys... |
||||||
|
Generated 100000/100000 pubkeys... |
||||||
|
Generated 100000 pubkeys in 2.473794335s |
||||||
|
Generating follow graph (1-1000 follows per pubkey)... |
||||||
|
Generated follow lists for 10000/100000 pubkeys... |
||||||
|
Generated follow lists for 20000/100000 pubkeys... |
||||||
|
Generated follow lists for 30000/100000 pubkeys... |
||||||
|
Generated follow lists for 40000/100000 pubkeys... |
||||||
|
Generated follow lists for 50000/100000 pubkeys... |
||||||
|
Generated follow lists for 60000/100000 pubkeys... |
||||||
|
Generated follow lists for 70000/100000 pubkeys... |
||||||
|
Generated follow lists for 80000/100000 pubkeys... |
||||||
|
Generated follow lists for 90000/100000 pubkeys... |
||||||
|
Generated follow lists for 100000/100000 pubkeys... |
||||||
|
Generated follow graph in 4.361425602s (avg 500.5 follows/pubkey, total 50048088 follows) |
||||||
|
|
||||||
|
Connecting to relay: ws://next-orly-badger:8080 |
||||||
|
Connected successfully! |
||||||
|
Creating follow list events via WebSocket... |
||||||
|
Queued 10000/100000 follow list events... |
||||||
|
Queued 20000/100000 follow list events... |
||||||
|
Queued 30000/100000 follow list events... |
||||||
|
1764854401568817🚨 NOTICE from ws://next-orly-badger:8080: 'EVENT processing failed' /go/pkg/mod/git.mleku.dev/mleku/nostr@v1.0.8/ws/client.go:326 |
||||||
|
1764854402773843🚨 failed to write message: %!w(*net.OpError=&{write tcp 0xc0001b0f30 0xc0001b0f60 {}}) /go/pkg/mod/git.mleku.dev/mleku/nostr@v1.0.8/ws/connection.go:63 |
||||||
@ -0,0 +1,63 @@ |
|||||||
|
Starting Network Graph Traversal Benchmark |
||||||
|
Relay URL: ws://rely-sqlite:3334 |
||||||
|
Workers: 24 |
||||||
|
Pubkeys: 100000, Follows per pubkey: 1-1000 |
||||||
|
|
||||||
|
╔════════════════════════════════════════════════════════╗ |
||||||
|
║ NETWORK GRAPH TRAVERSAL BENCHMARK (100k Pubkeys) ║ |
||||||
|
║ Relay: ws://rely-sqlite:3334 ║ |
||||||
|
╚════════════════════════════════════════════════════════╝ |
||||||
|
Generating 100000 deterministic pubkeys... |
||||||
|
2025/12/04 11:12:01 INFO: Successfully loaded embedded libsecp256k1 v5.0.0 from /tmp/orly-libsecp256k1/libsecp256k1.so |
||||||
|
Generated 10000/100000 pubkeys... |
||||||
|
Generated 20000/100000 pubkeys... |
||||||
|
Generated 30000/100000 pubkeys... |
||||||
|
Generated 40000/100000 pubkeys... |
||||||
|
Generated 50000/100000 pubkeys... |
||||||
|
Generated 60000/100000 pubkeys... |
||||||
|
Generated 70000/100000 pubkeys... |
||||||
|
Generated 80000/100000 pubkeys... |
||||||
|
Generated 90000/100000 pubkeys... |
||||||
|
Generated 100000/100000 pubkeys... |
||||||
|
Generated 100000 pubkeys in 2.699112464s |
||||||
|
Generating follow graph (1-1000 follows per pubkey)... |
||||||
|
Generated follow lists for 10000/100000 pubkeys... |
||||||
|
Generated follow lists for 20000/100000 pubkeys... |
||||||
|
Generated follow lists for 30000/100000 pubkeys... |
||||||
|
Generated follow lists for 40000/100000 pubkeys... |
||||||
|
Generated follow lists for 50000/100000 pubkeys... |
||||||
|
Generated follow lists for 60000/100000 pubkeys... |
||||||
|
Generated follow lists for 70000/100000 pubkeys... |
||||||
|
Generated follow lists for 80000/100000 pubkeys... |
||||||
|
Generated follow lists for 90000/100000 pubkeys... |
||||||
|
Generated follow lists for 100000/100000 pubkeys... |
||||||
|
Generated follow graph in 5.172393834s (avg 500.5 follows/pubkey, total 50048088 follows) |
||||||
|
|
||||||
|
Connecting to relay: ws://rely-sqlite:3334 |
||||||
|
Connected successfully! |
||||||
|
Creating follow list events via WebSocket... |
||||||
|
Queued 10000/100000 follow list events... |
||||||
|
Queued 20000/100000 follow list events... |
||||||
|
Queued 30000/100000 follow list events... |
||||||
|
Queued 40000/100000 follow list events... |
||||||
|
Queued 50000/100000 follow list events... |
||||||
|
Queued 60000/100000 follow list events... |
||||||
|
Queued 70000/100000 follow list events... |
||||||
|
Queued 80000/100000 follow list events... |
||||||
|
Queued 90000/100000 follow list events... |
||||||
|
Queued 100000/100000 follow list events... |
||||||
|
Created 100000 follow list events in 1m47.750797847s (928.07 events/sec, errors: 0) |
||||||
|
Avg latency: 5.218453ms, P95: 30.619168ms, P99: 66.455368ms |
||||||
|
|
||||||
|
Waiting for events to be processed... |
||||||
|
|
||||||
|
=== Third-Degree Graph Traversal Benchmark (Network) === |
||||||
|
Traversing 3 degrees of follows via WebSocket... |
||||||
|
Sampling 1000 pubkeys for traversal... |
||||||
|
Killed |
||||||
|
|
||||||
|
RELAY_NAME: rely-sqlite |
||||||
|
RELAY_URL: ws://rely-sqlite:3334 |
||||||
|
TEST_TYPE: Graph Traversal |
||||||
|
STATUS: FAILED |
||||||
|
TEST_TIMESTAMP: 2025-12-04T13:18:55+00:00 |
||||||
Loading…
Reference in new issue