ruvector/benchmarks/graph/src/index.ts
rUv 6a0ce6a637 docs: Reorganize documentation and add postgres README
ruvector-postgres:
- Add comprehensive README.md with features, comparison, tutorials
- Create docs/implementation/ and docs/guides/ subdirectories
- Move implementation summaries to organized locations

Root docs reorganization:
- Move HNSW docs to docs/hnsw/
- Move postgres docs to docs/postgres/
- Move zero-copy docs to docs/postgres/zero-copy/
- Move guides to docs/guides/
- Move architecture to docs/architecture/
- Move benchmarks docs to benchmarks/docs/
- Move benchmark source to benchmarks/src/

Cleanup:
- Remove duplicate install/ from root (now in crates/ruvector-postgres/install/)
- Remove stale benchmark results
- Remove duplicate binary files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 16:45:44 +00:00

38 lines
1 KiB
TypeScript

/**
* RuVector Graph Benchmark Suite Entry Point
*
* Usage:
* npm run graph:generate - Generate synthetic datasets
* npm run graph:bench - Run Rust benchmarks
* npm run graph:compare - Compare with Neo4j
* npm run graph:report - Generate reports
* npm run graph:all - Run complete suite
*/
export { allScenarios, datasets } from './graph-scenarios.js';
export {
generateSocialNetwork,
generateKnowledgeGraph,
generateTemporalGraph,
generateAllDatasets,
saveDataset
} from './graph-data-generator.js';
export { runComparison, runAllComparisons } from './comparison-runner.js';
export { generateReport } from './results-report.js';
/**
* Quick benchmark runner
*/
export async function runQuickBenchmark() {
console.log('🚀 RuVector Graph Benchmark Suite\n');
const { generateReport } = await import('./results-report.js');
// Generate report from existing results
generateReport();
}
// Run if called directly
if (require.main === module) {
runQuickBenchmark().catch(console.error);
}