Skip to content

Support MCP resource priorities#950

Closed
jviotti wants to merge 1 commit into
mainfrom
priority
Closed

Support MCP resource priorities#950
jviotti wants to merge 1 commit into
mainfrom
priority

Conversation

@jviotti
Copy link
Copy Markdown
Member

@jviotti jviotti commented May 25, 2026

Signed-off-by: Juan Cruz Viotti jv@jviotti.com

Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark Index (community)

Details
Benchmark suite Current: 4d190c1 Previous: fa9a8af Ratio
Add one schema (0 existing) 291 ms 246 ms 1.18
Add one schema (100 existing) 33 ms 19 ms 1.74
Add one schema (1000 existing) 137 ms 63 ms 2.17
Add one schema (10000 existing) 1213 ms 659 ms 1.84
Update one schema (1 existing) 21 ms 14 ms 1.50
Update one schema (101 existing) 33 ms 20 ms 1.65
Update one schema (1001 existing) 137 ms 62 ms 2.21
Update one schema (10001 existing) 1224 ms 541 ms 2.26
Cached rebuild (1 existing) 6 ms 3 ms 2
Cached rebuild (101 existing) 8 ms 5 ms 1.60
Cached rebuild (1001 existing) 30 ms 17 ms 1.76
Cached rebuild (10001 existing) 272 ms 158 ms 1.72
Index 100 schemas 118 ms 87 ms 1.36
Index 1000 schemas 926 ms 685 ms 1.35
Index 10000 schemas 14054 ms 10714 ms 1.31

This comment was automatically generated by workflow using github-action-benchmark.

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark Index (enterprise)

Details
Benchmark suite Current: 4d190c1 Previous: fa9a8af Ratio
Add one schema (0 existing) 293 ms 294 ms 1.00
Add one schema (100 existing) 36 ms 29 ms 1.24
Add one schema (1000 existing) 133 ms 81 ms 1.64
Add one schema (10000 existing) 1176 ms 651 ms 1.81
Update one schema (1 existing) 22 ms 21 ms 1.05
Update one schema (101 existing) 34 ms 28 ms 1.21
Update one schema (1001 existing) 134 ms 82 ms 1.63
Update one schema (10001 existing) 1200 ms 660 ms 1.82
Cached rebuild (1 existing) 6 ms 6 ms 1
Cached rebuild (101 existing) 8 ms 9 ms 0.89
Cached rebuild (1001 existing) 29 ms 28 ms 1.04
Cached rebuild (10001 existing) 249 ms 247 ms 1.01
Index 100 schemas 128 ms 121 ms 1.06
Index 1000 schemas 1180 ms 1232 ms 0.96
Index 10000 schemas 14038 ms 13951 ms 1.01

This comment was automatically generated by workflow using github-action-benchmark.

},
"annotations": {
"type": "object",
"properties": {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: I guess we can even make the priority mandatory? Defaulted to 1?

output / "explorer" / "%" / "search.metapack", "",
output / "explorer" / "%" / "directory.metapack");
output / "explorer" / "%" / "directory.metapack",
output / "explorer" / "foo" / "%" / "schema.metapack");
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: If we elevate the priority to the directory list, then we don't need the extra targets

@jviotti jviotti closed this May 26, 2026
@jviotti jviotti deleted the priority branch May 26, 2026 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant