next-orly-badger_results.txt raw

   1  Starting Nostr Relay Benchmark (Badger Backend)
   2  Data Directory: /tmp/benchmark_next-orly-badger_8
   3  Events: 50000, Workers: 24, Duration: 1m0s
   4  1763665982729511ℹ️ migrating to version 1... /build/pkg/database/migrations.go:66
   5  1763665982729576ℹ️ migrating to version 2... /build/pkg/database/migrations.go:73
   6  1763665982729601ℹ️ migrating to version 3... /build/pkg/database/migrations.go:80
   7  1763665982729608ℹ️ cleaning up ephemeral events (kinds 20000-29999)... /build/pkg/database/migrations.go:287
   8  1763665982729620ℹ️ cleaned up 0 ephemeral events from database /build/pkg/database/migrations.go:332
   9  1763665982729639ℹ️ migrating to version 4... /build/pkg/database/migrations.go:87
  10  1763665982729646ℹ️ converting events to optimized inline storage (Reiser4 optimization)... /build/pkg/database/migrations.go:340
  11  1763665982729664ℹ️ found 0 events to convert (0 regular, 0 replaceable, 0 addressable) /build/pkg/database/migrations.go:429
  12  1763665982729670ℹ️ migration complete: converted 0 events to optimized inline storage, deleted 0 old keys /build/pkg/database/migrations.go:538
  13  
  14  ╔════════════════════════════════════════════════════════╗
  15  ║         BADGER BACKEND BENCHMARK SUITE                 ║
  16  ╚════════════════════════════════════════════════════════╝
  17  
  18  === Starting Badger benchmark ===
  19  RunPeakThroughputTest (Badger)..
  20  
  21  === Peak Throughput Test ===
  22  2025/11/20 19:13:02 WARN: Failed to load embedded library from /tmp/orly-libsecp256k1/libsecp256k1.so: Error relocating /tmp/orly-libsecp256k1/libsecp256k1.so: __fprintf_chk: symbol not found, falling back to system paths
  23  2025/11/20 19:13:02 INFO: Successfully loaded libsecp256k1 v5.0.0 from system path: libsecp256k1.so.2
  24  Events saved: 50000/50000 (100.0%), errors: 0
  25  Duration: 3.002317183s
  26  Events/sec: 16653.80
  27  Avg latency: 1.333202ms
  28  P90 latency: 1.77034ms
  29  P95 latency: 2.040484ms
  30  P99 latency: 2.890994ms
  31  Bottom 10% Avg latency: 755.546µs
  32  Wiping database between tests...
  33  RunBurstPatternTest (Badger)..
  34  
  35  === Burst Pattern Test ===
  36  Burst completed: 5000 events in 288.855321ms
  37  Burst completed: 5000 events in 312.543723ms
  38  Burst completed: 5000 events in 287.863452ms
  39  Burst completed: 5000 events in 340.503526ms
  40  Burst completed: 5000 events in 311.944621ms
  41  Burst completed: 5000 events in 338.563592ms
  42  Burst completed: 5000 events in 306.545393ms
  43  Burst completed: 5000 events in 280.038154ms
  44  Burst completed: 5000 events in 311.22972ms
  45  Burst completed: 5000 events in 292.735765ms
  46  Burst test completed: 50000 events in 8.076105474s, errors: 0
  47  Events/sec: 6191.10
  48  Wiping database between tests...
  49  RunMixedReadWriteTest (Badger)..
  50  
  51  === Mixed Read/Write Test ===
  52  Generating 1000 unique synthetic events (minimum 300 bytes each)...
  53  Generated 1000 events:
  54    Average content size: 312 bytes
  55    All events are unique (incremental timestamps)
  56    All events are properly signed
  57  
  58  Pre-populating database for read tests...
  59  Generating 50000 unique synthetic events (minimum 300 bytes each)...
  60  Generated 50000 events:
  61    Average content size: 314 bytes
  62    All events are unique (incremental timestamps)
  63    All events are properly signed
  64  
  65  Mixed test completed: 25000 writes, 25000 reads in 24.581344169s
  66  Combined ops/sec: 2034.06
  67  Wiping database between tests...
  68  RunQueryTest (Badger)..
  69  
  70  === Query Test ===
  71  Generating 10000 unique synthetic events (minimum 300 bytes each)...
  72  Generated 10000 events:
  73    Average content size: 313 bytes
  74    All events are unique (incremental timestamps)
  75    All events are properly signed
  76  
  77  Pre-populating database with 10000 events for query tests...
  78