{
"schema_version": 1,
"language": "python",
"harness_stage": "connector-benchmark-v2-parity",
"profile_name": "small",
"generated_at_utc": "2026-03-05T00:17:56Z",
"profile_source": "docs/04-quality/workloads/profiles.json",
"scenario_contract_source": "docs/04-quality/workloads/scenario-contract.json",
"percentile_method": {
"name": "nearest_rank",
"index_formula": "ceil((p / 100) * n) - 1",
"interpolation": "none",
"sorted_order": "ascending",
"sample_unit": "microseconds"
},
"profile_contract": {
"determinism": {
"seed": 1729,
"node_key_template": "node:{i}",
"edge_key_templates": {
"chain": "edge:chain:{i}",
"hub": "edge:hub:{i}",
"powerlaw": "edge:powerlaw:{i}",
"temporal": "edge:temporal:{i}"
},
"generator_rules": {
"type_id_cycle": [
1,
2,
3,
4,
5
],
"weight_base": 0.5,
"weight_modulus": 500,
"weight_formula": "weight = weight_base + ((i mod weight_modulus) / 1000.0)",
"temporal_valid_from_base_ms": 1700000000000,
"temporal_valid_to_delta_ms": 604800000
}
},
"profile": {
"description": "CI smoke and local quick checks",
"nodes": 10000,
"edges": 50000,
"average_degree_target": 5,
"property_payload": "light",
"shape_mix": {
"chain_pct": 40,
"hub_pct": 20,
"powerlaw_pct": 30,
"temporal_pct": 10
},
"batch_sizes": {
"nodes": 100,
"edges": 100
}
},
"effective_config": {
"nodes": 1000,
"edges": 5000,
"fanout": 100,
"batch_nodes": 100,
"batch_edges": 100,
"two_hop_mid": 100,
"two_hop_leaves_per_mid": 8,
"top_k_candidates": 500,
"ppr_nodes": 500,
"get_node_nodes": 1000,
"time_range_nodes": 1000,
"export_nodes": 1000,
"export_edges": 5000,
"flush_nodes_per_iter": 100,
"flush_edges_per_iter_cap": 50,
"ppr_max_iterations": 20,
"ppr_max_results": 50,
"ppr_seed_count": 1,
"ppr_edge_offsets": [
1,
7
],
"top_k_limit": 20,
"time_range_from_ms": 0,
"time_range_window_ms": 60000,
"include_weights_on_export": true
},
"scenario_contract_schema_version": 1
},
"scenarios": [
{
"scenario_id": "S-CRUD-001",
"name": "upsert_node",
"category": "crud",
"warmup_iterations": 20,
"benchmark_iterations": 80,
"ops_per_iteration": 1,
"throughput_ops_per_sec": 641735.2521217373,
"stats": {
"p50_us": 1.25,
"p95_us": 2.458,
"p99_us": 12.125,
"min_us": 1.084,
"max_us": 12.125,
"mean_us": 1.5582749999999996,
"early_p95_us": 2.5,
"late_p95_us": 2.208,
"drift_ratio": 0.8832000000000001
},
"scenario_params": {
"type_id": 1,
"with_props": true,
"weight": 1.0
},
"comparability": {
"status": "comparable",
"reason": null
},
"notes": null
},
{
"scenario_id": "S-CRUD-002",
"name": "upsert_edge",
"category": "crud",
"warmup_iterations": 20,
"benchmark_iterations": 80,
"ops_per_iteration": 1,
"throughput_ops_per_sec": 631148.7696543671,
"stats": {
"p50_us": 1.125,
"p95_us": 2.667,
"p99_us": 27.5,
"min_us": 0.833,
"max_us": 27.5,
"mean_us": 1.5844125000000002,
"early_p95_us": 3.25,
"late_p95_us": 1.333,
"drift_ratio": 0.41015384615384615
},
"scenario_params": {
"edge_type_id": 1,
"weight": 1.0
},
"comparability": {
"status": "comparable",
"reason": null
},
"notes": null
},
{
"scenario_id": "S-BATCH-001",
"name": "batch_upsert_nodes_json",
"category": "batch",
"warmup_iterations": 10,
"benchmark_iterations": 40,
"ops_per_iteration": 100,
"throughput_ops_per_sec": 646151.5697121621,
"stats": {
"p50_us": 145.709,
"p95_us": 180.291,
"p99_us": 374.833,
"min_us": 134.5,
"max_us": 374.833,
"mean_us": 154.76245
},
"scenario_params": {
"batch_nodes": 100,
"type_id": 1,
"with_props": true
},
"comparability": {
"status": "comparable",
"reason": null
},
"notes": null
},
{
"scenario_id": "S-BATCH-002",
"name": "batch_upsert_nodes_binary",
"category": "batch",
"warmup_iterations": 10,
"benchmark_iterations": 40,
"ops_per_iteration": 100,
"throughput_ops_per_sec": 279065.68529497564,
"stats": {
"p50_us": 251.708,
"p95_us": 359.292,
"p99_us": 4035.292,
"min_us": 241.375,
"max_us": 4035.292,
"mean_us": 358.33857499999993
},
"scenario_params": {
"batch_nodes": 100,
"encoding": "binary-pack-node-batch"
},
"comparability": {
"status": "non_comparable",
"reason": "Binary batch path is connector-specific and has no direct Rust-core API equivalent."
},
"notes": null
},
{
"scenario_id": "S-CRUD-003",
"name": "get_node",
"category": "crud",
"warmup_iterations": 20,
"benchmark_iterations": 80,
"ops_per_iteration": 1,
"throughput_ops_per_sec": 2770850.651149903,
"stats": {
"p50_us": 0.334,
"p95_us": 0.458,
"p99_us": 0.625,
"min_us": 0.291,
"max_us": 0.625,
"mean_us": 0.3609
},
"scenario_params": {
"preload_nodes": 1000
},
"comparability": {
"status": "comparable",
"reason": null
},
"notes": null
},
{
"scenario_id": "S-CRUD-004",
"name": "upsert_node_fixed_key",
"category": "crud",
"warmup_iterations": 20,
"benchmark_iterations": 80,
"ops_per_iteration": 1,
"throughput_ops_per_sec": 713203.1737541232,
"stats": {
"p50_us": 1.375,
"p95_us": 1.5,
"p99_us": 1.75,
"min_us": 1.292,
"max_us": 1.75,
"mean_us": 1.402125
},
"scenario_params": {
"type_id": 1,
"with_props": true,
"weight": 1.0,
"fixed_key": true
},
"comparability": {
"status": "comparable",
"reason": null
},
"notes": null
},
{
"scenario_id": "S-CRUD-005",
"name": "upsert_edge_fixed_triple",
"category": "crud",
"warmup_iterations": 20,
"benchmark_iterations": 80,
"ops_per_iteration": 1,
"throughput_ops_per_sec": 1477023.0600225246,
"stats": {
"p50_us": 0.5,
"p95_us": 0.667,
"p99_us": 12.833,
"min_us": 0.458,
"max_us": 12.833,
"mean_us": 0.6770375000000001
},
"scenario_params": {
"edge_type_id": 1,
"weight": 1.0,
"edge_uniqueness": true,
"fixed_triple": true
},
"comparability": {
"status": "comparable",
"reason": null
},
"notes": null
},
{
"scenario_id": "S-TRAV-001",
"name": "neighbors",
"category": "traversal",
"warmup_iterations": 20,
"benchmark_iterations": 80,
"ops_per_iteration": 1,
"throughput_ops_per_sec": 204515.18397419018,
"stats": {
"p50_us": 4.75,
"p95_us": 6.042,
"p99_us": 6.292,
"min_us": 4.542,
"max_us": 6.292,
"mean_us": 4.8896125
},
"scenario_params": {
"fanout": 100,
"direction": "outgoing"
},
"comparability": {
"status": "comparable",
"reason": null
},
"notes": null
},
{
"scenario_id": "S-TRAV-002",
"name": "neighbors_2hop",
"category": "traversal",
"warmup_iterations": 20,
"benchmark_iterations": 80,
"ops_per_iteration": 1,
"throughput_ops_per_sec": 6766.973515080708,
"stats": {
"p50_us": 146.458,
"p95_us": 167.917,
"p99_us": 192.459,
"min_us": 129.792,
"max_us": 192.459,
"mean_us": 147.77655
},
"scenario_params": {
"direction": "outgoing",
"mid_nodes": 100,
"leaves_per_mid": 8
},
"comparability": {
"status": "comparable",
"reason": null
},
"notes": null
},
{
"scenario_id": "S-ADV-001",
"name": "top_k_neighbors",
"category": "advanced",
"warmup_iterations": 20,
"benchmark_iterations": 80,
"ops_per_iteration": 1,
"throughput_ops_per_sec": 89153.27788742389,
"stats": {
"p50_us": 11.291,
"p95_us": 11.584,
"p99_us": 11.834,
"min_us": 10.584,
"max_us": 11.834,
"mean_us": 11.216637500000004
},
"scenario_params": {
"direction": "outgoing",
"k": 20,
"scoring": "weight",
"candidate_nodes": 500
},
"comparability": {
"status": "comparable",
"reason": null
},
"notes": null
},
{
"scenario_id": "S-ADV-003",
"name": "find_nodes_by_time_range",
"category": "advanced",
"warmup_iterations": 20,
"benchmark_iterations": 80,
"ops_per_iteration": 1,
"throughput_ops_per_sec": 5610.575823215245,
"stats": {
"p50_us": 177.375,
"p95_us": 187.792,
"p99_us": 195.833,
"min_us": 168.917,
"max_us": 195.833,
"mean_us": 178.23482499999997
},
"scenario_params": {
"type_id": 1,
"preload_nodes": 1000,
"from_ms": 0,
"to_ms_window": 60000
},
"comparability": {
"status": "comparable",
"reason": null
},
"notes": null
},
{
"scenario_id": "S-ADV-004",
"name": "personalized_pagerank",
"category": "advanced",
"warmup_iterations": 10,
"benchmark_iterations": 40,
"ops_per_iteration": 1,
"throughput_ops_per_sec": 3486.2319114678385,
"stats": {
"p50_us": 287.333,
"p95_us": 301.584,
"p99_us": 316.167,
"min_us": 267.292,
"max_us": 316.167,
"mean_us": 286.84264999999994
},
"scenario_params": {
"ppr_nodes": 500,
"seed_strategy": "first_node_id",
"seed_count": 1,
"edge_offsets": [
1,
7
],
"max_iterations": 20,
"max_results": 50
},
"comparability": {
"status": "comparable",
"reason": null
},
"notes": null
},
{
"scenario_id": "S-ADV-005",
"name": "export_adjacency",
"category": "advanced",
"warmup_iterations": 10,
"benchmark_iterations": 40,
"ops_per_iteration": 1,
"throughput_ops_per_sec": 2048.6428739673365,
"stats": {
"p50_us": 483.416,
"p95_us": 522.292,
"p99_us": 593.958,
"min_us": 446.292,
"max_us": 593.958,
"mean_us": 488.1280250000001
},
"scenario_params": {
"preload_nodes": 1000,
"preload_edges": 5000,
"include_weights": true
},
"comparability": {
"status": "comparable",
"reason": null
},
"notes": null
},
{
"scenario_id": "S-MAIN-001",
"name": "flush",
"category": "maintenance",
"warmup_iterations": 6,
"benchmark_iterations": 20,
"ops_per_iteration": 1,
"throughput_ops_per_sec": 8.900977250709218,
"stats": {
"p50_us": 101091.375,
"p95_us": 162101.791,
"p99_us": 173012.208,
"min_us": 88254.042,
"max_us": 173012.208,
"mean_us": 112347.21445
},
"scenario_params": {
"nodes_per_iter": 100,
"edge_chain_cap": 50
},
"comparability": {
"status": "comparable",
"reason": null
},
"notes": null
}
]
}