9 changed files with 784 additions and 677 deletions
@ -1,190 +0,0 @@
@@ -1,190 +0,0 @@
|
||||
Starting Nostr Relay Benchmark |
||||
Data Directory: /tmp/benchmark_next-orly-alloc_8 |
||||
Events: 5000, Workers: 4, Duration: 30s |
||||
20250913114427235918 INF /tmp/benchmark_next-orly-alloc_8: All 0 tables opened in 0s |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/levels.go:161 /build/pkg/database/logger.go:57 |
||||
20250913114427236368 INF /tmp/benchmark_next-orly-alloc_8: Discard stats nextEmptySlot: 0 |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/discard.go:55 /build/pkg/database/logger.go:57 |
||||
20250913114427236420 INF /tmp/benchmark_next-orly-alloc_8: Set nextTxnTs to 0 |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/db.go:358 /build/pkg/database/logger.go:57 |
||||
20250913114427237054 INF (*types.Uint32)(0xc0000100f0)({ |
||||
value: (uint32) 1 |
||||
}) |
||||
/build/pkg/database/migrations.go:65 |
||||
20250913114427237113 INF migrating to version 1... /build/pkg/database/migrations.go:79 |
||||
|
||||
=== Starting test round 1/2 === |
||||
|
||||
=== Peak Throughput Test === |
||||
Events saved: 5000/5000 (100.0%) |
||||
Duration: 339.941208ms |
||||
Events/sec: 14708.43 |
||||
Avg latency: 264.237µs |
||||
P90 latency: 347.802µs |
||||
P95 latency: 383.139µs |
||||
P99 latency: 447.141µs |
||||
Bottom 10% Avg latency: 399.688µs |
||||
|
||||
=== Burst Pattern Test === |
||||
Burst completed: 500 events in 496.639004ms |
||||
Burst completed: 500 events in 395.431081ms |
||||
Burst completed: 500 events in 411.025866ms |
||||
Burst completed: 500 events in 419.57678ms |
||||
Burst completed: 500 events in 489.269517ms |
||||
Burst completed: 500 events in 428.035789ms |
||||
Burst completed: 500 events in 476.345049ms |
||||
Burst completed: 500 events in 515.739514ms |
||||
Burst completed: 500 events in 414.702914ms |
||||
Burst completed: 500 events in 440.760343ms |
||||
Burst test completed: 5000 events in 9.501434093s |
||||
Events/sec: 526.24 |
||||
|
||||
=== Mixed Read/Write Test === |
||||
Pre-populating database for read tests... |
||||
Mixed test completed: 2500 writes, 2500 reads in 23.63556576s |
||||
Combined ops/sec: 211.55 |
||||
|
||||
Pausing 10s before next round... |
||||
|
||||
=== Starting test round 2/2 === |
||||
|
||||
=== Peak Throughput Test === |
||||
Events saved: 5000/5000 (100.0%) |
||||
Duration: 413.941287ms |
||||
Events/sec: 12079.01 |
||||
Avg latency: 323.873µs |
||||
P90 latency: 436.851µs |
||||
P95 latency: 488.881µs |
||||
P99 latency: 650.429µs |
||||
Bottom 10% Avg latency: 522.984µs |
||||
|
||||
=== Burst Pattern Test === |
||||
Burst completed: 500 events in 271.506837ms |
||||
Burst completed: 500 events in 361.931625ms |
||||
Burst completed: 500 events in 381.160975ms |
||||
Burst completed: 500 events in 310.403881ms |
||||
Burst completed: 500 events in 388.695936ms |
||||
Burst completed: 500 events in 323.300662ms |
||||
Burst completed: 500 events in 249.590375ms |
||||
Burst completed: 500 events in 318.935421ms |
||||
Burst completed: 500 events in 361.329644ms |
||||
Burst completed: 500 events in 474.806655ms |
||||
Burst test completed: 5000 events in 8.457868323s |
||||
Events/sec: 591.17 |
||||
|
||||
=== Mixed Read/Write Test === |
||||
Pre-populating database for read tests... |
||||
Mixed test completed: 2500 writes, 2152 reads in 30.024551334s |
||||
Combined ops/sec: 154.94 |
||||
|
||||
================================================================================ |
||||
BENCHMARK REPORT |
||||
================================================================================ |
||||
|
||||
Test: Peak Throughput |
||||
Duration: 339.941208ms |
||||
Total Events: 5000 |
||||
Events/sec: 14708.43 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 142 MB |
||||
Avg Latency: 264.237µs |
||||
P90 Latency: 347.802µs |
||||
P95 Latency: 383.139µs |
||||
P99 Latency: 447.141µs |
||||
Bottom 10% Avg Latency: 399.688µs |
||||
---------------------------------------- |
||||
|
||||
Test: Burst Pattern |
||||
Duration: 9.501434093s |
||||
Total Events: 5000 |
||||
Events/sec: 526.24 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 192 MB |
||||
Avg Latency: 182.339µs |
||||
P90 Latency: 240.387µs |
||||
P95 Latency: 270.195µs |
||||
P99 Latency: 333.575µs |
||||
Bottom 10% Avg Latency: 284.192µs |
||||
---------------------------------------- |
||||
|
||||
Test: Mixed Read/Write |
||||
Duration: 23.63556576s |
||||
Total Events: 5000 |
||||
Events/sec: 211.55 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 199 MB |
||||
Avg Latency: 4.300403ms |
||||
P90 Latency: 8.510786ms |
||||
P95 Latency: 10.117687ms |
||||
P99 Latency: 12.490155ms |
||||
Bottom 10% Avg Latency: 10.404696ms |
||||
---------------------------------------- |
||||
|
||||
Test: Peak Throughput |
||||
Duration: 413.941287ms |
||||
Total Events: 5000 |
||||
Events/sec: 12079.01 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 134 MB |
||||
Avg Latency: 323.873µs |
||||
P90 Latency: 436.851µs |
||||
P95 Latency: 488.881µs |
||||
P99 Latency: 650.429µs |
||||
Bottom 10% Avg Latency: 522.984µs |
||||
---------------------------------------- |
||||
|
||||
Test: Burst Pattern |
||||
Duration: 8.457868323s |
||||
Total Events: 5000 |
||||
Events/sec: 591.17 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 185 MB |
||||
Avg Latency: 213.464µs |
||||
P90 Latency: 290.884µs |
||||
P95 Latency: 333.555µs |
||||
P99 Latency: 446.27µs |
||||
Bottom 10% Avg Latency: 360.86µs |
||||
---------------------------------------- |
||||
|
||||
Test: Mixed Read/Write |
||||
Duration: 30.024551334s |
||||
Total Events: 4652 |
||||
Events/sec: 154.94 |
||||
Success Rate: 93.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 137 MB |
||||
Avg Latency: 8.164383ms |
||||
P90 Latency: 17.857487ms |
||||
P95 Latency: 19.02409ms |
||||
P99 Latency: 21.306135ms |
||||
Bottom 10% Avg Latency: 19.344124ms |
||||
---------------------------------------- |
||||
|
||||
Report saved to: /tmp/benchmark_next-orly-alloc_8/benchmark_report.txt |
||||
AsciiDoc report saved to: /tmp/benchmark_next-orly-alloc_8/benchmark_report.adoc |
||||
20250913114629624246 INF /tmp/benchmark_next-orly-alloc_8: Lifetime L0 stalled for: 0s |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/db.go:536 /build/pkg/database/logger.go:57 |
||||
20250913114629944720 INF /tmp/benchmark_next-orly-alloc_8: |
||||
Level 0 [ ]: NumTables: 00. Size: 0 B of 0 B. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 64 MiB |
||||
Level 1 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 2 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 3 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 4 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 5 [B]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 6 [ ]: NumTables: 01. Size: 22 MiB of 22 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 4.0 MiB |
||||
Level Done |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/db.go:615 /build/pkg/database/logger.go:57 |
||||
20250913114629946593 INF /tmp/benchmark_next-orly-alloc_8: database closed /build/pkg/database/database.go:134 |
||||
|
||||
RELAY_NAME: next-orly-alloc |
||||
RELAY_URL: ws://next-orly-alloc:8080 |
||||
TEST_TIMESTAMP: 2025-09-13T11:46:29+00:00 |
||||
BENCHMARK_CONFIG: |
||||
Events: 5000 |
||||
Workers: 4 |
||||
Duration: 30s |
||||
@ -1,190 +0,0 @@
@@ -1,190 +0,0 @@
|
||||
Starting Nostr Relay Benchmark |
||||
Data Directory: /tmp/benchmark_next-orly-cpu_8 |
||||
Events: 5000, Workers: 4, Duration: 30s |
||||
20250913114010336003 INF /tmp/benchmark_next-orly-cpu_8: All 0 tables opened in 0s |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/levels.go:161 /build/pkg/database/logger.go:57 |
||||
20250913114010336560 INF /tmp/benchmark_next-orly-cpu_8: Discard stats nextEmptySlot: 0 |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/discard.go:55 /build/pkg/database/logger.go:57 |
||||
20250913114010336587 INF /tmp/benchmark_next-orly-cpu_8: Set nextTxnTs to 0 |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/db.go:358 /build/pkg/database/logger.go:57 |
||||
20250913114010336810 INF (*types.Uint32)(0xc00001084c)({ |
||||
value: (uint32) 1 |
||||
}) |
||||
/build/pkg/database/migrations.go:65 |
||||
20250913114010336840 INF migrating to version 1... /build/pkg/database/migrations.go:79 |
||||
|
||||
=== Starting test round 1/2 === |
||||
|
||||
=== Peak Throughput Test === |
||||
Events saved: 5000/5000 (100.0%) |
||||
Duration: 363.618589ms |
||||
Events/sec: 13750.67 |
||||
Avg latency: 283.533µs |
||||
P90 latency: 378.941µs |
||||
P95 latency: 413.136µs |
||||
P99 latency: 527.123µs |
||||
Bottom 10% Avg latency: 455.08µs |
||||
|
||||
=== Burst Pattern Test === |
||||
Burst completed: 500 events in 383.290907ms |
||||
Burst completed: 500 events in 379.055138ms |
||||
Burst completed: 500 events in 344.482762ms |
||||
Burst completed: 500 events in 304.126389ms |
||||
Burst completed: 500 events in 274.619763ms |
||||
Burst completed: 500 events in 322.887417ms |
||||
Burst completed: 500 events in 277.199103ms |
||||
Burst completed: 500 events in 425.906745ms |
||||
Burst completed: 500 events in 471.907615ms |
||||
Burst completed: 500 events in 444.002409ms |
||||
Burst test completed: 5000 events in 8.641128603s |
||||
Events/sec: 578.63 |
||||
|
||||
=== Mixed Read/Write Test === |
||||
Pre-populating database for read tests... |
||||
Mixed test completed: 2500 writes, 2500 reads in 23.666052402s |
||||
Combined ops/sec: 211.27 |
||||
|
||||
Pausing 10s before next round... |
||||
|
||||
=== Starting test round 2/2 === |
||||
|
||||
=== Peak Throughput Test === |
||||
Events saved: 5000/5000 (100.0%) |
||||
Duration: 379.673375ms |
||||
Events/sec: 13169.21 |
||||
Avg latency: 297.243µs |
||||
P90 latency: 393.52µs |
||||
P95 latency: 426.161µs |
||||
P99 latency: 508.367µs |
||||
Bottom 10% Avg latency: 445.997µs |
||||
|
||||
=== Burst Pattern Test === |
||||
Burst completed: 500 events in 375.562676ms |
||||
Burst completed: 500 events in 379.688521ms |
||||
Burst completed: 500 events in 339.807492ms |
||||
Burst completed: 500 events in 407.502127ms |
||||
Burst completed: 500 events in 347.61805ms |
||||
Burst completed: 500 events in 338.215243ms |
||||
Burst completed: 500 events in 420.579964ms |
||||
Burst completed: 500 events in 339.263061ms |
||||
Burst completed: 500 events in 318.379922ms |
||||
Burst completed: 500 events in 300.546668ms |
||||
Burst test completed: 5000 events in 8.580483954s |
||||
Events/sec: 582.72 |
||||
|
||||
=== Mixed Read/Write Test === |
||||
Pre-populating database for read tests... |
||||
Mixed test completed: 2500 writes, 2094 reads in 30.014099513s |
||||
Combined ops/sec: 153.06 |
||||
|
||||
================================================================================ |
||||
BENCHMARK REPORT |
||||
================================================================================ |
||||
|
||||
Test: Peak Throughput |
||||
Duration: 363.618589ms |
||||
Total Events: 5000 |
||||
Events/sec: 13750.67 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 143 MB |
||||
Avg Latency: 283.533µs |
||||
P90 Latency: 378.941µs |
||||
P95 Latency: 413.136µs |
||||
P99 Latency: 527.123µs |
||||
Bottom 10% Avg Latency: 455.08µs |
||||
---------------------------------------- |
||||
|
||||
Test: Burst Pattern |
||||
Duration: 8.641128603s |
||||
Total Events: 5000 |
||||
Events/sec: 578.63 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 193 MB |
||||
Avg Latency: 214.446µs |
||||
P90 Latency: 286.796µs |
||||
P95 Latency: 335.028µs |
||||
P99 Latency: 615.301µs |
||||
Bottom 10% Avg Latency: 421.658µs |
||||
---------------------------------------- |
||||
|
||||
Test: Mixed Read/Write |
||||
Duration: 23.666052402s |
||||
Total Events: 5000 |
||||
Events/sec: 211.27 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 102 MB |
||||
Avg Latency: 4.328995ms |
||||
P90 Latency: 8.541367ms |
||||
P95 Latency: 10.080396ms |
||||
P99 Latency: 12.597948ms |
||||
Bottom 10% Avg Latency: 10.363345ms |
||||
---------------------------------------- |
||||
|
||||
Test: Peak Throughput |
||||
Duration: 379.673375ms |
||||
Total Events: 5000 |
||||
Events/sec: 13169.21 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 119 MB |
||||
Avg Latency: 297.243µs |
||||
P90 Latency: 393.52µs |
||||
P95 Latency: 426.161µs |
||||
P99 Latency: 508.367µs |
||||
Bottom 10% Avg Latency: 445.997µs |
||||
---------------------------------------- |
||||
|
||||
Test: Burst Pattern |
||||
Duration: 8.580483954s |
||||
Total Events: 5000 |
||||
Events/sec: 582.72 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 171 MB |
||||
Avg Latency: 202.362µs |
||||
P90 Latency: 263.111µs |
||||
P95 Latency: 296.545µs |
||||
P99 Latency: 359.544µs |
||||
Bottom 10% Avg Latency: 307.91µs |
||||
---------------------------------------- |
||||
|
||||
Test: Mixed Read/Write |
||||
Duration: 30.014099513s |
||||
Total Events: 4594 |
||||
Events/sec: 153.06 |
||||
Success Rate: 91.9% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 138 MB |
||||
Avg Latency: 8.407338ms |
||||
P90 Latency: 17.892951ms |
||||
P95 Latency: 21.106647ms |
||||
P99 Latency: 26.270739ms |
||||
Bottom 10% Avg Latency: 21.626824ms |
||||
---------------------------------------- |
||||
|
||||
Report saved to: /tmp/benchmark_next-orly-cpu_8/benchmark_report.txt |
||||
AsciiDoc report saved to: /tmp/benchmark_next-orly-cpu_8/benchmark_report.adoc |
||||
20250913114211995528 INF /tmp/benchmark_next-orly-cpu_8: Lifetime L0 stalled for: 0s |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/db.go:536 /build/pkg/database/logger.go:57 |
||||
20250913114212319238 INF /tmp/benchmark_next-orly-cpu_8: |
||||
Level 0 [ ]: NumTables: 00. Size: 0 B of 0 B. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 64 MiB |
||||
Level 1 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 2 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 3 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 4 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 5 [B]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 6 [ ]: NumTables: 01. Size: 22 MiB of 22 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 4.0 MiB |
||||
Level Done |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/db.go:615 /build/pkg/database/logger.go:57 |
||||
20250913114212321065 INF /tmp/benchmark_next-orly-cpu_8: database closed /build/pkg/database/database.go:134 |
||||
|
||||
RELAY_NAME: next-orly-cpu |
||||
RELAY_URL: ws://next-orly-cpu:8080 |
||||
TEST_TIMESTAMP: 2025-09-13T11:42:12+00:00 |
||||
BENCHMARK_CONFIG: |
||||
Events: 5000 |
||||
Workers: 4 |
||||
Duration: 30s |
||||
@ -1,190 +0,0 @@
@@ -1,190 +0,0 @@
|
||||
Starting Nostr Relay Benchmark |
||||
Data Directory: /tmp/benchmark_next-orly-mem_8 |
||||
Events: 5000, Workers: 4, Duration: 30s |
||||
20250913114217371197 INF /tmp/benchmark_next-orly-mem_8: All 0 tables opened in 0s |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/levels.go:161 /build/pkg/database/logger.go:57 |
||||
20250913114217371717 INF /tmp/benchmark_next-orly-mem_8: Discard stats nextEmptySlot: 0 |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/discard.go:55 /build/pkg/database/logger.go:57 |
||||
20250913114217371747 INF /tmp/benchmark_next-orly-mem_8: Set nextTxnTs to 0 |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/db.go:358 /build/pkg/database/logger.go:57 |
||||
20250913114217372014 INF (*types.Uint32)(0xc0000100fc)({ |
||||
value: (uint32) 1 |
||||
}) |
||||
/build/pkg/database/migrations.go:65 |
||||
20250913114217372100 INF migrating to version 1... /build/pkg/database/migrations.go:79 |
||||
|
||||
=== Starting test round 1/2 === |
||||
|
||||
=== Peak Throughput Test === |
||||
Events saved: 5000/5000 (100.0%) |
||||
Duration: 353.88923ms |
||||
Events/sec: 14128.71 |
||||
Avg latency: 273.836µs |
||||
P90 latency: 365.325µs |
||||
P95 latency: 397.186µs |
||||
P99 latency: 469.604µs |
||||
Bottom 10% Avg latency: 417.518µs |
||||
|
||||
=== Burst Pattern Test === |
||||
Burst completed: 500 events in 375.971522ms |
||||
Burst completed: 500 events in 446.782317ms |
||||
Burst completed: 500 events in 470.554433ms |
||||
Burst completed: 500 events in 491.456408ms |
||||
Burst completed: 500 events in 468.172794ms |
||||
Burst completed: 500 events in 408.391929ms |
||||
Burst completed: 500 events in 447.580014ms |
||||
Burst completed: 500 events in 457.169251ms |
||||
Burst completed: 500 events in 479.515284ms |
||||
Burst completed: 500 events in 474.094546ms |
||||
Burst test completed: 5000 events in 9.534688959s |
||||
Events/sec: 524.40 |
||||
|
||||
=== Mixed Read/Write Test === |
||||
Pre-populating database for read tests... |
||||
Mixed test completed: 2500 writes, 2500 reads in 25.54544997s |
||||
Combined ops/sec: 195.73 |
||||
|
||||
Pausing 10s before next round... |
||||
|
||||
=== Starting test round 2/2 === |
||||
|
||||
=== Peak Throughput Test === |
||||
Events saved: 5000/5000 (100.0%) |
||||
Duration: 369.402349ms |
||||
Events/sec: 13535.38 |
||||
Avg latency: 289.113µs |
||||
P90 latency: 379.151µs |
||||
P95 latency: 412.575µs |
||||
P99 latency: 486.947µs |
||||
Bottom 10% Avg latency: 429.135µs |
||||
|
||||
=== Burst Pattern Test === |
||||
Burst completed: 500 events in 388.47726ms |
||||
Burst completed: 500 events in 367.258061ms |
||||
Burst completed: 500 events in 443.655199ms |
||||
Burst completed: 500 events in 364.303548ms |
||||
Burst completed: 500 events in 306.776349ms |
||||
Burst completed: 500 events in 305.273459ms |
||||
Burst completed: 500 events in 379.233497ms |
||||
Burst completed: 500 events in 377.586001ms |
||||
Burst completed: 500 events in 369.113691ms |
||||
Burst completed: 500 events in 333.996551ms |
||||
Burst test completed: 5000 events in 8.649351111s |
||||
Events/sec: 578.08 |
||||
|
||||
=== Mixed Read/Write Test === |
||||
Pre-populating database for read tests... |
||||
Mixed test completed: 2500 writes, 1996 reads in 30.025357572s |
||||
Combined ops/sec: 149.74 |
||||
|
||||
================================================================================ |
||||
BENCHMARK REPORT |
||||
================================================================================ |
||||
|
||||
Test: Peak Throughput |
||||
Duration: 353.88923ms |
||||
Total Events: 5000 |
||||
Events/sec: 14128.71 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 143 MB |
||||
Avg Latency: 273.836µs |
||||
P90 Latency: 365.325µs |
||||
P95 Latency: 397.186µs |
||||
P99 Latency: 469.604µs |
||||
Bottom 10% Avg Latency: 417.518µs |
||||
---------------------------------------- |
||||
|
||||
Test: Burst Pattern |
||||
Duration: 9.534688959s |
||||
Total Events: 5000 |
||||
Events/sec: 524.40 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 192 MB |
||||
Avg Latency: 179.076µs |
||||
P90 Latency: 231.24µs |
||||
P95 Latency: 255.006µs |
||||
P99 Latency: 303.558µs |
||||
Bottom 10% Avg Latency: 269.293µs |
||||
---------------------------------------- |
||||
|
||||
Test: Mixed Read/Write |
||||
Duration: 25.54544997s |
||||
Total Events: 5000 |
||||
Events/sec: 195.73 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 114 MB |
||||
Avg Latency: 5.044988ms |
||||
P90 Latency: 10.156837ms |
||||
P95 Latency: 11.501888ms |
||||
P99 Latency: 14.645443ms |
||||
Bottom 10% Avg Latency: 11.993477ms |
||||
---------------------------------------- |
||||
|
||||
Test: Peak Throughput |
||||
Duration: 369.402349ms |
||||
Total Events: 5000 |
||||
Events/sec: 13535.38 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 132 MB |
||||
Avg Latency: 289.113µs |
||||
P90 Latency: 379.151µs |
||||
P95 Latency: 412.575µs |
||||
P99 Latency: 486.947µs |
||||
Bottom 10% Avg Latency: 429.135µs |
||||
---------------------------------------- |
||||
|
||||
Test: Burst Pattern |
||||
Duration: 8.649351111s |
||||
Total Events: 5000 |
||||
Events/sec: 578.08 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 183 MB |
||||
Avg Latency: 201.741µs |
||||
P90 Latency: 263.752µs |
||||
P95 Latency: 297.136µs |
||||
P99 Latency: 358.212µs |
||||
Bottom 10% Avg Latency: 310.062µs |
||||
---------------------------------------- |
||||
|
||||
Test: Mixed Read/Write |
||||
Duration: 30.025357572s |
||||
Total Events: 4496 |
||||
Events/sec: 149.74 |
||||
Success Rate: 89.9% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 173 MB |
||||
Avg Latency: 8.802374ms |
||||
P90 Latency: 19.907605ms |
||||
P95 Latency: 22.490193ms |
||||
P99 Latency: 26.079898ms |
||||
Bottom 10% Avg Latency: 22.803343ms |
||||
---------------------------------------- |
||||
|
||||
Report saved to: /tmp/benchmark_next-orly-mem_8/benchmark_report.txt |
||||
AsciiDoc report saved to: /tmp/benchmark_next-orly-mem_8/benchmark_report.adoc |
||||
20250913114421864166 INF /tmp/benchmark_next-orly-mem_8: Lifetime L0 stalled for: 0s |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/db.go:536 /build/pkg/database/logger.go:57 |
||||
20250913114422185339 INF /tmp/benchmark_next-orly-mem_8: |
||||
Level 0 [ ]: NumTables: 00. Size: 0 B of 0 B. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 64 MiB |
||||
Level 1 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 2 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 3 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 4 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 5 [B]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 6 [ ]: NumTables: 01. Size: 22 MiB of 22 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 4.0 MiB |
||||
Level Done |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/db.go:615 /build/pkg/database/logger.go:57 |
||||
20250913114422187124 INF /tmp/benchmark_next-orly-mem_8: database closed /build/pkg/database/database.go:134 |
||||
|
||||
RELAY_NAME: next-orly-mem |
||||
RELAY_URL: ws://next-orly-mem:8080 |
||||
TEST_TIMESTAMP: 2025-09-13T11:44:22+00:00 |
||||
BENCHMARK_CONFIG: |
||||
Events: 5000 |
||||
Workers: 4 |
||||
Duration: 30s |
||||
@ -0,0 +1,190 @@
@@ -0,0 +1,190 @@
|
||||
Starting Nostr Relay Benchmark |
||||
Data Directory: /tmp/benchmark_next-orly-alloc_8 |
||||
Events: 5000, Workers: 4, Duration: 30s |
||||
20250913151255068694 INF /tmp/benchmark_next-orly-alloc_8: All 0 tables opened in 0s |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/levels.go:161 /build/pkg/database/logger.go:57 |
||||
20250913151255069225 INF /tmp/benchmark_next-orly-alloc_8: Discard stats nextEmptySlot: 0 |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/discard.go:55 /build/pkg/database/logger.go:57 |
||||
20250913151255069261 INF /tmp/benchmark_next-orly-alloc_8: Set nextTxnTs to 0 |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/db.go:358 /build/pkg/database/logger.go:57 |
||||
20250913151255069538 INF (*types.Uint32)(0xc00001010c)({ |
||||
value: (uint32) 1 |
||||
}) |
||||
/build/pkg/database/migrations.go:65 |
||||
20250913151255069681 INF migrating to version 1... /build/pkg/database/migrations.go:79 |
||||
|
||||
=== Starting test round 1/2 === |
||||
|
||||
=== Peak Throughput Test === |
||||
Events saved: 5000/5000 (100.0%) |
||||
Duration: 339.504298ms |
||||
Events/sec: 14727.35 |
||||
Avg latency: 264.477µs |
||||
P90 latency: 350.647µs |
||||
P95 latency: 382.538µs |
||||
P99 latency: 448.954µs |
||||
Bottom 10% Avg latency: 400.393µs |
||||
|
||||
=== Burst Pattern Test === |
||||
Burst completed: 500 events in 479.359678ms |
||||
Burst completed: 500 events in 425.596145ms |
||||
Burst completed: 500 events in 446.109496ms |
||||
Burst completed: 500 events in 378.033475ms |
||||
Burst completed: 500 events in 391.065418ms |
||||
Burst completed: 500 events in 409.089993ms |
||||
Burst completed: 500 events in 495.220448ms |
||||
Burst completed: 500 events in 493.489266ms |
||||
Burst completed: 500 events in 410.468883ms |
||||
Burst completed: 500 events in 418.819105ms |
||||
Burst test completed: 5000 events in 9.361610197s |
||||
Events/sec: 534.10 |
||||
|
||||
=== Mixed Read/Write Test === |
||||
Pre-populating database for read tests... |
||||
Mixed test completed: 2500 writes, 2500 reads in 24.078024733s |
||||
Combined ops/sec: 207.66 |
||||
|
||||
Pausing 10s before next round... |
||||
|
||||
=== Starting test round 2/2 === |
||||
|
||||
=== Peak Throughput Test === |
||||
Events saved: 5000/5000 (100.0%) |
||||
Duration: 358.887842ms |
||||
Events/sec: 13931.93 |
||||
Avg latency: 280.856µs |
||||
P90 latency: 366.297µs |
||||
P95 latency: 394.952µs |
||||
P99 latency: 451.52µs |
||||
Bottom 10% Avg latency: 409.325µs |
||||
|
||||
=== Burst Pattern Test === |
||||
Burst completed: 500 events in 362.96011ms |
||||
Burst completed: 500 events in 416.140454ms |
||||
Burst completed: 500 events in 448.460564ms |
||||
Burst completed: 500 events in 474.76808ms |
||||
Burst completed: 500 events in 447.434655ms |
||||
Burst completed: 500 events in 427.462963ms |
||||
Burst completed: 500 events in 413.117609ms |
||||
Burst completed: 500 events in 442.349391ms |
||||
Burst completed: 500 events in 464.157823ms |
||||
Burst completed: 500 events in 472.898161ms |
||||
Burst test completed: 5000 events in 9.381865696s |
||||
Events/sec: 532.94 |
||||
|
||||
=== Mixed Read/Write Test === |
||||
Pre-populating database for read tests... |
||||
Mixed test completed: 2500 writes, 2122 reads in 30.021046357s |
||||
Combined ops/sec: 153.96 |
||||
|
||||
================================================================================ |
||||
BENCHMARK REPORT |
||||
================================================================================ |
||||
|
||||
Test: Peak Throughput |
||||
Duration: 339.504298ms |
||||
Total Events: 5000 |
||||
Events/sec: 14727.35 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 142 MB |
||||
Avg Latency: 264.477µs |
||||
P90 Latency: 350.647µs |
||||
P95 Latency: 382.538µs |
||||
P99 Latency: 448.954µs |
||||
Bottom 10% Avg Latency: 400.393µs |
||||
---------------------------------------- |
||||
|
||||
Test: Burst Pattern |
||||
Duration: 9.361610197s |
||||
Total Events: 5000 |
||||
Events/sec: 534.10 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 192 MB |
||||
Avg Latency: 183.763µs |
||||
P90 Latency: 236.69µs |
||||
P95 Latency: 269.453µs |
||||
P99 Latency: 328.425µs |
||||
Bottom 10% Avg Latency: 284.22µs |
||||
---------------------------------------- |
||||
|
||||
Test: Mixed Read/Write |
||||
Duration: 24.078024733s |
||||
Total Events: 5000 |
||||
Events/sec: 207.66 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 105 MB |
||||
Avg Latency: 4.442571ms |
||||
P90 Latency: 8.682425ms |
||||
P95 Latency: 10.855199ms |
||||
P99 Latency: 12.949977ms |
||||
Bottom 10% Avg Latency: 10.754668ms |
||||
---------------------------------------- |
||||
|
||||
Test: Peak Throughput |
||||
Duration: 358.887842ms |
||||
Total Events: 5000 |
||||
Events/sec: 13931.93 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 122 MB |
||||
Avg Latency: 280.856µs |
||||
P90 Latency: 366.297µs |
||||
P95 Latency: 394.952µs |
||||
P99 Latency: 451.52µs |
||||
Bottom 10% Avg Latency: 409.325µs |
||||
---------------------------------------- |
||||
|
||||
Test: Burst Pattern |
||||
Duration: 9.381865696s |
||||
Total Events: 5000 |
||||
Events/sec: 532.94 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 175 MB |
||||
Avg Latency: 186.501µs |
||||
P90 Latency: 237.853µs |
||||
P95 Latency: 269.192µs |
||||
P99 Latency: 336.811µs |
||||
Bottom 10% Avg Latency: 287.769µs |
||||
---------------------------------------- |
||||
|
||||
Test: Mixed Read/Write |
||||
Duration: 30.021046357s |
||||
Total Events: 4622 |
||||
Events/sec: 153.96 |
||||
Success Rate: 92.4% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 129 MB |
||||
Avg Latency: 8.281607ms |
||||
P90 Latency: 17.758024ms |
||||
P95 Latency: 19.206379ms |
||||
P99 Latency: 24.13486ms |
||||
Bottom 10% Avg Latency: 20.330644ms |
||||
---------------------------------------- |
||||
|
||||
Report saved to: /tmp/benchmark_next-orly-alloc_8/benchmark_report.txt |
||||
AsciiDoc report saved to: /tmp/benchmark_next-orly-alloc_8/benchmark_report.adoc |
||||
20250913151458624980 INF /tmp/benchmark_next-orly-alloc_8: Lifetime L0 stalled for: 0s |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/db.go:536 /build/pkg/database/logger.go:57 |
||||
20250913151458946409 INF /tmp/benchmark_next-orly-alloc_8: |
||||
Level 0 [ ]: NumTables: 00. Size: 0 B of 0 B. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 64 MiB |
||||
Level 1 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 2 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 3 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 4 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 5 [B]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 6 [ ]: NumTables: 01. Size: 22 MiB of 22 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 4.0 MiB |
||||
Level Done |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/db.go:615 /build/pkg/database/logger.go:57 |
||||
20250913151458948689 INF /tmp/benchmark_next-orly-alloc_8: database closed /build/pkg/database/database.go:134 |
||||
|
||||
RELAY_NAME: next-orly-alloc |
||||
RELAY_URL: ws://next-orly-alloc:8080 |
||||
TEST_TIMESTAMP: 2025-09-13T15:14:58+00:00 |
||||
BENCHMARK_CONFIG: |
||||
Events: 5000 |
||||
Workers: 4 |
||||
Duration: 30s |
||||
@ -0,0 +1,190 @@
@@ -0,0 +1,190 @@
|
||||
Starting Nostr Relay Benchmark |
||||
Data Directory: /tmp/benchmark_next-orly-cpu_8 |
||||
Events: 5000, Workers: 4, Duration: 30s |
||||
20250913150837785506 INF /tmp/benchmark_next-orly-cpu_8: All 0 tables opened in 0s |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/levels.go:161 /build/pkg/database/logger.go:57 |
||||
20250913150837785985 INF /tmp/benchmark_next-orly-cpu_8: Discard stats nextEmptySlot: 0 |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/discard.go:55 /build/pkg/database/logger.go:57 |
||||
20250913150837786066 INF /tmp/benchmark_next-orly-cpu_8: Set nextTxnTs to 0 |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/db.go:358 /build/pkg/database/logger.go:57 |
||||
20250913150837786329 INF (*types.Uint32)(0xc0002b1cac)({ |
||||
value: (uint32) 1 |
||||
}) |
||||
/build/pkg/database/migrations.go:65 |
||||
20250913150837786374 INF migrating to version 1... /build/pkg/database/migrations.go:79 |
||||
|
||||
=== Starting test round 1/2 === |
||||
|
||||
=== Peak Throughput Test === |
||||
Events saved: 5000/5000 (100.0%) |
||||
Duration: 342.779064ms |
||||
Events/sec: 14586.66 |
||||
Avg latency: 266.404µs |
||||
P90 latency: 354.213µs |
||||
P95 latency: 386.835µs |
||||
P99 latency: 459.934µs |
||||
Bottom 10% Avg latency: 404.279µs |
||||
|
||||
=== Burst Pattern Test === |
||||
Burst completed: 500 events in 423.591594ms |
||||
Burst completed: 500 events in 454.585716ms |
||||
Burst completed: 500 events in 486.007191ms |
||||
Burst completed: 500 events in 503.830553ms |
||||
Burst completed: 500 events in 433.97967ms |
||||
Burst completed: 500 events in 427.591978ms |
||||
Burst completed: 500 events in 500.38276ms |
||||
Burst completed: 500 events in 489.161258ms |
||||
Burst completed: 500 events in 474.350023ms |
||||
Burst completed: 500 events in 350.911595ms |
||||
Burst test completed: 5000 events in 9.557316818s |
||||
Events/sec: 523.16 |
||||
|
||||
=== Mixed Read/Write Test === |
||||
Pre-populating database for read tests... |
||||
Mixed test completed: 2500 writes, 2500 reads in 24.103605311s |
||||
Combined ops/sec: 207.44 |
||||
|
||||
Pausing 10s before next round... |
||||
|
||||
=== Starting test round 2/2 === |
||||
|
||||
=== Peak Throughput Test === |
||||
Events saved: 5000/5000 (100.0%) |
||||
Duration: 372.362841ms |
||||
Events/sec: 13427.76 |
||||
Avg latency: 291.441µs |
||||
P90 latency: 380.663µs |
||||
P95 latency: 417.233µs |
||||
P99 latency: 494.64µs |
||||
Bottom 10% Avg latency: 434.725µs |
||||
|
||||
=== Burst Pattern Test === |
||||
Burst completed: 500 events in 417.269185ms |
||||
Burst completed: 500 events in 468.354112ms |
||||
Burst completed: 500 events in 443.231977ms |
||||
Burst completed: 500 events in 435.358047ms |
||||
Burst completed: 500 events in 380.799007ms |
||||
Burst completed: 500 events in 322.904743ms |
||||
Burst completed: 500 events in 354.234969ms |
||||
Burst completed: 500 events in 390.690665ms |
||||
Burst completed: 500 events in 392.317202ms |
||||
Burst completed: 500 events in 467.071067ms |
||||
Burst test completed: 5000 events in 9.085471121s |
||||
Events/sec: 550.33 |
||||
|
||||
=== Mixed Read/Write Test === |
||||
Pre-populating database for read tests... |
||||
Mixed test completed: 2500 writes, 2067 reads in 30.027760725s |
||||
Combined ops/sec: 152.09 |
||||
|
||||
================================================================================ |
||||
BENCHMARK REPORT |
||||
================================================================================ |
||||
|
||||
Test: Peak Throughput |
||||
Duration: 342.779064ms |
||||
Total Events: 5000 |
||||
Events/sec: 14586.66 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 142 MB |
||||
Avg Latency: 266.404µs |
||||
P90 Latency: 354.213µs |
||||
P95 Latency: 386.835µs |
||||
P99 Latency: 459.934µs |
||||
Bottom 10% Avg Latency: 404.279µs |
||||
---------------------------------------- |
||||
|
||||
Test: Burst Pattern |
||||
Duration: 9.557316818s |
||||
Total Events: 5000 |
||||
Events/sec: 523.16 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 192 MB |
||||
Avg Latency: 181.633µs |
||||
P90 Latency: 225.639µs |
||||
P95 Latency: 258.311µs |
||||
P99 Latency: 332.341µs |
||||
Bottom 10% Avg Latency: 277.625µs |
||||
---------------------------------------- |
||||
|
||||
Test: Mixed Read/Write |
||||
Duration: 24.103605311s |
||||
Total Events: 5000 |
||||
Events/sec: 207.44 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 108 MB |
||||
Avg Latency: 4.472533ms |
||||
P90 Latency: 8.862063ms |
||||
P95 Latency: 9.420264ms |
||||
P99 Latency: 12.991173ms |
||||
Bottom 10% Avg Latency: 10.293802ms |
||||
---------------------------------------- |
||||
|
||||
Test: Peak Throughput |
||||
Duration: 372.362841ms |
||||
Total Events: 5000 |
||||
Events/sec: 13427.76 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 125 MB |
||||
Avg Latency: 291.441µs |
||||
P90 Latency: 380.663µs |
||||
P95 Latency: 417.233µs |
||||
P99 Latency: 494.64µs |
||||
Bottom 10% Avg Latency: 434.725µs |
||||
---------------------------------------- |
||||
|
||||
Test: Burst Pattern |
||||
Duration: 9.085471121s |
||||
Total Events: 5000 |
||||
Events/sec: 550.33 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 177 MB |
||||
Avg Latency: 191.41µs |
||||
P90 Latency: 247.551µs |
||||
P95 Latency: 282.246µs |
||||
P99 Latency: 336.099µs |
||||
Bottom 10% Avg Latency: 290.757µs |
||||
---------------------------------------- |
||||
|
||||
Test: Mixed Read/Write |
||||
Duration: 30.027760725s |
||||
Total Events: 4567 |
||||
Events/sec: 152.09 |
||||
Success Rate: 91.3% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 173 MB |
||||
Avg Latency: 8.526682ms |
||||
P90 Latency: 18.686774ms |
||||
P95 Latency: 21.052665ms |
||||
P99 Latency: 24.581304ms |
||||
Bottom 10% Avg Latency: 21.498913ms |
||||
---------------------------------------- |
||||
|
||||
Report saved to: /tmp/benchmark_next-orly-cpu_8/benchmark_report.txt |
||||
AsciiDoc report saved to: /tmp/benchmark_next-orly-cpu_8/benchmark_report.adoc |
||||
20250913151041289202 INF /tmp/benchmark_next-orly-cpu_8: Lifetime L0 stalled for: 0s |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/db.go:536 /build/pkg/database/logger.go:57 |
||||
20250913151041613609 INF /tmp/benchmark_next-orly-cpu_8: |
||||
Level 0 [ ]: NumTables: 00. Size: 0 B of 0 B. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 64 MiB |
||||
Level 1 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 2 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 3 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 4 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 5 [B]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 6 [ ]: NumTables: 01. Size: 22 MiB of 22 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 4.0 MiB |
||||
Level Done |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/db.go:615 /build/pkg/database/logger.go:57 |
||||
20250913151041615724 INF /tmp/benchmark_next-orly-cpu_8: database closed /build/pkg/database/database.go:134 |
||||
|
||||
RELAY_NAME: next-orly-cpu |
||||
RELAY_URL: ws://next-orly-cpu:8080 |
||||
TEST_TIMESTAMP: 2025-09-13T15:10:41+00:00 |
||||
BENCHMARK_CONFIG: |
||||
Events: 5000 |
||||
Workers: 4 |
||||
Duration: 30s |
||||
@ -0,0 +1,190 @@
@@ -0,0 +1,190 @@
|
||||
Starting Nostr Relay Benchmark |
||||
Data Directory: /tmp/benchmark_next-orly-mem_8 |
||||
Events: 5000, Workers: 4, Duration: 30s |
||||
20250913151046664505 INF /tmp/benchmark_next-orly-mem_8: All 0 tables opened in 0s |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/levels.go:161 /build/pkg/database/logger.go:57 |
||||
20250913151046665322 INF /tmp/benchmark_next-orly-mem_8: Discard stats nextEmptySlot: 0 |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/discard.go:55 /build/pkg/database/logger.go:57 |
||||
20250913151046665358 INF /tmp/benchmark_next-orly-mem_8: Set nextTxnTs to 0 |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/db.go:358 /build/pkg/database/logger.go:57 |
||||
20250913151046665590 INF (*types.Uint32)(0xc00013fc1c)({ |
||||
value: (uint32) 1 |
||||
}) |
||||
/build/pkg/database/migrations.go:65 |
||||
20250913151046665622 INF migrating to version 1... /build/pkg/database/migrations.go:79 |
||||
|
||||
=== Starting test round 1/2 === |
||||
|
||||
=== Peak Throughput Test === |
||||
Events saved: 5000/5000 (100.0%) |
||||
Duration: 347.207269ms |
||||
Events/sec: 14400.62 |
||||
Avg latency: 269.084µs |
||||
P90 latency: 358.252µs |
||||
P95 latency: 390.313µs |
||||
P99 latency: 459.745µs |
||||
Bottom 10% Avg latency: 409.33µs |
||||
|
||||
=== Burst Pattern Test === |
||||
Burst completed: 500 events in 372.815911ms |
||||
Burst completed: 500 events in 385.472929ms |
||||
Burst completed: 500 events in 493.886155ms |
||||
Burst completed: 500 events in 499.001539ms |
||||
Burst completed: 500 events in 495.383911ms |
||||
Burst completed: 500 events in 463.681787ms |
||||
Burst completed: 500 events in 474.409848ms |
||||
Burst completed: 500 events in 507.35297ms |
||||
Burst completed: 500 events in 487.725706ms |
||||
Burst completed: 500 events in 473.3812ms |
||||
Burst test completed: 5000 events in 9.668130847s |
||||
Events/sec: 517.16 |
||||
|
||||
=== Mixed Read/Write Test === |
||||
Pre-populating database for read tests... |
||||
Mixed test completed: 2500 writes, 2500 reads in 23.457777521s |
||||
Combined ops/sec: 213.15 |
||||
|
||||
Pausing 10s before next round... |
||||
|
||||
=== Starting test round 2/2 === |
||||
|
||||
=== Peak Throughput Test === |
||||
Events saved: 5000/5000 (100.0%) |
||||
Duration: 363.793593ms |
||||
Events/sec: 13744.06 |
||||
Avg latency: 284.695µs |
||||
P90 latency: 372.509µs |
||||
P95 latency: 405.031µs |
||||
P99 latency: 461.949µs |
||||
Bottom 10% Avg latency: 418.636µs |
||||
|
||||
=== Burst Pattern Test === |
||||
Burst completed: 500 events in 468.131728ms |
||||
Burst completed: 500 events in 466.05048ms |
||||
Burst completed: 500 events in 348.112373ms |
||||
Burst completed: 500 events in 399.633064ms |
||||
Burst completed: 500 events in 442.046507ms |
||||
Burst completed: 500 events in 381.168926ms |
||||
Burst completed: 500 events in 362.016406ms |
||||
Burst completed: 500 events in 379.297871ms |
||||
Burst completed: 500 events in 457.958442ms |
||||
Burst completed: 500 events in 455.557676ms |
||||
Burst test completed: 5000 events in 9.174541855s |
||||
Events/sec: 544.99 |
||||
|
||||
=== Mixed Read/Write Test === |
||||
Pre-populating database for read tests... |
||||
Mixed test completed: 2500 writes, 2146 reads in 30.008115864s |
||||
Combined ops/sec: 154.82 |
||||
|
||||
================================================================================ |
||||
BENCHMARK REPORT |
||||
================================================================================ |
||||
|
||||
Test: Peak Throughput |
||||
Duration: 347.207269ms |
||||
Total Events: 5000 |
||||
Events/sec: 14400.62 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 143 MB |
||||
Avg Latency: 269.084µs |
||||
P90 Latency: 358.252µs |
||||
P95 Latency: 390.313µs |
||||
P99 Latency: 459.745µs |
||||
Bottom 10% Avg Latency: 409.33µs |
||||
---------------------------------------- |
||||
|
||||
Test: Burst Pattern |
||||
Duration: 9.668130847s |
||||
Total Events: 5000 |
||||
Events/sec: 517.16 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 192 MB |
||||
Avg Latency: 178.033µs |
||||
P90 Latency: 225.098µs |
||||
P95 Latency: 255.165µs |
||||
P99 Latency: 318.015µs |
||||
Bottom 10% Avg Latency: 267.252µs |
||||
---------------------------------------- |
||||
|
||||
Test: Mixed Read/Write |
||||
Duration: 23.457777521s |
||||
Total Events: 5000 |
||||
Events/sec: 213.15 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 103 MB |
||||
Avg Latency: 4.235413ms |
||||
P90 Latency: 8.39945ms |
||||
P95 Latency: 9.733877ms |
||||
P99 Latency: 12.359344ms |
||||
Bottom 10% Avg Latency: 10.173821ms |
||||
---------------------------------------- |
||||
|
||||
Test: Peak Throughput |
||||
Duration: 363.793593ms |
||||
Total Events: 5000 |
||||
Events/sec: 13744.06 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 121 MB |
||||
Avg Latency: 284.695µs |
||||
P90 Latency: 372.509µs |
||||
P95 Latency: 405.031µs |
||||
P99 Latency: 461.949µs |
||||
Bottom 10% Avg Latency: 418.636µs |
||||
---------------------------------------- |
||||
|
||||
Test: Burst Pattern |
||||
Duration: 9.174541855s |
||||
Total Events: 5000 |
||||
Events/sec: 544.99 |
||||
Success Rate: 100.0% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 174 MB |
||||
Avg Latency: 188.886µs |
||||
P90 Latency: 242.201µs |
||||
P95 Latency: 270.475µs |
||||
P99 Latency: 331.521µs |
||||
Bottom 10% Avg Latency: 287.008µs |
||||
---------------------------------------- |
||||
|
||||
Test: Mixed Read/Write |
||||
Duration: 30.008115864s |
||||
Total Events: 4646 |
||||
Events/sec: 154.82 |
||||
Success Rate: 92.9% |
||||
Concurrent Workers: 4 |
||||
Memory Used: 184 MB |
||||
Avg Latency: 8.147241ms |
||||
P90 Latency: 17.076493ms |
||||
P95 Latency: 17.970006ms |
||||
P99 Latency: 24.424806ms |
||||
Bottom 10% Avg Latency: 19.866973ms |
||||
---------------------------------------- |
||||
|
||||
Report saved to: /tmp/benchmark_next-orly-mem_8/benchmark_report.txt |
||||
AsciiDoc report saved to: /tmp/benchmark_next-orly-mem_8/benchmark_report.adoc |
||||
20250913151249700098 INF /tmp/benchmark_next-orly-mem_8: Lifetime L0 stalled for: 0s |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/db.go:536 /build/pkg/database/logger.go:57 |
||||
20250913151250019024 INF /tmp/benchmark_next-orly-mem_8: |
||||
Level 0 [ ]: NumTables: 00. Size: 0 B of 0 B. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 64 MiB |
||||
Level 1 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 2 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 3 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 4 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 5 [B]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB |
||||
Level 6 [ ]: NumTables: 01. Size: 22 MiB of 22 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 4.0 MiB |
||||
Level Done |
||||
/go/pkg/mod/github.com/dgraph-io/badger/v4@v4.8.0/db.go:615 /build/pkg/database/logger.go:57 |
||||
20250913151250021227 INF /tmp/benchmark_next-orly-mem_8: database closed /build/pkg/database/database.go:134 |
||||
|
||||
RELAY_NAME: next-orly-mem |
||||
RELAY_URL: ws://next-orly-mem:8080 |
||||
TEST_TIMESTAMP: 2025-09-13T15:12:50+00:00 |
||||
BENCHMARK_CONFIG: |
||||
Events: 5000 |
||||
Workers: 4 |
||||
Duration: 30s |
||||
Loading…
Reference in new issue