Merge commit 'd803bfe2b1fe7f5e219e50ac20d6801a0a58ac75' as 'vendor/ruvector'
This commit is contained in:
38
vendor/ruvector/benchmarks/graph/src/index.ts
vendored
Normal file
38
vendor/ruvector/benchmarks/graph/src/index.ts
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
/**
|
||||
* 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);
|
||||
}
|
||||
Reference in New Issue
Block a user