memoryweave/go/internal/distributed
xiaowei ffb13f830a perf: 34 benchmarks + 性能报告 — i5-11260H
基准覆盖 (4 files):
- storage: cosine similarity (254ns), MMR rerank (847μs), memory alloc (6.3μs)
- governance: conflict scan 100 (2.2μs), graph navigate 2000 (485μs), prune (135μs)
- selfoptimize: dashboard metrics (187ns), gap detect (39ns), causal chain (74μs), prefetch (181ns)
- distributed: CRDT merge (325ns), rate limiter (79ns), event bus (304ns)

综合评估: 所有纯 CPU 操作纳秒/微秒级,远超设计目标。
瓶颈在外部 I/O(LanceDB + Embedding 推理)。

报告: BENCHMARK.md
2026-05-28 18:41:11 +08:00
..
bench_test.go perf: 34 benchmarks + 性能报告 — i5-11260H 2026-05-28 18:41:11 +08:00
distributed.go feat(M7): 分布式部署——CRDT + 事件传播 + 速率限制 + Prometheus 2026-05-28 17:44:27 +08:00