# Benchmark Comparison: impl-new-relationship

## With LeanKG
- Total Tokens: 31013
- Input: 7248
- Cached: 23608
- Files Referenced: ["src/benchmark/runner.rs", "src/main.rs", "src/cli/mod.rs", "src/mcp/server.rs", "src/mcp/tools.rs", "src/indexer/mod.rs", "src/indexer/android_manifest.rs", "src/config/project.rs", "src/web/mod.rs", "src/web/handlers.rs", "src/watcher/notify_handler.rs", "src/orchestrator/mod.rs", "src/registry.rs", "src/runtime.rs", "src/orchestrator/intent.rs", "src/orchestrator/cache.rs", "src/obsidian/watcher.rs", "src/obsidian/sync.rs", "src/obsidian/note_generator.rs", "src/obsidian/mod.rs", "src/mcp/watcher.rs", "src/mcp/tracker.rs", "src/mcp/tracking_db.rs", "src/mcp/toon.rs", "src/mcp/mod.rs", "src/mcp/handler.rs", "src/mcp/auth.rs", "src/lib.rs", "src/indexer/xml_layout.rs", "src/indexer/process_processor.rs", "src/indexer/terraform.rs", "src/indexer/parser.rs", "src/indexer/maven_extractor.rs", "src/indexer/microservice.rs", "src/indexer/gradle_extractor.rs", "src/indexer/git.rs", "src/indexer/framework_detector.rs", "src/indexer/config_extractor.rs", "src/indexer/extractor.rs", "src/indexer/android_resources.rs", "src/indexer/cicd.rs", "src/hooks/mod.rs", "src/graph/query.rs", "src/graph/traversal.rs", "src/graph/persistent_cache.rs", "src/graph/nl_query.rs", "src/graph/mod.rs", "src/graph/layout.rs", "src/graph/context.rs", "src/graph/export.rs", "src/graph/clustering.rs", "src/graph/cache.rs", "src/embed.rs", "src/doc_indexer/mod.rs", "src/doc/templates.rs", "src/doc/wiki.rs", "src/doc/generator.rs", "src/db/schema.rs", "src/db/models.rs", "src/db/mod.rs", "src/db/keys.rs", "src/compress/symbol_map.rs", "src/compress/signatures.rs", "src/compress/shell.rs", "src/compress/reader.rs", "src/compress/session_cache.rs", "src/compress/response.rs", "src/compress/mod.rs", "src/compress/litm.rs", "src/compress/modes.rs", "src/compress/entropy.rs", "src/compress/git_diff.rs", "src/cli/shell_runner.rs", "src/compress/cargo_test.rs", "src/bin_test.rs", "src/benchmark/summary.rs", "src/benchmark/mod.rs", "src/benchmark/context_parser.rs", "src/benchmark/data.rs", "src/api/mod.rs", "src/api/auth.rs", "src/api/handlers.rs", "src/doc/mod.rs", "src/watcher/mod.rs", "src/config/mod.rs", "tests/batched_insert_tests.rs", "tests/test_verify_call_tools.rs", "tests/test_tools.rs", "tests/test_diagnose_empty.rs", "tests/test_diagnose_empty4.rs", "tests/test_debug_call_graph.rs", "tests/test_check_imports.rs", "tests/runtime_e2e_tests.rs", "tests/pipeline_integration_tests.rs", "tests/load_test_1m_nodes.rs", "tests/graph_cache_tests.rs", "tests/integration.rs", "tests/graph_query_tests.rs", "tests/batch_delete_stress_tests.rs", "tests/watcher.rs", "tests/test_diagnose_empty3.rs", "tests/mcp_tools_full_tests.rs", "tests/benchmark_context_parser_tests.rs", "tests/cli_tests.rs", "tests/compression_e2e_tests.rs", "tests/context_quality_tests.rs", "tests/data_store_tests.rs", "tests/doc_generation.rs", "tests/lib.rs", "tests/mcp_tests.rs", "tests/orchestrator_e2e.rs", "tests/test_all_tools_return_data.rs", "tests/test_check_call_query.rs", "tests/test_diagnose_empty2.rs", "tests/test_find_valid_files.rs", "tests/watcher_tests.rs"]

## Without LeanKG
- Total Tokens: 27481
- Input: 670
- Cached: 26424
- Files Referenced: ["src/db/models.rs", "src/main.rs", "src/benchmark/runner.rs", "src/cli/mod.rs", "src/mcp/server.rs", "src/mcp/tools.rs", "src/indexer/mod.rs", "src/indexer/android_manifest.rs", "src/config/project.rs", "src/web/mod.rs", "src/web/handlers.rs", "src/watcher/notify_handler.rs", "src/orchestrator/mod.rs", "src/registry.rs", "src/runtime.rs", "src/orchestrator/intent.rs", "src/orchestrator/cache.rs", "src/obsidian/watcher.rs", "src/obsidian/sync.rs", "src/obsidian/note_generator.rs", "src/obsidian/mod.rs", "src/mcp/watcher.rs", "src/mcp/tracker.rs", "src/mcp/tracking_db.rs", "src/mcp/toon.rs", "src/mcp/mod.rs", "src/mcp/handler.rs", "src/mcp/auth.rs", "src/lib.rs", "src/indexer/xml_layout.rs", "src/indexer/process_processor.rs", "src/indexer/terraform.rs", "src/indexer/parser.rs", "src/indexer/maven_extractor.rs", "src/indexer/microservice.rs", "src/indexer/gradle_extractor.rs", "src/indexer/git.rs", "src/indexer/framework_detector.rs", "src/indexer/config_extractor.rs", "src/indexer/extractor.rs", "src/indexer/android_resources.rs", "src/indexer/cicd.rs", "src/hooks/mod.rs", "src/graph/query.rs", "src/graph/traversal.rs", "src/graph/persistent_cache.rs", "src/graph/nl_query.rs", "src/graph/mod.rs", "src/graph/layout.rs", "src/graph/context.rs", "src/graph/export.rs", "src/graph/clustering.rs", "src/graph/cache.rs", "src/embed.rs", "src/doc_indexer/mod.rs", "src/doc/templates.rs", "src/doc/wiki.rs", "src/doc/generator.rs", "src/db/schema.rs", "src/db/mod.rs", "src/db/keys.rs", "src/compress/symbol_map.rs", "src/compress/signatures.rs", "src/compress/shell.rs", "src/compress/reader.rs", "src/compress/session_cache.rs", "src/compress/response.rs", "src/compress/mod.rs", "src/compress/litm.rs", "src/compress/modes.rs", "src/compress/entropy.rs", "src/compress/git_diff.rs", "src/cli/shell_runner.rs", "src/compress/cargo_test.rs", "src/bin_test.rs", "src/benchmark/summary.rs", "src/benchmark/mod.rs", "src/benchmark/context_parser.rs", "src/benchmark/data.rs", "src/api/mod.rs", "src/api/auth.rs", "src/api/handlers.rs", "src/doc/mod.rs", "src/watcher/mod.rs", "src/config/mod.rs"]

## Overhead
- Token Delta: 3532
