brick/tests/benchmarks/plans/tree_sitter_p4_pilot.json

66 lines
1.7 KiB
JSON

{
"schema_version": 1,
"name": "tree_sitter_p4_pilot",
"corpus": "tests/fixtures/p4_tree_sitter",
"repeats": 3,
"cargo_features": ["tree-sitter-p4-pilot"],
"build_args": ["--p4-frontend", "tree-sitter-pilot"],
"measure_rss": true,
"direct_binary": true,
"p4_relationship_labels": [
{
"source_path": "pilot.p4",
"source_owner": "Pilot",
"source": "routes",
"target_path": "pilot.p4",
"target_owner": "Pilot",
"target": "forward",
"relation": "table-action"
},
{
"source_path": "pilot.p4",
"source_owner": "Pilot",
"source": "routes",
"target_path": "pilot.p4",
"target_owner": "Pilot",
"target": "drop",
"relation": "table-action"
},
{
"source_path": "scoped.p4",
"source_owner": "First",
"source": "same_table",
"target_path": "scoped.p4",
"target_owner": "First",
"target": "same_action",
"relation": "table-action"
},
{
"source_path": "scoped.p4",
"source_owner": "Second",
"source": "same_table",
"target_path": "scoped.p4",
"target_owner": "Second",
"target": "same_action",
"relation": "table-action"
}
],
"expect": {
"min_symbols": 13,
"min_dependency_edges": 5,
"cycles": 0,
"p4": {
"parser_state_count": 0,
"terminal_state_count": 0,
"parser_transition_count": 0,
"parser_cycle_count": 0,
"cyclic_parser_state_count": 0,
"unreachable_state_count": 0,
"control_apply_node_count": 13,
"control_apply_relationship_count": 1,
"control_apply_cycle_count": 0,
"cyclic_control_apply_node_count": 0,
"unresolved_dependency_count": 0
}
}
}