tasq/node_modules/agentdb/simulation/scenarios/README-basic/graph-traversal.md

42 lines
919 B
Markdown

# Graph Traversal Simulation
## Overview
Cypher query performance testing with complex graph patterns and traversals.
## Purpose
Benchmark RuVector GraphDatabase's Cypher query execution and graph traversal capabilities.
## Operations
- **Nodes Created**: 50
- **Edges Created**: 45
- **Queries Executed**: 5 Cypher queries
- **Query Types**: MATCH, WHERE, COUNT, pattern matching
## Results
- **Throughput**: 3.38 ops/sec
- **Latency**: 286ms avg (total)
- **Avg Query Time**: 0.21-0.44ms
- **Nodes Returned**: 0-50 per query
- **Query Success**: 100%
## Technical Details
```cypher
MATCH (n:TestNode)-[r:NEXT]->(m)
RETURN n, r, m LIMIT 10
```
### Supported Patterns
- Node matching with labels
- Edge traversal
- Property filtering
- Aggregation (count)
- Pattern matching
## Applications
- Knowledge graphs
- Social network analysis
- Recommendation engines
- Dependency analysis
**Status**: ✅ Operational