microscope-memory 1.2.0

Pure binary cognitive memory engine with REST API bridge for LLM integration. Zero-JSON core, mmap-based, hierarchical, sub-microsecond search.
Documentation
{
  "corpus": "synthetic-60-facts",
  "config_file": "bench_config_semantic.toml",
  "config": "provider=candle model=all-MiniLM-L6-v2 semantic_weight=1.0",
  "indexed_documents": 60,
  "queries": 60,
  "k_values": [
    1,
    5,
    10
  ],
  "results": [
    {
      "system": "microscope (recall, end-to-end)",
      "note": "includes process start, config load and state load",
      "latency": {
        "p50_ms": 98.8458,
        "p95_ms": 108.6096,
        "p99_ms": 110.081,
        "mean_ms": 100.8216
      },
      "recall_at_k": {
        "1": 52,
        "5": 58,
        "10": 58
      },
      "recall_rate": {
        "1": 86.7,
        "5": 96.7,
        "10": 96.7
      }
    },
    {
      "system": "faiss IndexFlatIP (MiniLM)",
      "note": "all-MiniLM-L6-v2, d=384; 1 thread; query only",
      "latency": {
        "p50_ms": 0.0111,
        "p95_ms": 0.0156,
        "p99_ms": 0.0195,
        "mean_ms": 0.0123
      },
      "recall_at_k": {
        "1": 54,
        "5": 58,
        "10": 58
      },
      "recall_rate": {
        "1": 90.0,
        "5": 96.7,
        "10": 96.7
      }
    },
    {
      "system": "faiss IndexHNSWFlat (MiniLM)",
      "note": "all-MiniLM-L6-v2, d=384; 1 thread; query only",
      "latency": {
        "p50_ms": 0.0169,
        "p95_ms": 0.0228,
        "p99_ms": 0.0293,
        "mean_ms": 0.0168
      },
      "recall_at_k": {
        "1": 54,
        "5": 58,
        "10": 58
      },
      "recall_rate": {
        "1": 90.0,
        "5": 96.7,
        "10": 96.7
      }
    },
    {
      "system": "sqlite fts5 (bm25)",
      "note": "in-memory; query time only, no index build",
      "latency": {
        "p50_ms": 0.0226,
        "p95_ms": 0.0979,
        "p99_ms": 0.1086,
        "mean_ms": 0.0289
      },
      "recall_at_k": {
        "1": 32,
        "5": 36,
        "10": 38
      },
      "recall_rate": {
        "1": 53.3,
        "5": 60.0,
        "10": 63.3
      }
    }
  ]
}