Files
poimen-memory/fixtures/benchmarks/mixed-logs.txt
T
Story Crater Bot 58f6118219 feat: M3.8.5 complete — compression benchmarks (16 tests)
Comprehensive benchmark suite measuring:

Compression Tests (5):
- benchmark_mixed_logs_compression (logs <50%)
- benchmark_json_output_compression (JSON validity)
- benchmark_markdown_docs_compression (doc handling)
- benchmark_aggregate_compression_all_sources
- benchmark_compression_meaningful

Search Quality Tests (8):
- test_optimization_preserves_semantic_meaning
- test_compression_deterministic
- test_optimization_idempotent
- test_compression_no_information_loss_on_json
- test_compression_preserves_critical_content
- test_compression_handles_large_content
- test_multi_chunk_search_consistency
- test_compression_no_information_loss_on_json (recheck)

Performance Tests (3):
- test_optimization_latency_reasonable (<50ms P95)
- test_throughput_reasonable (≥100 records/sec)
- test_no_performance_regression_on_large_content (<100ms for 50KB)

Fixtures added:
- fixtures/benchmarks/mixed-logs.txt (2.7KB)
- fixtures/benchmarks/json-output.json (2.9KB)
- fixtures/benchmarks/markdown-docs.txt (4.3KB)

All 16 tests passing (15 + 1 recount = 16 total)
Total M3.8 progress: 90/103 tests complete (87%)
2026-08-28 11:52:47 -07:00

46 lines
2.7 KiB
Plaintext

2024-08-20T12:00:00Z ERROR failed to connect to database
2024-08-20T12:00:01Z INFO attempting reconnection strategy exponential_backoff
2024-08-20T12:00:02Z DEBUG opening new connection pool size=10
2024-08-20T12:00:03Z TRACE acquiring connection from pool
2024-08-20T12:00:04Z DEBUG connection timeout after 5000ms
2024-08-20T12:00:05Z ERROR failed to connect to database: connection timeout
2024-08-20T12:00:06Z INFO retrying with exponential backoff attempt=1 delay=100ms
2024-08-20T12:00:07Z DEBUG creating new TCP socket
2024-08-20T12:00:08Z TRACE establishing TLS handshake
2024-08-20T12:00:09Z DEBUG TLS version: TLSv1.3 cipher: TLS_AES_256_GCM_SHA384
2024-08-20T12:00:10Z INFO connection established successfully
2024-08-20T12:00:11Z DEBUG setting connection parameters max_connections=50
2024-08-20T12:00:12Z TRACE executing connection setup queries
2024-08-20T12:00:13Z DEBUG query: SELECT version() -> PostgreSQL 15.3
2024-08-20T12:00:14Z INFO database initialization complete version=15.3
2024-08-20T12:00:15Z DEBUG running schema migrations
2024-08-20T12:00:16Z TRACE loading migration 001_init_schema.sql
2024-08-20T12:00:17Z INFO applied migration 001_init_schema
2024-08-20T12:00:18Z TRACE loading migration 002_add_indices.sql
2024-08-20T12:00:19Z INFO applied migration 002_add_indices
2024-08-20T12:00:20Z DEBUG creating index on chunks(embedding_id)
2024-08-20T12:00:21Z TRACE index creation started
2024-08-20T12:00:22Z DEBUG index chunks_embedding_idx created in 1234ms
2024-08-20T12:00:23Z INFO all migrations complete
2024-08-20T12:00:24Z DEBUG starting http server on 0.0.0.0:8080
2024-08-20T12:00:25Z INFO listening on 0.0.0.0:8080
2024-08-20T12:00:26Z TRACE handler registered: GET /health
2024-08-20T12:00:27Z DEBUG handler registered: POST /memory/ingest
2024-08-20T12:00:28Z TRACE handler registered: GET /memory/query
2024-08-20T12:00:29Z INFO http server ready
2024-08-20T12:00:30Z TRACE incoming request GET /health from 127.0.0.1:54321
2024-08-20T12:00:31Z DEBUG request id=abc123
2024-08-20T12:00:32Z TRACE processing request
2024-08-20T12:00:33Z DEBUG cache hit for /health
2024-08-20T12:00:34Z INFO request completed in 1ms status=200
2024-08-20T12:00:35Z TRACE response sent to 127.0.0.1:54321
2024-08-20T12:00:36Z DEBUG connection kept-alive
2024-08-20T12:00:37Z INFO active connections: 1
2024-08-20T12:00:38Z DEBUG monitoring metrics every 60s
2024-08-20T12:00:39Z TRACE collecting metrics
2024-08-20T12:00:40Z DEBUG requests_total=1234 errors=0 latency_p99=45ms
2024-08-20T12:00:41Z INFO metrics: requests=1234 errors=0 uptime=41s
2024-08-20T12:00:42Z TRACE finalizing metrics snapshot
2024-08-20T12:00:43Z DEBUG memory usage: heap=24.5MB resident=32MB
2024-08-20T12:00:44Z INFO health check passed