Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Resolve the dated OpenAPI 3.1 Schema Object dialects - #2926

Closed
jviotti wants to merge 1 commit into
mainfrom
openapi-3-1-dates
Closed

jviotti wants to merge 1 commit into
mainfrom
openapi-3-1-dates

Conversation

@jviotti

@jviotti jviotti commented Oct 3, 2026 •

Copy link
Copy Markdown
Member

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

Review in cubic

Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown

Benchmark linux/llvm

Measured against main at bddf166.

9 slower, 9 faster, 92 within 5%.

Benchmark main This branch Change
Regex_Caret_Group_Period_Plus_Group_Dollar 2.45 ns 3.27 ns +33.4%
Regex_Caret_X_Hyphen 4.91 ns 5.73 ns +16.7%
Regex_Caret_Slash_Period_Asterisk 5.18 ns 6.00 ns +15.8%
JSON_String_Equal_100 5.72 ns 6.28 ns +9.6%
JSON_PropertySet_Insert 441.92 ns 481.63 ns +9.0%
Markdown_To_HTML_Short_Descriptions 378.78 ns 410.86 ns +8.5%
JSON_From_String_Copy 9.92 ns 10.74 ns +8.3%
JSON_From_String_Temporary 7.99 ns 8.56 ns +7.1%
URITemplateRouter_Match_BasePath 140.74 ns 149.05 ns +5.9%
JSON_Array_Of_Strings_Unique_Colliding_256 162.29 us 153.20 us -5.6%
Regex_Caret_Period_Range_Dollar 4.09 ns 3.82 ns -6.7%
Regex_Period 3.82 ns 3.55 ns -7.1%
Regex_Period_Plus 3.82 ns 3.55 ns -7.2%
JSON_Array_Of_Integers_Unique_256 3.87 us 3.59 us -7.2%
Regex_Caret_Period_Plus_Dollar 3.55 ns 3.27 ns -7.7%
JSON_String_Equal_10 6.01 ns 5.45 ns -9.3%
Regex_Caret_Group_Period_Asterisk_Group_Dollar 3.55 ns 2.73 ns -23.0%
Regex_Caret_Period_Asterisk_Dollar 3.55 ns 2.73 ns -23.0%
All 110 benchmarks
Benchmark main This branch Change
Regex_Lower_S_Or_Upper_S_Asterisk 2.45 ns 2.46 ns +0.1%
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 2.45 ns 2.45 ns +0.1%
Regex_Period_Asterisk 2.18 ns 2.18 ns -0.0%
Regex_Group_Period_Asterisk_Group 2.18 ns 2.18 ns +0.1%
Regex_Period_Plus 3.82 ns 3.55 ns -7.2%
Regex_Period 3.82 ns 3.55 ns -7.1%
Regex_Caret_Period_Plus_Dollar 3.55 ns 3.27 ns -7.7%
Regex_Caret_Group_Period_Plus_Group_Dollar 2.45 ns 3.27 ns +33.4%
Regex_Caret_Period_Asterisk_Dollar 3.55 ns 2.73 ns -23.0%
Regex_Caret_Group_Period_Asterisk_Group_Dollar 3.55 ns 2.73 ns -23.0%
Regex_Caret_X_Hyphen 4.91 ns 5.73 ns +16.7%
Regex_Period_Md_Dollar 20.27 ns 20.33 ns +0.3%
Regex_Caret_Slash_Period_Asterisk 5.18 ns 6.00 ns +15.8%
Regex_Caret_Period_Range_Dollar 4.09 ns 3.82 ns -6.7%
Regex_Nested_Backtrack 30.37 ns 30.17 ns -0.7%
JSON_Array_Of_Objects_Unique 345.45 ns 335.28 ns -2.9%
JSON_Array_Of_Integers_Unique_256 3.87 us 3.59 us -7.2%
JSON_Array_Of_Strings_Unique_Colliding_256 162.29 us 153.20 us -5.6%
JSON_Parse_1 3.41 us 3.39 us -0.6%
JSON_Parse_Real 3.57 us 3.58 us +0.3%
JSON_Parse_Decimal 5.77 us 5.63 us -2.5%
JSON_Parse_Schema_ISO_Language 2.68 ms 2.67 ms -0.5%
JSON_Parse_Integer 2.94 us 2.95 us +0.3%
JSON_Parse_String_NonSSO_Plain 2.33 us 2.35 us +0.9%
JSON_Parse_String_SSO_Plain 2.21 us 2.24 us +1.1%
JSON_Parse_String_Escape_Heavy 10.12 us 10.11 us -0.0%
JSON_Parse_Object_Short_Keys 6.18 us 6.25 us +1.0%
JSON_Parse_Object_Scalar_Properties 3.11 us 3.17 us +1.8%
JSON_Parse_Object_Array_Properties 4.31 us 4.31 us +0.1%
JSON_Parse_Object_Object_Properties 4.32 us 4.26 us -1.2%
JSON_Parse_Nested_Containers 26.47 us 26.84 us +1.4%
JSON_Fast_Hash_Helm_Chart_Lock 61.35 ns 61.36 ns +0.0%
JSON_Equality_Helm_Chart_Lock 126.14 ns 120.03 ns -4.8%
JSON_String_Equal_10 6.01 ns 5.45 ns -9.3%
JSON_String_Equal_100 5.72 ns 6.28 ns +9.6%
JSON_String_Equal_Small_By_Perfect_Hash_10 0.82 ns 0.82 ns +0.0%
JSON_String_Equal_Small_By_Runtime_Perfect_Hash_10 9.70 ns 9.57 ns -1.3%
JSON_String_Fast_Hash_10 2.18 ns 2.18 ns +0.0%
JSON_String_Fast_Hash_100 2.18 ns 2.18 ns +0.1%
JSON_String_Key_Hash_10 1.91 ns 1.91 ns -0.0%
JSON_String_Key_Hash_100 6.27 ns 6.27 ns +0.0%
JSON_Object_Defines_Miss_Same_Length 3.27 ns 3.27 ns -0.0%
JSON_Object_Defines_Miss_Too_Small 2.48 ns 2.58 ns +4.2%
JSON_Object_Defines_Miss_Too_Large 2.27 ns 2.31 ns +2.1%
JSON_From_String_Copy 9.92 ns 10.74 ns +8.3%
JSON_From_String_Temporary 7.99 ns 8.56 ns +7.1%
JSON_Number_To_Double 10.64 ns 10.64 ns +0.0%
JSON_Object_At_Last_Key_8 3.10 ns 3.12 ns +0.6%
JSON_Object_At_Last_Key_32 10.14 ns 10.13 ns -0.2%
JSON_Object_At_Last_Key_128 70.58 ns 70.63 ns +0.1%
JSON_Object_At_Last_Key_512 263.97 ns 275.11 ns +4.2%
JSON_Divisible_By_Decimal 360.14 ns 356.77 ns -0.9%
JSON_PropertySet_Contains 47.81 ns 47.46 ns -0.7%
JSON_PropertySet_Filter_Object_Properties 31.79 ns 32.06 ns +0.8%
JSON_PropertySet_Insert 441.92 ns 481.63 ns +9.0%
JSON_Stringify_Schema_Web_Of_Things 46.86 us 48.51 us +3.5%
JSON_Prettify_Schema_Web_Of_Things 126.86 us 128.61 us +1.4%
Pointer_Object_Traverse 23.75 ns 23.72 ns -0.1%
Pointer_Object_Try_Traverse 25.91 ns 25.94 ns +0.1%
Pointer_Push_Back_Pointer_To_Weak_Pointer 140.23 ns 139.27 ns -0.7%
Pointer_Walker_Schema_ISO_Language 1.17 ms 1.16 ms -1.3%
Pointer_Untracked_Deeply_Nested 979.58 us 991.69 us +1.2%
Pointer_Tracked_Deeply_Nested 1.25 ms 1.26 ms +0.5%
Pointer_Position_Tracker_Get_Deeply_Nested 544.11 ns 552.32 ns +1.5%
Schema_Tracker_ISO_Language 3.43 ms 3.41 ms -0.4%
Schema_Tracker_ISO_Language_To_JSON 12.73 ms 12.55 ms -1.4%
Schema_Frame_WoT_References 1.58 ms 1.54 ms -2.6%
Schema_Frame_OMC_References 7.26 ms 7.17 ms -1.2%
Schema_Frame_OMC_Pointers 13.39 ms 13.12 ms -2.1%
Schema_Frame_OMC_Locations 6.30 ms 6.17 ms -2.1%
Schema_Frame_ISO_Language_Locations 31.78 ms 30.52 ms -4.0%
Schema_Frame_ISO_Language_Root 210.37 ns 211.52 ns +0.5%
Schema_Frame_KrakenD_References 11.97 ms 11.85 ms -1.0%
Schema_Frame_KrakenD_Reachable 106.12 ms 102.72 ms -3.2%
Schema_Frame_ISO_Language_Locations_To_JSON 27.33 ms 26.51 ms -3.0%
Schema_Frame_Many_Resources_References 106.58 ms 102.88 ms -3.5%
Schema_Frame_Deeply_Nested_References 8.25 ms 8.05 ms -2.4%
Schema_Format_ISO_Language 34.82 ms 34.33 ms -1.4%
Schema_Bundle_Meta_2020_12 385.73 us 373.62 us -3.1%
Schema_Bundle_Many_Remotes_With_Fragments 4.85 ms 4.78 ms -1.4%
OpenAPI_Format_Synthetic_3_1 36.24 ms 35.88 ms -1.0%
JSONPath_Descendant_Filter_Nested 1.17 us 1.18 us +1.2%
URITemplateRouter_Create 15.67 us 16.43 us +4.8%
URITemplateRouter_Match 129.43 ns 130.69 ns +1.0%
URITemplateRouterView_Restore 7.64 us 7.48 us -2.1%
URITemplateRouterView_Match 109.09 ns 113.22 ns +3.8%
URITemplateRouterView_Arguments 350.07 ns 352.26 ns +0.6%
URITemplateRouter_Match_BasePath 140.74 ns 149.05 ns +5.9%
URITemplateRouterView_Match_BasePath 130.16 ns 134.67 ns +3.5%
JSONL_Parse_Large 6.65 ms 6.69 ms +0.7%
JSONL_Parse_Large_GZIP 6.78 ms 6.98 ms +3.1%
JSONLD_Catalog_Annotation_List_Populate 467.95 us 458.69 us -2.0%
JSONLD_Catalog_Materialize 2.71 ms 2.70 ms -0.4%
HTML_Build_Table_100000 26.87 ms 26.73 ms -0.5%
HTML_Render_Table_100000 1.88 ms 1.91 ms +1.3%
Markdown_To_HTML_Realistic_Document 3.13 ms 3.10 ms -0.8%
Markdown_To_HTML_Pathological 10.55 ms 10.62 ms +0.6%
Markdown_To_HTML_Short_Descriptions 378.78 ns 410.86 ns +8.5%
GZIP_Compress_ISO_Language_Set_3_Locations 31.15 ms 31.23 ms +0.2%
GZIP_Decompress_ISO_Language_Set_3_Locations 4.28 ms 4.29 ms +0.3%
GZIP_Decompress_Default_Level_ISO_Language_Set_3_Locations 5.71 ms 5.71 ms +0.0%
GZIP_Decompress_Stream_Default_Level_ISO_Language_Set_3_Locations 7.29 ms 7.35 ms +0.7%
GZIP_Compress_ISO_Language_Set_3_Schema 1.94 ms 1.94 ms -0.3%
GZIP_Decompress_ISO_Language_Set_3_Schema 319.29 us 317.50 us -0.6%
JOSE_VerifySignature_RS256 40.35 us 40.56 us +0.5%
JOSE_VerifySignature_ES512 1.50 ms 1.52 ms +1.2%
Crypto_CRC32_Large_JSONL 88.73 us 88.74 us +0.0%
Crypto_AES_GCM_Encrypt_128_1KB 26.91 us 26.87 us -0.1%
Crypto_AES_GCM_Decrypt_128_1KB 26.86 us 26.84 us -0.1%
Crypto_AES_GCM_Encrypt_256_1KB 32.64 us 32.57 us -0.2%

@jviotti jviotti closed this Oct 3, 2026
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown

Benchmark windows/msvc

Measured against main at bddf166.

36 slower, 2 faster, 72 within 5%.

Benchmark main This branch Change
Schema_Format_ISO_Language 82.72 ms 122.55 ms +48.1%
Schema_Frame_Deeply_Nested_References 20.69 ms 27.81 ms +34.4%
Schema_Frame_OMC_References 22.95 ms 27.95 ms +21.8%
JSON_Object_Defines_Miss_Same_Length 3.45 ns 4.15 ns +20.3%
Schema_Frame_OMC_Pointers 40.87 ms 48.71 ms +19.2%
JSON_Object_At_Last_Key_128 89.78 ns 104.04 ns +15.9%
Schema_Frame_OMC_Locations 19.11 ms 21.90 ms +14.6%
JSON_Prettify_Schema_Web_Of_Things 720.23 us 823.43 us +14.3%
Pointer_Position_Tracker_Get_Deeply_Nested 563.61 ns 640.21 ns +13.6%
JSON_PropertySet_Filter_Object_Properties 48.84 ns 55.36 ns +13.3%
Schema_Frame_KrakenD_References 38.24 ms 43.30 ms +13.2%
Schema_Frame_Many_Resources_References 684.57 ms 768.00 ms +12.2%
Schema_Tracker_ISO_Language 10.56 ms 11.84 ms +12.1%
JSON_Object_At_Last_Key_32 23.06 ns 25.83 ns +12.0%
Pointer_Object_Traverse 66.81 ns 74.82 ns +12.0%
URITemplateRouter_Match 233.13 ns 260.05 ns +11.5%
Schema_Frame_WoT_References 5.22 ms 5.81 ms +11.4%
JSON_Divisible_By_Decimal 589.98 ns 656.47 ns +11.3%
Schema_Frame_KrakenD_Reachable 302.91 ms 333.02 ms +9.9%
Schema_Frame_ISO_Language_Root 2.13 us 2.34 us +9.9%
Schema_Bundle_Many_Remotes_With_Fragments 28.94 ms 31.80 ms +9.9%
Pointer_Untracked_Deeply_Nested 2.51 ms 2.75 ms +9.8%
Pointer_Push_Back_Pointer_To_Weak_Pointer 176.06 ns 192.58 ns +9.4%
Schema_Frame_ISO_Language_Locations_To_JSON 160.26 ms 174.92 ms +9.2%
URITemplateRouterView_Match 213.31 ns 232.76 ns +9.1%
Schema_Tracker_ISO_Language_To_JSON 63.81 ms 69.52 ms +8.9%
Schema_Bundle_Meta_2020_12 1.42 ms 1.53 ms +8.3%
JSON_PropertySet_Insert 1.59 us 1.72 us +8.1%
JSON_Stringify_Schema_Web_Of_Things 227.63 us 245.80 us +8.0%
OpenAPI_Format_Synthetic_3_1 119.76 ms 129.25 ms +7.9%
JSON_From_String_Temporary 57.76 ns 61.98 ns +7.3%
Pointer_Walker_Schema_ISO_Language 10.98 ms 11.76 ms +7.1%
URITemplateRouterView_Restore 33.00 us 35.18 us +6.6%
JSON_Object_Defines_Miss_Too_Large 4.09 ns 4.35 ns +6.4%
URITemplateRouterView_Match_BasePath 242.35 ns 256.63 ns +5.9%
URITemplateRouter_Match_BasePath 264.16 ns 279.70 ns +5.9%
JSON_String_Equal_Small_By_Runtime_Perfect_Hash_10 15.02 ns 14.24 ns -5.2%
JSON_Object_Defines_Miss_Too_Small 4.09 ns 3.87 ns -5.4%
All 110 benchmarks
Benchmark main This branch Change
Regex_Lower_S_Or_Upper_S_Asterisk 4.71 ns 4.72 ns +0.3%
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 4.70 ns 4.73 ns +0.7%
Regex_Period_Asterisk 4.85 ns 4.74 ns -2.3%
Regex_Group_Period_Asterisk_Group 4.77 ns 4.72 ns -1.1%
Regex_Period_Plus 4.66 ns 4.65 ns -0.1%
Regex_Period 4.43 ns 4.46 ns +0.6%
Regex_Caret_Period_Plus_Dollar 4.65 ns 4.65 ns +0.1%
Regex_Caret_Group_Period_Plus_Group_Dollar 4.45 ns 4.47 ns +0.5%
Regex_Caret_Period_Asterisk_Dollar 4.70 ns 4.71 ns +0.2%
Regex_Caret_Group_Period_Asterisk_Group_Dollar 4.72 ns 4.70 ns -0.5%
Regex_Caret_X_Hyphen 7.84 ns 8.15 ns +3.9%
Regex_Period_Md_Dollar 46.82 ns 46.07 ns -1.6%
Regex_Caret_Slash_Period_Asterisk 7.62 ns 7.86 ns +3.2%
Regex_Caret_Period_Range_Dollar 5.33 ns 5.33 ns +0.1%
Regex_Nested_Backtrack 57.94 ns 57.79 ns -0.3%
JSON_Array_Of_Objects_Unique 552.64 ns 540.88 ns -2.1%
JSON_Array_Of_Integers_Unique_256 4.42 us 4.56 us +3.1%
JSON_Array_Of_Strings_Unique_Colliding_256 299.95 us 291.18 us -2.9%
JSON_Parse_1 8.40 us 8.55 us +1.8%
JSON_Parse_Real 8.92 us 8.93 us +0.1%
JSON_Parse_Decimal 11.72 us 11.74 us +0.1%
JSON_Parse_Schema_ISO_Language 7.48 ms 7.60 ms +1.6%
JSON_Parse_Integer 6.37 us 6.48 us +1.7%
JSON_Parse_String_NonSSO_Plain 7.85 us 7.83 us -0.2%
JSON_Parse_String_SSO_Plain 3.78 us 3.65 us -3.6%
JSON_Parse_String_Escape_Heavy 21.91 us 21.53 us -1.7%
JSON_Parse_Object_Short_Keys 13.35 us 13.69 us +2.6%
JSON_Parse_Object_Scalar_Properties 6.88 us 7.04 us +2.4%
JSON_Parse_Object_Array_Properties 11.27 us 11.36 us +0.8%
JSON_Parse_Object_Object_Properties 11.50 us 11.57 us +0.6%
JSON_Parse_Nested_Containers 80.01 us 80.84 us +1.0%
JSON_Fast_Hash_Helm_Chart_Lock 103.00 ns 106.91 ns +3.8%
JSON_Equality_Helm_Chart_Lock 216.74 ns 208.88 ns -3.6%
JSON_String_Equal_10 10.44 ns 10.05 ns -3.7%
JSON_String_Equal_100 11.65 ns 11.64 ns -0.0%
JSON_String_Equal_Small_By_Perfect_Hash_10 2.20 ns 2.25 ns +2.3%
JSON_String_Equal_Small_By_Runtime_Perfect_Hash_10 15.02 ns 14.24 ns -5.2%
JSON_String_Fast_Hash_10 6.45 ns 6.31 ns -2.1%
JSON_String_Fast_Hash_100 6.39 ns 6.32 ns -1.1%
JSON_String_Key_Hash_10 5.02 ns 5.09 ns +1.6%
JSON_String_Key_Hash_100 11.87 ns 11.90 ns +0.3%
JSON_Object_Defines_Miss_Same_Length 3.45 ns 4.15 ns +20.3%
JSON_Object_Defines_Miss_Too_Small 4.09 ns 3.87 ns -5.4%
JSON_Object_Defines_Miss_Too_Large 4.09 ns 4.35 ns +6.4%
JSON_From_String_Copy 64.24 ns 64.90 ns +1.0%
JSON_From_String_Temporary 57.76 ns 61.98 ns +7.3%
JSON_Number_To_Double 41.29 ns 41.50 ns +0.5%
JSON_Object_At_Last_Key_8 7.23 ns 7.26 ns +0.4%
JSON_Object_At_Last_Key_32 23.06 ns 25.83 ns +12.0%
JSON_Object_At_Last_Key_128 89.78 ns 104.04 ns +15.9%
JSON_Object_At_Last_Key_512 427.72 ns 448.92 ns +5.0%
JSON_Divisible_By_Decimal 589.98 ns 656.47 ns +11.3%
JSON_PropertySet_Contains 79.32 ns 79.38 ns +0.1%
JSON_PropertySet_Filter_Object_Properties 48.84 ns 55.36 ns +13.3%
JSON_PropertySet_Insert 1.59 us 1.72 us +8.1%
JSON_Stringify_Schema_Web_Of_Things 227.63 us 245.80 us +8.0%
JSON_Prettify_Schema_Web_Of_Things 720.23 us 823.43 us +14.3%
Pointer_Object_Traverse 66.81 ns 74.82 ns +12.0%
Pointer_Object_Try_Traverse 74.56 ns 72.07 ns -3.3%
Pointer_Push_Back_Pointer_To_Weak_Pointer 176.06 ns 192.58 ns +9.4%
Pointer_Walker_Schema_ISO_Language 10.98 ms 11.76 ms +7.1%
Pointer_Untracked_Deeply_Nested 2.51 ms 2.75 ms +9.8%
Pointer_Tracked_Deeply_Nested 3.70 ms 3.73 ms +0.8%
Pointer_Position_Tracker_Get_Deeply_Nested 563.61 ns 640.21 ns +13.6%
Schema_Tracker_ISO_Language 10.56 ms 11.84 ms +12.1%
Schema_Tracker_ISO_Language_To_JSON 63.81 ms 69.52 ms +8.9%
Schema_Frame_WoT_References 5.22 ms 5.81 ms +11.4%
Schema_Frame_OMC_References 22.95 ms 27.95 ms +21.8%
Schema_Frame_OMC_Pointers 40.87 ms 48.71 ms +19.2%
Schema_Frame_OMC_Locations 19.11 ms 21.90 ms +14.6%
Schema_Frame_ISO_Language_Locations 79.87 ms 82.59 ms +3.4%
Schema_Frame_ISO_Language_Root 2.13 us 2.34 us +9.9%
Schema_Frame_KrakenD_References 38.24 ms 43.30 ms +13.2%
Schema_Frame_KrakenD_Reachable 302.91 ms 333.02 ms +9.9%
Schema_Frame_ISO_Language_Locations_To_JSON 160.26 ms 174.92 ms +9.2%
Schema_Frame_Many_Resources_References 684.57 ms 768.00 ms +12.2%
Schema_Frame_Deeply_Nested_References 20.69 ms 27.81 ms +34.4%
Schema_Format_ISO_Language 82.72 ms 122.55 ms +48.1%
Schema_Bundle_Meta_2020_12 1.42 ms 1.53 ms +8.3%
Schema_Bundle_Many_Remotes_With_Fragments 28.94 ms 31.80 ms +9.9%
OpenAPI_Format_Synthetic_3_1 119.76 ms 129.25 ms +7.9%
JSONPath_Descendant_Filter_Nested 2.44 us 2.54 us +3.9%
URITemplateRouter_Create 39.21 us 38.95 us -0.7%
URITemplateRouter_Match 233.13 ns 260.05 ns +11.5%
URITemplateRouterView_Restore 33.00 us 35.18 us +6.6%
URITemplateRouterView_Match 213.31 ns 232.76 ns +9.1%
URITemplateRouterView_Arguments 540.47 ns 535.96 ns -0.8%
URITemplateRouter_Match_BasePath 264.16 ns 279.70 ns +5.9%
URITemplateRouterView_Match_BasePath 242.35 ns 256.63 ns +5.9%
JSONL_Parse_Large 31.58 ms 32.26 ms +2.2%
JSONL_Parse_Large_GZIP 30.53 ms 30.96 ms +1.4%
JSONLD_Catalog_Annotation_List_Populate 2.95 ms 3.00 ms +1.7%
JSONLD_Catalog_Materialize 7.72 ms 7.94 ms +2.9%
HTML_Build_Table_100000 66.91 ms 67.39 ms +0.7%
HTML_Render_Table_100000 7.83 ms 7.82 ms -0.2%
Markdown_To_HTML_Realistic_Document 5.71 ms 5.73 ms +0.3%
Markdown_To_HTML_Pathological 17.35 ms 17.79 ms +2.6%
Markdown_To_HTML_Short_Descriptions 721.45 ns 700.17 ns -3.0%
GZIP_Compress_ISO_Language_Set_3_Locations 37.99 ms 37.30 ms -1.8%
GZIP_Decompress_ISO_Language_Set_3_Locations 9.67 ms 9.71 ms +0.4%
GZIP_Decompress_Default_Level_ISO_Language_Set_3_Locations 12.04 ms 12.02 ms -0.2%
GZIP_Decompress_Stream_Default_Level_ISO_Language_Set_3_Locations 15.74 ms 15.61 ms -0.8%
GZIP_Compress_ISO_Language_Set_3_Schema 2.31 ms 2.33 ms +0.7%
GZIP_Decompress_ISO_Language_Set_3_Schema 626.13 us 649.48 us +3.7%
JOSE_VerifySignature_RS256 21.23 us 21.31 us +0.4%
JOSE_VerifySignature_ES512 1.36 ms 1.37 ms +0.0%
Crypto_CRC32_Large_JSONL 103.06 us 103.51 us +0.4%
Crypto_AES_GCM_Encrypt_128_1KB 2.35 us 2.36 us +0.5%
Crypto_AES_GCM_Decrypt_128_1KB 2.42 us 2.36 us -2.5%
Crypto_AES_GCM_Encrypt_256_1KB 2.41 us 2.42 us +0.3%

@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown

Benchmark linux/gcc

Measured against main at bddf166.

5 slower, 10 faster, 95 within 5%.

Benchmark main This branch Change
JSON_Array_Of_Integers_Unique_256 4.34 us 6.54 us +50.8%
JSON_String_Equal_100 6.46 ns 7.87 ns +21.7%
JSON_PropertySet_Filter_Object_Properties 36.57 ns 42.18 ns +15.3%
JSON_Fast_Hash_Helm_Chart_Lock 80.46 ns 88.74 ns +10.3%
JSON_Object_At_Last_Key_8 6.33 ns 6.68 ns +5.5%
Pointer_Push_Back_Pointer_To_Weak_Pointer 143.12 ns 135.38 ns -5.4%
Schema_Frame_OMC_References 11.28 ms 10.62 ms -5.9%
Regex_Caret_Period_Range_Dollar 4.31 ns 4.04 ns -6.1%
Schema_Frame_ISO_Language_Locations_To_JSON 36.25 ms 33.68 ms -7.1%
Schema_Frame_OMC_Locations 10.34 ms 9.59 ms -7.2%
Schema_Format_ISO_Language 52.61 ms 48.05 ms -8.7%
Schema_Frame_OMC_Pointers 21.73 ms 19.67 ms -9.5%
JSONLD_Catalog_Materialize 4.14 ms 3.69 ms -10.7%
Schema_Frame_Deeply_Nested_References 12.63 ms 11.14 ms -11.8%
JSON_String_Key_Hash_10 2.99 ns 2.46 ns -17.6%
All 110 benchmarks
Benchmark main This branch Change
Crypto_CRC32_Large_JSONL 114.44 us 114.42 us -0.0%
Crypto_AES_GCM_Encrypt_128_1KB 1.24 us 1.21 us -1.7%
Crypto_AES_GCM_Decrypt_128_1KB 1.22 us 1.19 us -2.8%
Crypto_AES_GCM_Encrypt_256_1KB 1.29 us 1.28 us -1.0%
JOSE_VerifySignature_RS256 24.69 us 24.59 us -0.4%
JOSE_VerifySignature_ES512 648.43 us 648.13 us -0.0%
GZIP_Compress_ISO_Language_Set_3_Locations 31.91 ms 31.95 ms +0.1%
GZIP_Decompress_ISO_Language_Set_3_Locations 5.59 ms 5.57 ms -0.3%
GZIP_Decompress_Default_Level_ISO_Language_Set_3_Locations 7.48 ms 7.47 ms -0.1%
GZIP_Decompress_Stream_Default_Level_ISO_Language_Set_3_Locations 9.85 ms 9.54 ms -3.2%
GZIP_Compress_ISO_Language_Set_3_Schema 2.30 ms 2.30 ms -0.1%
GZIP_Decompress_ISO_Language_Set_3_Schema 346.74 us 344.35 us -0.7%
Markdown_To_HTML_Realistic_Document 5.12 ms 5.11 ms -0.1%
Markdown_To_HTML_Pathological 14.10 ms 14.31 ms +1.5%
Markdown_To_HTML_Short_Descriptions 613.76 ns 616.63 ns +0.5%
HTML_Build_Table_100000 36.60 ms 38.27 ms +4.6%
HTML_Render_Table_100000 2.16 ms 2.14 ms -1.0%
JSONLD_Catalog_Annotation_List_Populate 746.39 us 734.97 us -1.5%
JSONLD_Catalog_Materialize 4.14 ms 3.69 ms -10.7%
JSONL_Parse_Large 9.93 ms 9.93 ms +0.1%
JSONL_Parse_Large_GZIP 10.10 ms 10.12 ms +0.2%
URITemplateRouter_Create 20.91 us 21.46 us +2.6%
URITemplateRouter_Match 152.48 ns 153.40 ns +0.6%
URITemplateRouterView_Restore 9.67 us 9.65 us -0.2%
URITemplateRouterView_Match 132.51 ns 137.11 ns +3.5%
URITemplateRouterView_Arguments 466.13 ns 469.91 ns +0.8%
URITemplateRouter_Match_BasePath 181.01 ns 188.64 ns +4.2%
URITemplateRouterView_Match_BasePath 156.82 ns 161.44 ns +3.0%
JSONPath_Descendant_Filter_Nested 1.79 us 1.84 us +2.9%
OpenAPI_Format_Synthetic_3_1 52.59 ms 50.20 ms -4.5%
Schema_Frame_WoT_References 2.37 ms 2.31 ms -2.4%
Schema_Frame_OMC_References 11.28 ms 10.62 ms -5.9%
Schema_Frame_OMC_Pointers 21.73 ms 19.67 ms -9.5%
Schema_Frame_OMC_Locations 10.34 ms 9.59 ms -7.2%
Schema_Frame_ISO_Language_Locations 47.14 ms 45.27 ms -4.0%
Schema_Frame_ISO_Language_Root 296.55 ns 294.50 ns -0.7%
Schema_Frame_KrakenD_References 17.78 ms 16.92 ms -4.8%
Schema_Frame_KrakenD_Reachable 138.23 ms 133.68 ms -3.3%
Schema_Frame_ISO_Language_Locations_To_JSON 36.25 ms 33.68 ms -7.1%
Schema_Frame_Many_Resources_References 159.17 ms 153.51 ms -3.6%
Schema_Frame_Deeply_Nested_References 12.63 ms 11.14 ms -11.8%
Schema_Format_ISO_Language 52.61 ms 48.05 ms -8.7%
Schema_Bundle_Meta_2020_12 592.77 us 601.72 us +1.5%
Schema_Bundle_Many_Remotes_With_Fragments 7.21 ms 7.18 ms -0.4%
Pointer_Object_Traverse 24.74 ns 24.87 ns +0.5%
Pointer_Object_Try_Traverse 26.46 ns 26.00 ns -1.7%
Pointer_Push_Back_Pointer_To_Weak_Pointer 143.12 ns 135.38 ns -5.4%
Pointer_Walker_Schema_ISO_Language 1.44 ms 1.38 ms -4.1%
Pointer_Untracked_Deeply_Nested 1.46 ms 1.47 ms +0.5%
Pointer_Tracked_Deeply_Nested 1.94 ms 1.93 ms -0.7%
Pointer_Position_Tracker_Get_Deeply_Nested 704.94 ns 694.18 ns -1.5%
Schema_Tracker_ISO_Language 5.18 ms 4.92 ms -5.0%
Schema_Tracker_ISO_Language_To_JSON 15.97 ms 15.24 ms -4.6%
JSON_Array_Of_Objects_Unique 481.99 ns 498.40 ns +3.4%
JSON_Array_Of_Integers_Unique_256 4.34 us 6.54 us +50.8%
JSON_Array_Of_Strings_Unique_Colliding_256 200.64 us 206.41 us +2.9%
JSON_Parse_1 5.43 us 5.30 us -2.4%
JSON_Parse_Real 5.64 us 5.64 us +0.1%
JSON_Parse_Decimal 8.92 us 8.61 us -3.5%
JSON_Parse_Schema_ISO_Language 3.72 ms 3.69 ms -0.8%
JSON_Parse_Integer 4.29 us 4.27 us -0.3%
JSON_Parse_String_NonSSO_Plain 3.84 us 3.87 us +0.7%
JSON_Parse_String_SSO_Plain 2.98 us 3.01 us +1.0%
JSON_Parse_String_Escape_Heavy 16.14 us 15.45 us -4.3%
JSON_Parse_Object_Short_Keys 10.53 us 10.57 us +0.4%
JSON_Parse_Object_Scalar_Properties 5.36 us 5.34 us -0.4%
JSON_Parse_Object_Array_Properties 7.14 us 6.93 us -2.9%
JSON_Parse_Object_Object_Properties 6.95 us 7.12 us +2.5%
JSON_Parse_Nested_Containers 43.00 us 43.15 us +0.4%
JSON_Fast_Hash_Helm_Chart_Lock 80.46 ns 88.74 ns +10.3%
JSON_Equality_Helm_Chart_Lock 180.55 ns 183.43 ns +1.6%
JSON_String_Equal_10 7.52 ns 7.16 ns -4.7%
JSON_String_Equal_100 6.46 ns 7.87 ns +21.7%
JSON_String_Equal_Small_By_Perfect_Hash_10 0.71 ns 0.71 ns -0.4%
JSON_String_Equal_Small_By_Runtime_Perfect_Hash_10 11.54 ns 11.64 ns +0.9%
JSON_String_Fast_Hash_10 3.13 ns 3.14 ns +0.1%
JSON_String_Fast_Hash_100 3.13 ns 3.16 ns +0.8%
JSON_String_Key_Hash_10 2.99 ns 2.46 ns -17.6%
JSON_String_Key_Hash_100 16.19 ns 16.16 ns -0.2%
JSON_Object_Defines_Miss_Same_Length 3.17 ns 3.16 ns -0.2%
JSON_Object_Defines_Miss_Too_Small 3.17 ns 3.16 ns -0.1%
JSON_Object_Defines_Miss_Too_Large 3.16 ns 3.16 ns +0.0%
JSON_From_String_Copy 10.01 ns 9.51 ns -4.9%
JSON_From_String_Temporary 9.31 ns 9.12 ns -2.0%
JSON_Number_To_Double 25.53 ns 25.42 ns -0.4%
JSON_Object_At_Last_Key_8 6.33 ns 6.68 ns +5.5%
JSON_Object_At_Last_Key_32 23.56 ns 23.55 ns -0.0%
JSON_Object_At_Last_Key_128 91.10 ns 91.07 ns -0.0%
JSON_Object_At_Last_Key_512 378.14 ns 379.06 ns +0.2%
JSON_Divisible_By_Decimal 537.24 ns 546.32 ns +1.7%
JSON_PropertySet_Contains 53.46 ns 51.34 ns -4.0%
JSON_PropertySet_Filter_Object_Properties 36.57 ns 42.18 ns +15.3%
JSON_PropertySet_Insert 490.55 ns 478.14 ns -2.5%
JSON_Stringify_Schema_Web_Of_Things 59.50 us 58.71 us -1.3%
JSON_Prettify_Schema_Web_Of_Things 160.62 us 162.38 us +1.1%
Regex_Lower_S_Or_Upper_S_Asterisk 2.02 ns 1.93 ns -4.4%
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 1.93 ns 1.93 ns -0.1%
Regex_Period_Asterisk 2.02 ns 1.93 ns -4.4%
Regex_Group_Period_Asterisk_Group 2.02 ns 2.02 ns -0.0%
Regex_Period_Plus 2.02 ns 1.93 ns -4.3%
Regex_Period 1.93 ns 1.93 ns -0.0%
Regex_Caret_Period_Plus_Dollar 2.02 ns 1.93 ns -4.4%
Regex_Caret_Group_Period_Plus_Group_Dollar 2.02 ns 2.02 ns +0.0%
Regex_Caret_Period_Asterisk_Dollar 2.02 ns 1.93 ns -4.4%
Regex_Caret_Group_Period_Asterisk_Group_Dollar 1.93 ns 1.93 ns +0.0%
Regex_Caret_X_Hyphen 6.85 ns 6.85 ns +0.0%
Regex_Period_Md_Dollar 32.90 ns 33.36 ns +1.4%
Regex_Caret_Slash_Period_Asterisk 7.64 ns 7.56 ns -1.2%
Regex_Caret_Period_Range_Dollar 4.31 ns 4.04 ns -6.1%
Regex_Nested_Backtrack 40.93 ns 41.59 ns +1.6%

@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown

Benchmark macos/llvm

Measured against main at bddf166.

12 slower, 73 faster, 25 within 5%.

Benchmark main This branch Change
JSON_Equality_Helm_Chart_Lock 217.83 ns 256.09 ns +17.6%
JSON_Object_At_Last_Key_8 4.40 ns 5.02 ns +14.0%
Regex_Period 2.39 ns 2.73 ns +13.8%
JSON_Object_Defines_Miss_Same_Length 2.95 ns 3.33 ns +12.9%
JSON_Object_At_Last_Key_32 13.29 ns 14.69 ns +10.6%
JSON_String_Equal_Small_By_Perfect_Hash_10 0.39 ns 0.43 ns +9.9%
JSON_String_Key_Hash_10 1.87 ns 2.03 ns +8.4%
JSON_From_String_Copy 11.66 ns 12.57 ns +7.8%
Regex_Period_Asterisk 2.09 ns 2.25 ns +7.7%
JSON_PropertySet_Contains 46.46 ns 49.45 ns +6.4%
JSON_Number_To_Double 11.53 ns 12.22 ns +6.0%
Regex_Caret_Slash_Period_Asterisk 5.56 ns 5.89 ns +5.9%
Regex_Caret_X_Hyphen 7.68 ns 7.27 ns -5.4%
Regex_Caret_Period_Plus_Dollar 2.33 ns 2.20 ns -5.7%
Schema_Tracker_ISO_Language 3.75 ms 3.50 ms -6.6%
JSON_Prettify_Schema_Web_Of_Things 170.17 us 157.80 us -7.3%
JSON_Parse_Object_Short_Keys 6.77 us 6.25 us -7.8%
JSON_Parse_String_Escape_Heavy 20.41 us 18.49 us -9.4%
JSON_String_Equal_100 8.78 ns 7.83 ns -10.9%
JSON_Parse_Nested_Containers 32.94 us 29.32 us -11.0%
JSON_Parse_Object_Object_Properties 4.32 us 3.78 us -12.5%
JSON_String_Equal_Small_By_Runtime_Perfect_Hash_10 4.52 ns 3.91 ns -13.4%
Schema_Frame_OMC_References 12.72 ms 10.99 ms -13.6%
JSON_Parse_1 4.29 us 3.69 us -14.0%
JSON_Array_Of_Objects_Unique 460.17 ns 394.11 ns -14.4%
Pointer_Walker_Schema_ISO_Language 1.95 ms 1.66 ms -14.5%
Regex_Caret_Group_Period_Asterisk_Group_Dollar 2.11 ns 1.80 ns -15.0%
JSON_Parse_Object_Array_Properties 4.52 us 3.81 us -15.8%
Schema_Tracker_ISO_Language_To_JSON 14.76 ms 12.26 ms -16.9%
Crypto_AES_GCM_Decrypt_128_1KB 4.63 us 3.83 us -17.2%
JSON_String_Key_Hash_100 2.63 ns 2.15 ns -18.3%
JSON_Parse_Object_Scalar_Properties 3.98 us 3.23 us -19.0%
Regex_Caret_Period_Asterisk_Dollar 2.28 ns 1.85 ns -19.1%
JSON_Parse_String_SSO_Plain 2.26 us 1.82 us -19.6%
Schema_Frame_WoT_References 2.67 ms 2.13 ms -20.1%
Pointer_Push_Back_Pointer_To_Weak_Pointer 191.21 ns 152.61 ns -20.2%
JSON_Parse_String_NonSSO_Plain 4.04 us 3.21 us -20.5%
Pointer_Tracked_Deeply_Nested 1.56 ms 1.24 ms -20.7%
Pointer_Untracked_Deeply_Nested 1.13 ms 893.89 us -21.0%
Pointer_Position_Tracker_Get_Deeply_Nested 567.77 ns 444.85 ns -21.7%
URITemplateRouterView_Match_BasePath 202.57 ns 158.69 ns -21.7%
Pointer_Object_Try_Traverse 48.28 ns 37.72 ns -21.9%
JSONL_Parse_Large_GZIP 8.58 ms 6.66 ms -22.4%
JSON_Array_Of_Integers_Unique_256 5.74 us 4.44 us -22.5%
Schema_Frame_OMC_Pointers 23.42 ms 18.14 ms -22.5%
JSONPath_Descendant_Filter_Nested 1.88 us 1.44 us -23.1%
Crypto_AES_GCM_Encrypt_256_1KB 4.83 us 3.69 us -23.5%
Regex_Group_Period_Asterisk_Group 2.31 ns 1.76 ns -23.8%
GZIP_Decompress_ISO_Language_Set_3_Locations 4.45 ms 3.36 ms -24.4%
Regex_Caret_Period_Range_Dollar 2.90 ns 2.19 ns -24.5%
Schema_Frame_ISO_Language_Root 172.00 ns 127.85 ns -25.7%
GZIP_Decompress_Default_Level_ISO_Language_Set_3_Locations 6.80 ms 5.05 ms -25.8%
GZIP_Decompress_ISO_Language_Set_3_Schema 414.65 us 306.57 us -26.1%
GZIP_Compress_ISO_Language_Set_3_Schema 2.43 ms 1.79 ms -26.4%
Schema_Frame_OMC_Locations 10.87 ms 7.94 ms -26.9%
URITemplateRouter_Match_BasePath 289.14 ns 209.96 ns -27.4%
Schema_Frame_ISO_Language_Locations_To_JSON 32.46 ms 23.46 ms -27.7%
Schema_Bundle_Meta_2020_12 693.57 us 499.02 us -28.1%
JOSE_VerifySignature_ES512 1.43 ms 1.02 ms -28.2%
JSONLD_Catalog_Annotation_List_Populate 763.94 us 542.64 us -29.0%
URITemplateRouterView_Arguments 777.39 ns 549.44 ns -29.3%
HTML_Render_Table_100000 2.47 ms 1.70 ms -30.9%
GZIP_Decompress_Stream_Default_Level_ISO_Language_Set_3_Locations 8.21 ms 5.64 ms -31.2%
Crypto_AES_GCM_Encrypt_128_1KB 5.15 us 3.51 us -31.7%
JSONL_Parse_Large 10.49 ms 7.06 ms -32.7%
Schema_Frame_Many_Resources_References 174.52 ms 117.18 ms -32.9%
JOSE_VerifySignature_RS256 33.19 us 22.17 us -33.2%
Schema_Frame_KrakenD_Reachable 296.85 ms 194.14 ms -34.6%
Crypto_CRC32_Large_JSONL 33.20 us 21.47 us -35.3%
GZIP_Compress_ISO_Language_Set_3_Locations 46.62 ms 29.90 ms -35.9%
Schema_Frame_ISO_Language_Locations 37.87 ms 24.22 ms -36.0%
OpenAPI_Format_Synthetic_3_1 65.48 ms 41.29 ms -36.9%
Schema_Frame_KrakenD_References 22.86 ms 14.39 ms -37.1%
HTML_Build_Table_100000 44.31 ms 27.40 ms -38.2%
Schema_Frame_Deeply_Nested_References 21.79 ms 13.27 ms -39.1%
Schema_Format_ISO_Language 41.56 ms 24.97 ms -39.9%
Schema_Bundle_Many_Remotes_With_Fragments 10.27 ms 6.13 ms -40.3%
Markdown_To_HTML_Short_Descriptions 569.04 ns 338.23 ns -40.6%
Markdown_To_HTML_Pathological 17.54 ms 10.21 ms -41.8%
JSONLD_Catalog_Materialize 4.31 ms 2.50 ms -42.0%
URITemplateRouterView_Match 225.84 ns 130.29 ns -42.3%
URITemplateRouter_Match 325.57 ns 182.94 ns -43.8%
URITemplateRouter_Create 35.92 us 19.14 us -46.7%
Markdown_To_HTML_Realistic_Document 6.43 ms 3.25 ms -49.4%
URITemplateRouterView_Restore 22.32 us 11.12 us -50.2%
All 110 benchmarks
Benchmark main This branch Change
Regex_Lower_S_Or_Upper_S_Asterisk 2.00 ns 2.07 ns +3.9%
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 1.94 ns 1.86 ns -4.4%
Regex_Period_Asterisk 2.09 ns 2.25 ns +7.7%
Regex_Group_Period_Asterisk_Group 2.31 ns 1.76 ns -23.8%
Regex_Period_Plus 2.29 ns 2.36 ns +3.0%
Regex_Period 2.39 ns 2.73 ns +13.8%
Regex_Caret_Period_Plus_Dollar 2.33 ns 2.20 ns -5.7%
Regex_Caret_Group_Period_Plus_Group_Dollar 2.27 ns 2.16 ns -4.9%
Regex_Caret_Period_Asterisk_Dollar 2.28 ns 1.85 ns -19.1%
Regex_Caret_Group_Period_Asterisk_Group_Dollar 2.11 ns 1.80 ns -15.0%
Regex_Caret_X_Hyphen 7.68 ns 7.27 ns -5.4%
Regex_Period_Md_Dollar 26.82 ns 25.57 ns -4.6%
Regex_Caret_Slash_Period_Asterisk 5.56 ns 5.89 ns +5.9%
Regex_Caret_Period_Range_Dollar 2.90 ns 2.19 ns -24.5%
Regex_Nested_Backtrack 36.61 ns 35.09 ns -4.2%
JSON_Array_Of_Objects_Unique 460.17 ns 394.11 ns -14.4%
JSON_Array_Of_Integers_Unique_256 5.74 us 4.44 us -22.5%
JSON_Array_Of_Strings_Unique_Colliding_256 175.42 us 171.34 us -2.3%
JSON_Parse_1 4.29 us 3.69 us -14.0%
JSON_Parse_Real 3.47 us 3.54 us +2.1%
JSON_Parse_Decimal 6.03 us 5.79 us -3.9%
JSON_Parse_Schema_ISO_Language 2.47 ms 2.45 ms -0.9%
JSON_Parse_Integer 3.01 us 2.89 us -4.2%
JSON_Parse_String_NonSSO_Plain 4.04 us 3.21 us -20.5%
JSON_Parse_String_SSO_Plain 2.26 us 1.82 us -19.6%
JSON_Parse_String_Escape_Heavy 20.41 us 18.49 us -9.4%
JSON_Parse_Object_Short_Keys 6.77 us 6.25 us -7.8%
JSON_Parse_Object_Scalar_Properties 3.98 us 3.23 us -19.0%
JSON_Parse_Object_Array_Properties 4.52 us 3.81 us -15.8%
JSON_Parse_Object_Object_Properties 4.32 us 3.78 us -12.5%
JSON_Parse_Nested_Containers 32.94 us 29.32 us -11.0%
JSON_Fast_Hash_Helm_Chart_Lock 76.04 ns 74.61 ns -1.9%
JSON_Equality_Helm_Chart_Lock 217.83 ns 256.09 ns +17.6%
JSON_String_Equal_10 9.00 ns 8.88 ns -1.3%
JSON_String_Equal_100 8.78 ns 7.83 ns -10.9%
JSON_String_Equal_Small_By_Perfect_Hash_10 0.39 ns 0.43 ns +9.9%
JSON_String_Equal_Small_By_Runtime_Perfect_Hash_10 4.52 ns 3.91 ns -13.4%
JSON_String_Fast_Hash_10 2.72 ns 2.65 ns -2.6%
JSON_String_Fast_Hash_100 2.33 ns 2.38 ns +2.5%
JSON_String_Key_Hash_10 1.87 ns 2.03 ns +8.4%
JSON_String_Key_Hash_100 2.63 ns 2.15 ns -18.3%
JSON_Object_Defines_Miss_Same_Length 2.95 ns 3.33 ns +12.9%
JSON_Object_Defines_Miss_Too_Small 5.57 ns 5.67 ns +1.8%
JSON_Object_Defines_Miss_Too_Large 2.95 ns 3.03 ns +2.6%
JSON_From_String_Copy 11.66 ns 12.57 ns +7.8%
JSON_From_String_Temporary 6.72 ns 6.63 ns -1.2%
JSON_Number_To_Double 11.53 ns 12.22 ns +6.0%
JSON_Object_At_Last_Key_8 4.40 ns 5.02 ns +14.0%
JSON_Object_At_Last_Key_32 13.29 ns 14.69 ns +10.6%
JSON_Object_At_Last_Key_128 55.87 ns 57.73 ns +3.3%
JSON_Object_At_Last_Key_512 189.42 ns 190.03 ns +0.3%
JSON_Divisible_By_Decimal 359.91 ns 367.98 ns +2.2%
JSON_PropertySet_Contains 46.46 ns 49.45 ns +6.4%
JSON_PropertySet_Filter_Object_Properties 38.95 ns 38.89 ns -0.2%
JSON_PropertySet_Insert 329.72 ns 321.44 ns -2.5%
JSON_Stringify_Schema_Web_Of_Things 68.49 us 66.22 us -3.3%
JSON_Prettify_Schema_Web_Of_Things 170.17 us 157.80 us -7.3%
Pointer_Object_Traverse 21.59 ns 21.30 ns -1.3%
Pointer_Object_Try_Traverse 48.28 ns 37.72 ns -21.9%
Pointer_Push_Back_Pointer_To_Weak_Pointer 191.21 ns 152.61 ns -20.2%
Pointer_Walker_Schema_ISO_Language 1.95 ms 1.66 ms -14.5%
Pointer_Untracked_Deeply_Nested 1.13 ms 893.89 us -21.0%
Pointer_Tracked_Deeply_Nested 1.56 ms 1.24 ms -20.7%
Pointer_Position_Tracker_Get_Deeply_Nested 567.77 ns 444.85 ns -21.7%
Schema_Tracker_ISO_Language 3.75 ms 3.50 ms -6.6%
Schema_Tracker_ISO_Language_To_JSON 14.76 ms 12.26 ms -16.9%
Schema_Frame_WoT_References 2.67 ms 2.13 ms -20.1%
Schema_Frame_OMC_References 12.72 ms 10.99 ms -13.6%
Schema_Frame_OMC_Pointers 23.42 ms 18.14 ms -22.5%
Schema_Frame_OMC_Locations 10.87 ms 7.94 ms -26.9%
Schema_Frame_ISO_Language_Locations 37.87 ms 24.22 ms -36.0%
Schema_Frame_ISO_Language_Root 172.00 ns 127.85 ns -25.7%
Schema_Frame_KrakenD_References 22.86 ms 14.39 ms -37.1%
Schema_Frame_KrakenD_Reachable 296.85 ms 194.14 ms -34.6%
Schema_Frame_ISO_Language_Locations_To_JSON 32.46 ms 23.46 ms -27.7%
Schema_Frame_Many_Resources_References 174.52 ms 117.18 ms -32.9%
Schema_Frame_Deeply_Nested_References 21.79 ms 13.27 ms -39.1%
Schema_Format_ISO_Language 41.56 ms 24.97 ms -39.9%
Schema_Bundle_Meta_2020_12 693.57 us 499.02 us -28.1%
Schema_Bundle_Many_Remotes_With_Fragments 10.27 ms 6.13 ms -40.3%
OpenAPI_Format_Synthetic_3_1 65.48 ms 41.29 ms -36.9%
JSONPath_Descendant_Filter_Nested 1.88 us 1.44 us -23.1%
URITemplateRouter_Create 35.92 us 19.14 us -46.7%
URITemplateRouter_Match 325.57 ns 182.94 ns -43.8%
URITemplateRouterView_Restore 22.32 us 11.12 us -50.2%
URITemplateRouterView_Match 225.84 ns 130.29 ns -42.3%
URITemplateRouterView_Arguments 777.39 ns 549.44 ns -29.3%
URITemplateRouter_Match_BasePath 289.14 ns 209.96 ns -27.4%
URITemplateRouterView_Match_BasePath 202.57 ns 158.69 ns -21.7%
JSONL_Parse_Large 10.49 ms 7.06 ms -32.7%
JSONL_Parse_Large_GZIP 8.58 ms 6.66 ms -22.4%
JSONLD_Catalog_Annotation_List_Populate 763.94 us 542.64 us -29.0%
JSONLD_Catalog_Materialize 4.31 ms 2.50 ms -42.0%
HTML_Build_Table_100000 44.31 ms 27.40 ms -38.2%
HTML_Render_Table_100000 2.47 ms 1.70 ms -30.9%
Markdown_To_HTML_Realistic_Document 6.43 ms 3.25 ms -49.4%
Markdown_To_HTML_Pathological 17.54 ms 10.21 ms -41.8%
Markdown_To_HTML_Short_Descriptions 569.04 ns 338.23 ns -40.6%
GZIP_Compress_ISO_Language_Set_3_Locations 46.62 ms 29.90 ms -35.9%
GZIP_Decompress_ISO_Language_Set_3_Locations 4.45 ms 3.36 ms -24.4%
GZIP_Decompress_Default_Level_ISO_Language_Set_3_Locations 6.80 ms 5.05 ms -25.8%
GZIP_Decompress_Stream_Default_Level_ISO_Language_Set_3_Locations 8.21 ms 5.64 ms -31.2%
GZIP_Compress_ISO_Language_Set_3_Schema 2.43 ms 1.79 ms -26.4%
GZIP_Decompress_ISO_Language_Set_3_Schema 414.65 us 306.57 us -26.1%
JOSE_VerifySignature_RS256 33.19 us 22.17 us -33.2%
JOSE_VerifySignature_ES512 1.43 ms 1.02 ms -28.2%
Crypto_CRC32_Large_JSONL 33.20 us 21.47 us -35.3%
Crypto_AES_GCM_Encrypt_128_1KB 5.15 us 3.51 us -31.7%
Crypto_AES_GCM_Decrypt_128_1KB 4.63 us 3.83 us -17.2%
Crypto_AES_GCM_Encrypt_256_1KB 4.83 us 3.69 us -23.5%

@augmentcode

augmentcode Bot commented Oct 3, 2026

Copy link
Copy Markdown
🤖 Augment PR Summary

Summary: Adds built-in support for published dated OpenAPI 3.1 Schema Object dialects.
Changes:

  • Recognizes the 2024-11-10 and 2024-10-25 dialect and vocabulary meta-schema URIs.
  • Embeds their vendored JSON documents in the known schema resolver.
  • Classifies these resources as known, non-official JSON Schema meta-schemas.
  • Adds canonicalized additional document bases to SchemaFrame.
  • Centralizes base validation, including rejection of non-empty fragments.
  • Adds OpenAPIFrame::default_id for an extra document name alongside its established base.
  • Propagates aliases to schema framing and updates callers while retaining location budgets.
Tests: Covers dated dialect resolution and bundling, document aliases, relative identifiers, and location limits.

🤖 Was this summary useful? React with 👍 or 👎

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review completed. 5 suggestions posted.

Fix All in Augment

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

// A base that is already in force addresses every place of the
// document once, so stating it again would address each of them twice
if (!std::ranges::contains(root_bases, additional_base)) {
root_bases.push_back(additional_base);

@augmentcode augmentcode Bot Oct 3, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Could we check distinct bases that resolve a relative $id to the same URI at src/core/jsonschema/frame.cc:1057, e.g. default_base=https://example.com/a and additional_bases={https://example.com/b} with $id: "pet"? Both resolve to https://example.com/pet, but the resource loop at lines 1266–1276 attempts to store it twice and throws SchemaFrameError for a valid schema.

Severity: medium

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

// it, so the base a Schema Object position carries is that name rather
// than the one the description settled on. Both are in force within the
// schemas, the frame of those being given every name as well
walk.locations.insert_or_assign(

@augmentcode augmentcode Bot Oct 3, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Could we check alias-based Path Item references at src/core/openapi/helpers.h:582: with default_id=https://example.com/held, a path referencing https://example.com/held#/components/pathItems/Pets loses the target's operations even when that component contains get? Only walk.locations gains the alias, while openapi_project looks it up in walk.path_items/walk.references, which remain keyed by walk.base, so operations() can be empty despite standalone() being true.

Severity: medium

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

const OpenAPIWalk *entry = nullptr) -> OpenAPIWalk {
OpenAPIWalk walk{.base = base,
.retrieval = std::move(base),
.default_id = std::move(default_id),

@augmentcode augmentcode Bot Oct 3, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Could we check local-reference validation after setting default_id at src/core/openapi/document.h:646? openapi_follow_target at line 256 still treats the alias URI as external, so with default_id=https://example.com/held, a response $ref to https://example.com/held#/components/schemas/Pet bypasses the expected-kind check yet makes standalone() true once the schema alias is registered.

Severity: medium

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

Comment thread src/core/openapi/frame.cc
root->second.default_dialect, "",
SchemaFrame::IdentifierMode::Additional, this->internal_->schema_paths,
this->internal_->base, max_locations - walk_locations);
this->internal_->base, schema_bases, max_locations - walk_locations);

@augmentcode augmentcode Bot Oct 3, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Could we check default_id with neither default_base nor $self at src/core/openapi/frame.cc:841? Passing non-empty schema_bases drops the anonymous schema keys such as #/components/schemas/Cat, while discriminator component names still resolve against the empty document base, so a local mapping "cat": "Cat" becomes dangling and standalone() changes to false solely because an alias was supplied.

Severity: medium

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

Comment thread src/core/openapi/frame.cc
// the first of them
SchemaFrame::Bases schema_bases;
if (!additional_name.empty()) {
schema_bases.push_back(additional_name);

@augmentcode augmentcode Bot Oct 3, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Could we check that the additional base at src/core/openapi/frame.cc:827 leaves discriminator resolution unchanged? With primary base https://z.example/api/openapi, alias https://a.example/z, and $id: "pet", openapi_discriminators (src/core/openapi/discriminator.h:107–138) visits the alias resource first and resolves ./cat to https://a.example/cat instead of https://z.example/api/cat, making a previously local mapping dangling when Cat has the latter absolute $id.

Severity: medium

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

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