Skip to content

Add a new MCP module#2399

Merged
jviotti merged 6 commits into
mainfrom
mcp-module
May 24, 2026
Merged

Add a new MCP module#2399
jviotti merged 6 commits into
mainfrom
mcp-module

Conversation

@jviotti
Copy link
Copy Markdown
Member

@jviotti jviotti commented May 23, 2026

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

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

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 11 files

Re-trigger cubic

@augmentcode
Copy link
Copy Markdown

augmentcode Bot commented May 23, 2026

🤖 Augment PR Summary

Summary: Introduces a new sourcemeta::core::mcp library to help build Model Context Protocol (MCP) envelopes on top of JSON-RPC 2.0.

Changes:

  • Add a SOURCEMETA_CORE_MCP build option and hook it into the top-level build/test CMake graph
  • Register mcp as an installable find_package component and include it in website CI presets
  • Add the new src/core/mcp target plus public header <sourcemeta/core/mcp.h>
  • Implement helpers for protocol-version negotiation and version-gated field emission
  • Provide builders for tool results, resource descriptors, and initialize-handshake envelopes
  • Add comprehensive GoogleTest coverage for the new MCP helpers
  • Extend the packaging “find_package” sample to include/link against sourcemeta::core::mcp

Technical Notes: The module is C++23 and links against sourcemeta::core::json and sourcemeta::core::jsonrpc, emitting different fields depending on the negotiated MCP revision.

🤖 Was this summary useful? React with 👍 or 👎

Copy link
Copy Markdown

@augmentcode augmentcode Bot left a comment

Choose a reason for hiding this comment

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

Review completed. 3 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

Comment thread src/core/mcp/mcp.cc
Comment thread src/core/mcp/mcp.cc Outdated
Comment thread test/mcp/mcp_test.cc
Copy link
Copy Markdown

@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 (macos/llvm)

Details
Benchmark suite Current: d59dfbc Previous: 874d1e2 Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 2.346402832850425 ns/iter 2.1922411677039384 ns/iter 1.07
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 1.9925441955608507 ns/iter 1.8985862131501234 ns/iter 1.05
Regex_Period_Asterisk 2.0152887123255643 ns/iter 1.8790147979716676 ns/iter 1.07
Regex_Group_Period_Asterisk_Group 2.0356206625208317 ns/iter 1.8798139173253376 ns/iter 1.08
Regex_Period_Plus 2.0564759007479174 ns/iter 1.879963038028475 ns/iter 1.09
Regex_Period 2.0017964898868263 ns/iter 1.886175982941392 ns/iter 1.06
Regex_Caret_Period_Plus_Dollar 2.0374345374785667 ns/iter 1.9249326441247123 ns/iter 1.06
Regex_Caret_Group_Period_Plus_Group_Dollar 2.0103560301498646 ns/iter 1.8800040580397241 ns/iter 1.07
Regex_Caret_Period_Asterisk_Dollar 1.989393007550932 ns/iter 1.9433987651191689 ns/iter 1.02
Regex_Caret_Group_Period_Asterisk_Group_Dollar 2.018553152805329 ns/iter 1.8861973600388013 ns/iter 1.07
Regex_Caret_X_Hyphen 6.060968037661206 ns/iter 5.638178229776473 ns/iter 1.07
Regex_Period_Md_Dollar 16.08588541847696 ns/iter 15.11692611302185 ns/iter 1.06
Regex_Caret_Slash_Period_Asterisk 7.998872116458476 ns/iter 7.390253573328085 ns/iter 1.08
Regex_Caret_Period_Range_Dollar 1.693263758447668 ns/iter 1.5665526010625301 ns/iter 1.08
Regex_Nested_Backtrack 24.038637119480505 ns/iter 22.82162140644168 ns/iter 1.05
JSON_Array_Of_Objects_Unique 423.40199834704924 ns/iter 394.0892462241555 ns/iter 1.07
JSON_Parse_1 3876.0211460847772 ns/iter 3789.5117433008845 ns/iter 1.02
JSON_Parse_Real 6359.471212938536 ns/iter 6313.121963209736 ns/iter 1.01
JSON_Parse_Decimal 7823.806644564631 ns/iter 7392.48469353713 ns/iter 1.06
JSON_Parse_Schema_ISO_Language 2872220.4159664726 ns/iter 2610924.8120302507 ns/iter 1.10
JSON_Fast_Hash_Helm_Chart_Lock 58.4729824881335 ns/iter 56.08751397592629 ns/iter 1.04
JSON_Equality_Helm_Chart_Lock 130.96641439686834 ns/iter 124.22930378193438 ns/iter 1.05
JSON_Divisible_By_Decimal 170.81369124700984 ns/iter 160.52804984194984 ns/iter 1.06
JSON_String_Equal/10 6.748966549278401 ns/iter 6.28989442778284 ns/iter 1.07
JSON_String_Equal/100 6.313342277538937 ns/iter 5.977844608712606 ns/iter 1.06
JSON_String_Equal_Small_By_Perfect_Hash/10 0.7776394004370847 ns/iter 0.7068688008766106 ns/iter 1.10
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 3.2918511997718785 ns/iter 3.0355643656156923 ns/iter 1.08
JSON_String_Fast_Hash/10 2.355480066521005 ns/iter 2.193016408651093 ns/iter 1.07
JSON_String_Fast_Hash/100 2.029361918361929 ns/iter 1.8825146653105815 ns/iter 1.08
JSON_String_Key_Hash/10 1.3585931243130664 ns/iter 1.2759448453258788 ns/iter 1.06
JSON_String_Key_Hash/100 2.112907919420525 ns/iter 2.062399700563494 ns/iter 1.02
JSON_Object_Defines_Miss_Same_Length 2.3332604921514957 ns/iter 2.2101719017075547 ns/iter 1.06
JSON_Object_Defines_Miss_Too_Small 2.3760202845223892 ns/iter 2.2041867826907904 ns/iter 1.08
JSON_Object_Defines_Miss_Too_Large 2.358364730792006 ns/iter 2.199843905632324 ns/iter 1.07
Pointer_Object_Traverse 13.74485508742533 ns/iter 12.894345543651042 ns/iter 1.07
Pointer_Object_Try_Traverse 18.98953134386591 ns/iter 17.755235727391497 ns/iter 1.07
Pointer_Push_Back_Pointer_To_Weak_Pointer 155.41490452216445 ns/iter 146.07211028675 ns/iter 1.06
Pointer_Walker_Schema_ISO_Language 4183259.045714424 ns/iter 3503030.054725991 ns/iter 1.19
Pointer_Maybe_Tracked_Deeply_Nested/0 943320.0357634044 ns/iter 911095.8029925298 ns/iter 1.04
Pointer_Maybe_Tracked_Deeply_Nested/1 1386209.4534162518 ns/iter 1181707.4037801526 ns/iter 1.17
Pointer_Position_Tracker_Get_Deeply_Nested 360.4576320585257 ns/iter 331.93274303985214 ns/iter 1.09
URITemplateRouter_Create 22309.91954698081 ns/iter 21340.9919318674 ns/iter 1.05
URITemplateRouter_Match 161.79355709154424 ns/iter 151.81480860028987 ns/iter 1.07
URITemplateRouter_Match_BasePath 196.63002509240397 ns/iter 184.36756753831202 ns/iter 1.07
URITemplateRouterView_Restore 9151.524941413774 ns/iter 8897.986977515558 ns/iter 1.03
URITemplateRouterView_Match 128.20711139694512 ns/iter 123.99062803414273 ns/iter 1.03
URITemplateRouterView_Match_BasePath 150.42518535121783 ns/iter 136.6668500612837 ns/iter 1.10
URITemplateRouterView_Arguments 404.94194686641913 ns/iter 374.44628492549657 ns/iter 1.08
JSONL_Parse_Large 12074542.410715595 ns/iter 11078202.380951827 ns/iter 1.09
JSONL_Parse_Large_GZIP 12993569.981133832 ns/iter 11807379.949153198 ns/iter 1.10
HTML_Build_Table_100000 65649056.818188 ns/iter 59331878.81818081 ns/iter 1.11
HTML_Render_Table_100000 2767367.081447566 ns/iter 2235028.3018867597 ns/iter 1.24
GZIP_Compress_ISO_Language_Set_3_Locations 27501930.000003085 ns/iter 26777799.370371986 ns/iter 1.03
GZIP_Decompress_ISO_Language_Set_3_Locations 5211316.355555735 ns/iter 4490686.698717675 ns/iter 1.16
GZIP_Compress_ISO_Language_Set_3_Schema 1494514.496717591 ns/iter 1477977.3340001157 ns/iter 1.01
GZIP_Decompress_ISO_Language_Set_3_Schema 280482.6078112273 ns/iter 263794.90103019733 ns/iter 1.06

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

jviotti added 5 commits May 23, 2026 19:57
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
Copy link
Copy Markdown

@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 (linux/gcc)

Details
Benchmark suite Current: d59dfbc Previous: 874d1e2 Ratio
GZIP_Compress_ISO_Language_Set_3_Locations 41104837.29411552 ns/iter 38550947.27777618 ns/iter 1.07
GZIP_Decompress_ISO_Language_Set_3_Locations 4513362.717948993 ns/iter 5260598.992365621 ns/iter 0.86
GZIP_Compress_ISO_Language_Set_3_Schema 2354736.7003368093 ns/iter 2078139.5357142666 ns/iter 1.13
GZIP_Decompress_ISO_Language_Set_3_Schema 306029.7382297225 ns/iter 392306.1015143312 ns/iter 0.78
HTML_Build_Table_100000 61964237.54545321 ns/iter 59137260.50000415 ns/iter 1.05
HTML_Render_Table_100000 1943161.916897653 ns/iter 1915214.2548477652 ns/iter 1.01
JSONL_Parse_Large 12345586.087718131 ns/iter 12866710.703705125 ns/iter 0.96
JSONL_Parse_Large_GZIP 13491942.73076976 ns/iter 14034704.000000602 ns/iter 0.96
URITemplateRouter_Create 29545.067359262932 ns/iter 31214.896142432008 ns/iter 0.95
URITemplateRouter_Match 173.23603768322081 ns/iter 173.88413721083327 ns/iter 1.00
URITemplateRouter_Match_BasePath 203.1449575440842 ns/iter 198.4752015804854 ns/iter 1.02
URITemplateRouterView_Restore 8622.871604284956 ns/iter 7694.189927634103 ns/iter 1.12
URITemplateRouterView_Match 139.11107679754198 ns/iter 146.72340958606068 ns/iter 0.95
URITemplateRouterView_Match_BasePath 156.821362722046 ns/iter 165.15696364633914 ns/iter 0.95
URITemplateRouterView_Arguments 468.9811318732988 ns/iter 474.54907233841396 ns/iter 0.99
Pointer_Object_Traverse 26.477588172792156 ns/iter 26.237996775886824 ns/iter 1.01
Pointer_Object_Try_Traverse 21.89076112417196 ns/iter 22.147406228276136 ns/iter 0.99
Pointer_Push_Back_Pointer_To_Weak_Pointer 155.5831519712283 ns/iter 157.50653594477959 ns/iter 0.99
Pointer_Walker_Schema_ISO_Language 3376389.539603719 ns/iter 3324211.8578198133 ns/iter 1.02
Pointer_Maybe_Tracked_Deeply_Nested/0 1548666.955555594 ns/iter 1625928.0324075262 ns/iter 0.95
Pointer_Maybe_Tracked_Deeply_Nested/1 1720865.3804878274 ns/iter 1784245.4147582403 ns/iter 0.96
Pointer_Position_Tracker_Get_Deeply_Nested 582.4135095025958 ns/iter 489.3967691012677 ns/iter 1.19
JSON_Array_Of_Objects_Unique 446.30279183107046 ns/iter 430.1336664645627 ns/iter 1.04
JSON_Parse_1 7792.812561649881 ns/iter 8010.539589979939 ns/iter 0.97
JSON_Parse_Real 11889.286844119917 ns/iter 11984.315874019749 ns/iter 0.99
JSON_Parse_Decimal 16396.440422925338 ns/iter 18092.139917373876 ns/iter 0.91
JSON_Parse_Schema_ISO_Language 4620362.543046243 ns/iter 4740293.337837974 ns/iter 0.97
JSON_Fast_Hash_Helm_Chart_Lock 67.88309081130438 ns/iter 71.31245326452901 ns/iter 0.95
JSON_Equality_Helm_Chart_Lock 169.08652093875142 ns/iter 162.02323164537518 ns/iter 1.04
JSON_Divisible_By_Decimal 229.08646593066086 ns/iter 237.2786675740694 ns/iter 0.97
JSON_String_Equal/10 6.069045337656212 ns/iter 6.004898047610502 ns/iter 1.01
JSON_String_Equal/100 7.247734260180887 ns/iter 6.632108651046113 ns/iter 1.09
JSON_String_Equal_Small_By_Perfect_Hash/10 0.7114063488854955 ns/iter 0.624175841754222 ns/iter 1.14
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 21.946864606120702 ns/iter 25.20375970788611 ns/iter 0.87
JSON_String_Fast_Hash/10 1.0552452735894486 ns/iter 0.9355747641542278 ns/iter 1.13
JSON_String_Fast_Hash/100 1.056157928491546 ns/iter 0.9340139804458775 ns/iter 1.13
JSON_String_Key_Hash/10 1.7622915835861828 ns/iter 1.5580451445959331 ns/iter 1.13
JSON_String_Key_Hash/100 14.948237625682456 ns/iter 12.448679187028977 ns/iter 1.20
JSON_Object_Defines_Miss_Same_Length 3.8726453202307525 ns/iter 3.428196415936278 ns/iter 1.13
JSON_Object_Defines_Miss_Too_Small 4.223254767286102 ns/iter 3.7391129292786247 ns/iter 1.13
JSON_Object_Defines_Miss_Too_Large 3.5189544200176566 ns/iter 3.115278429353543 ns/iter 1.13
Regex_Lower_S_Or_Upper_S_Asterisk 1.0555393191809999 ns/iter 0.9352727340345448 ns/iter 1.13
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 1.0559507076633337 ns/iter 0.9358655567438798 ns/iter 1.13
Regex_Period_Asterisk 0.7039215707185131 ns/iter 0.623463457747728 ns/iter 1.13
Regex_Group_Period_Asterisk_Group 0.704943551146096 ns/iter 0.6240725155635714 ns/iter 1.13
Regex_Period_Plus 1.056161715357079 ns/iter 0.9361609936344152 ns/iter 1.13
Regex_Period 1.0557364689099595 ns/iter 0.9349413817524664 ns/iter 1.13
Regex_Caret_Period_Plus_Dollar 0.7034185554243634 ns/iter 0.6235457402412881 ns/iter 1.13
Regex_Caret_Group_Period_Plus_Group_Dollar 0.7037280520643678 ns/iter 0.6231540709880066 ns/iter 1.13
Regex_Caret_Period_Asterisk_Dollar 1.0556846126748356 ns/iter 0.9348357490442345 ns/iter 1.13
Regex_Caret_Group_Period_Asterisk_Group_Dollar 1.0562385928330325 ns/iter 0.934709313905593 ns/iter 1.13
Regex_Caret_X_Hyphen 4.220934437521057 ns/iter 4.3642361282348565 ns/iter 0.97
Regex_Period_Md_Dollar 32.88941455107389 ns/iter 29.382089434725977 ns/iter 1.12
Regex_Caret_Slash_Period_Asterisk 3.8704409956318786 ns/iter 4.359284465181978 ns/iter 0.89
Regex_Caret_Period_Range_Dollar 1.0561011856157965 ns/iter 0.9355247538885607 ns/iter 1.13
Regex_Nested_Backtrack 39.43070780193469 ns/iter 38.02430672812823 ns/iter 1.04

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

Copy link
Copy Markdown

@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 (linux/llvm)

Details
Benchmark suite Current: d59dfbc Previous: 874d1e2 Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 2.4643761629540584 ns/iter 2.18169567618257 ns/iter 1.13
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 2.46385386335654 ns/iter 2.1828284959789706 ns/iter 1.13
Regex_Period_Asterisk 2.4621225197979015 ns/iter 2.234635014393163 ns/iter 1.10
Regex_Group_Period_Asterisk_Group 2.4618658097847215 ns/iter 2.1789687006443805 ns/iter 1.13
Regex_Period_Plus 3.866520926819823 ns/iter 2.4905995727169223 ns/iter 1.55
Regex_Period 4.218733228714393 ns/iter 2.801690988788767 ns/iter 1.51
Regex_Caret_Period_Plus_Dollar 3.867504708942644 ns/iter 2.501123719376996 ns/iter 1.55
Regex_Caret_Group_Period_Plus_Group_Dollar 4.220026310939158 ns/iter 2.8034731662375947 ns/iter 1.51
Regex_Caret_Period_Asterisk_Dollar 2.4614241268436077 ns/iter 2.180015709868193 ns/iter 1.13
Regex_Caret_Group_Period_Asterisk_Group_Dollar 2.8131082684731403 ns/iter 2.495128514489468 ns/iter 1.13
Regex_Caret_X_Hyphen 7.027080470697193 ns/iter 6.550611745599844 ns/iter 1.07
Regex_Period_Md_Dollar 28.435428048006536 ns/iter 28.028356198518903 ns/iter 1.01
Regex_Caret_Slash_Period_Asterisk 5.627707015698093 ns/iter 5.608627564132745 ns/iter 1.00
Regex_Caret_Period_Range_Dollar 3.9144426211114682 ns/iter 2.8025780588909384 ns/iter 1.40
Regex_Nested_Backtrack 36.66765123328354 ns/iter 37.003843609866514 ns/iter 0.99
JSON_Array_Of_Objects_Unique 439.73550012030927 ns/iter 410.57325256263823 ns/iter 1.07
JSON_Parse_1 5772.350467175459 ns/iter 5813.625949919952 ns/iter 0.99
JSON_Parse_Real 10396.088687273483 ns/iter 10876.928189303999 ns/iter 0.96
JSON_Parse_Decimal 12093.229646354996 ns/iter 11391.432262160753 ns/iter 1.06
JSON_Parse_Schema_ISO_Language 3679996.868420762 ns/iter 3580190.5969388103 ns/iter 1.03
JSON_Fast_Hash_Helm_Chart_Lock 73.47755845815385 ns/iter 61.01287585697947 ns/iter 1.20
JSON_Equality_Helm_Chart_Lock 164.31291976087016 ns/iter 155.0853911151357 ns/iter 1.06
JSON_Divisible_By_Decimal 238.55284178014907 ns/iter 238.4677678296935 ns/iter 1.00
JSON_String_Equal/10 6.331796476534077 ns/iter 6.248010330717526 ns/iter 1.01
JSON_String_Equal/100 7.03372355949799 ns/iter 6.860381315969232 ns/iter 1.03
JSON_String_Equal_Small_By_Perfect_Hash/10 1.0545507674738175 ns/iter 0.9360970399292429 ns/iter 1.13
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 12.33991226728539 ns/iter 14.748931815416523 ns/iter 0.84
JSON_String_Fast_Hash/10 2.815365506051761 ns/iter 2.801945492526336 ns/iter 1.00
JSON_String_Fast_Hash/100 2.8152425600343594 ns/iter 2.8027191821238726 ns/iter 1.00
JSON_String_Key_Hash/10 2.4626502361969362 ns/iter 2.6752780296336627 ns/iter 0.92
JSON_String_Key_Hash/100 7.734408298416521 ns/iter 9.031812242762571 ns/iter 0.86
JSON_Object_Defines_Miss_Same_Length 4.224174168017861 ns/iter 3.741049547725258 ns/iter 1.13
JSON_Object_Defines_Miss_Too_Small 4.222417183481973 ns/iter 3.746782321190258 ns/iter 1.13
JSON_Object_Defines_Miss_Too_Large 4.219203636096953 ns/iter 3.7391145418336853 ns/iter 1.13
Pointer_Object_Traverse 27.180436849056775 ns/iter 27.61639392144488 ns/iter 0.98
Pointer_Object_Try_Traverse 30.131708027246685 ns/iter 30.410546621196374 ns/iter 0.99
Pointer_Push_Back_Pointer_To_Weak_Pointer 175.5312458439998 ns/iter 219.99337472180116 ns/iter 0.80
Pointer_Walker_Schema_ISO_Language 3113632.8888886864 ns/iter 2991652.098290551 ns/iter 1.04
Pointer_Maybe_Tracked_Deeply_Nested/0 1416736.1731160558 ns/iter 1404580.314629275 ns/iter 1.01
Pointer_Maybe_Tracked_Deeply_Nested/1 1726398.0518517785 ns/iter 1787060.5994897855 ns/iter 0.97
Pointer_Position_Tracker_Get_Deeply_Nested 722.788970251249 ns/iter 618.2003264985763 ns/iter 1.17
URITemplateRouter_Create 29797.890916830613 ns/iter 31288.347013102615 ns/iter 0.95
URITemplateRouter_Match 186.17071703449759 ns/iter 174.91101155883726 ns/iter 1.06
URITemplateRouter_Match_BasePath 222.01976230260934 ns/iter 201.58496600652254 ns/iter 1.10
URITemplateRouterView_Restore 8781.423061267356 ns/iter 7739.710765752227 ns/iter 1.13
URITemplateRouterView_Match 146.2552606086764 ns/iter 141.93397673918284 ns/iter 1.03
URITemplateRouterView_Match_BasePath 164.33240503579043 ns/iter 160.48563235902282 ns/iter 1.02
URITemplateRouterView_Arguments 473.25460200897624 ns/iter 454.81586558738684 ns/iter 1.04
JSONL_Parse_Large 10347623.447762374 ns/iter 11141013.841269782 ns/iter 0.93
JSONL_Parse_Large_GZIP 11643179.516666653 ns/iter 12397832.473684583 ns/iter 0.94
HTML_Build_Table_100000 84810106.00000615 ns/iter 62127431.18182247 ns/iter 1.37
HTML_Render_Table_100000 4879252.98601421 ns/iter 5143335.825757524 ns/iter 0.95
GZIP_Compress_ISO_Language_Set_3_Locations 36356349.21052817 ns/iter 34557510.95000039 ns/iter 1.05
GZIP_Decompress_ISO_Language_Set_3_Locations 4630541.41721838 ns/iter 4706205.03973495 ns/iter 0.98
GZIP_Compress_ISO_Language_Set_3_Schema 2145608.7085887403 ns/iter 1910676.0737705173 ns/iter 1.12
GZIP_Decompress_ISO_Language_Set_3_Schema 291904.72613591177 ns/iter 372681.4058981456 ns/iter 0.78

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

Copy link
Copy Markdown

@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 (windows/msvc)

Details
Benchmark suite Current: d59dfbc Previous: 874d1e2 Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 7.58737723214458 ns/iter 7.721930803570944 ns/iter 0.98
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 7.515107142856335 ns/iter 7.618113392857547 ns/iter 0.99
Regex_Period_Asterisk 7.535718749999936 ns/iter 7.620462053571839 ns/iter 0.99
Regex_Group_Period_Asterisk_Group 7.519124999999199 ns/iter 7.5261808035710835 ns/iter 1.00
Regex_Period_Plus 9.701683885259568 ns/iter 9.685807812500613 ns/iter 1.00
Regex_Period 9.709968706651859 ns/iter 9.701291474547872 ns/iter 1.00
Regex_Caret_Period_Plus_Dollar 9.735894599392667 ns/iter 9.705312010243805 ns/iter 1.00
Regex_Caret_Group_Period_Plus_Group_Dollar 9.746862010061209 ns/iter 9.69381874999975 ns/iter 1.01
Regex_Caret_Period_Asterisk_Dollar 7.501416294642484 ns/iter 7.5530133928568075 ns/iter 0.99
Regex_Caret_Group_Period_Asterisk_Group_Dollar 7.5120792410717945 ns/iter 7.524499107142495 ns/iter 1.00
Regex_Caret_X_Hyphen 11.748753571428747 ns/iter 11.73780535714286 ns/iter 1.00
Regex_Period_Md_Dollar 37.33252675893309 ns/iter 38.250818959802224 ns/iter 0.98
Regex_Caret_Slash_Period_Asterisk 11.436828124999465 ns/iter 11.44307321428479 ns/iter 1.00
Regex_Caret_Period_Range_Dollar 9.741669599368139 ns/iter 9.720214242320422 ns/iter 1.00
Regex_Nested_Backtrack 46.37092067792518 ns/iter 46.817526785706114 ns/iter 0.99
JSON_Array_Of_Objects_Unique 454.0162499999667 ns/iter 454.5932944495238 ns/iter 1.00
JSON_Parse_1 8657.009120493789 ns/iter 8414.23654358697 ns/iter 1.03
JSON_Parse_Real 15715.140625002075 ns/iter 15596.95982142831 ns/iter 1.01
JSON_Parse_Decimal 14790.674107147644 ns/iter 15635.819196427392 ns/iter 0.95
JSON_Parse_Schema_ISO_Language 5895939.285713731 ns/iter 5850308.0357143385 ns/iter 1.01
JSON_Fast_Hash_Helm_Chart_Lock 59.28710000000592 ns/iter 61.609678571425015 ns/iter 0.96
JSON_Equality_Helm_Chart_Lock 262.89377959351737 ns/iter 264.33074999999917 ns/iter 0.99
JSON_Divisible_By_Decimal 262.820678571448 ns/iter 252.95953571429666 ns/iter 1.04
JSON_String_Equal/10 12.884859987121478 ns/iter 12.894548214286974 ns/iter 1.00
JSON_String_Equal/100 13.25854999999722 ns/iter 13.267739285715104 ns/iter 1.00
JSON_String_Equal_Small_By_Perfect_Hash/10 1.8905335731165513 ns/iter 1.892862323118476 ns/iter 1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 12.605060714284784 ns/iter 12.990942857143752 ns/iter 0.97
JSON_String_Fast_Hash/10 3.216515161276015 ns/iter 3.260495089286053 ns/iter 0.99
JSON_String_Fast_Hash/100 3.137387946429117 ns/iter 3.133764732142806 ns/iter 1.00
JSON_String_Key_Hash/10 3.7642366004209347 ns/iter 3.7728332075486004 ns/iter 1.00
JSON_String_Key_Hash/100 16.553561049863372 ns/iter 14.400144578572029 ns/iter 1.15
JSON_Object_Defines_Miss_Same_Length 3.9058558858824 ns/iter 3.8187112431804207 ns/iter 1.02
JSON_Object_Defines_Miss_Too_Small 3.7698026718395212 ns/iter 3.7618900669647966 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Large 5.023935948714406 ns/iter 5.022966000000224 ns/iter 1.00
Pointer_Object_Traverse 42.14323222417001 ns/iter 41.97888178177382 ns/iter 1.00
Pointer_Object_Try_Traverse 54.08381250000665 ns/iter 54.11139000000276 ns/iter 1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer 172.01980392987537 ns/iter 151.29207589283615 ns/iter 1.14
Pointer_Walker_Schema_ISO_Language 11342137.500000555 ns/iter 10971449.99999955 ns/iter 1.03
Pointer_Maybe_Tracked_Deeply_Nested/0 2199750.757575092 ns/iter 1947521.0702339944 ns/iter 1.13
Pointer_Maybe_Tracked_Deeply_Nested/1 3159503.2863849704 ns/iter 2950373.728813189 ns/iter 1.07
Pointer_Position_Tracker_Get_Deeply_Nested 639.7873883928287 ns/iter 619.2146205356813 ns/iter 1.03
URITemplateRouter_Create 39247.23214285513 ns/iter 39121.32812500246 ns/iter 1.00
URITemplateRouter_Match 197.21407117981587 ns/iter 197.24289261095487 ns/iter 1.00
URITemplateRouter_Match_BasePath 230.35293188031685 ns/iter 231.74398083213006 ns/iter 0.99
URITemplateRouterView_Restore 31258.388392854744 ns/iter 31800.008928572406 ns/iter 0.98
URITemplateRouterView_Match 155.01044642860506 ns/iter 155.48707589285726 ns/iter 1.00
URITemplateRouterView_Match_BasePath 179.4063374469532 ns/iter 178.1148355880394 ns/iter 1.01
URITemplateRouterView_Arguments 448.06761658900933 ns/iter 457.08557845927294 ns/iter 0.98
JSONL_Parse_Large 30375886.36364448 ns/iter 30874672.727272604 ns/iter 0.98
JSONL_Parse_Large_GZIP 29947520.83333196 ns/iter 30636649.999998804 ns/iter 0.98
HTML_Build_Table_100000 86358855.55554524 ns/iter 84377922.2222262 ns/iter 1.02
HTML_Render_Table_100000 7731616.66666561 ns/iter 7634495.535714539 ns/iter 1.01
GZIP_Compress_ISO_Language_Set_3_Locations 40867082.352941215 ns/iter 40363368.421056196 ns/iter 1.01
GZIP_Decompress_ISO_Language_Set_3_Locations 10600979.68749929 ns/iter 10225214.666666035 ns/iter 1.04
GZIP_Compress_ISO_Language_Set_3_Schema 2241358.5284282262 ns/iter 2257208.7499998617 ns/iter 0.99
GZIP_Decompress_ISO_Language_Set_3_Schema 643668.4821429545 ns/iter 652583.4821428386 ns/iter 0.99

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

@jviotti jviotti merged commit 1781377 into main May 24, 2026
13 checks passed
@jviotti jviotti deleted the mcp-module branch May 24, 2026 00:28
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