Skip to content

Conversation

@jviotti
Copy link
Member

@jviotti jviotti commented Jan 28, 2026

See: sourcemeta/jsonschema#629
Signed-off-by: Juan Cruz Viotti jv@jviotti.com

See: sourcemeta/jsonschema#629
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
@augmentcode
Copy link

augmentcode bot commented Jan 28, 2026

🤖 Augment PR Summary

Summary: Stops the empty_object_as_true transform from reframing after it rewrites an empty schema {} into boolean true.
Why: Prevents reframing-related behavior/regressions when normalizing empty-object schemas (see linked issue).

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@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. No suggestions at this time.

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

Copy link

@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: f0f93db Previous: 6db6600 Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 3.1334547564801416 ns/iter 3.1075224148178306 ns/iter 1.01
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 3.1075362393483683 ns/iter 3.1082685707637885 ns/iter 1.00
Regex_Period_Asterisk 3.1070293663550252 ns/iter 3.107441724895895 ns/iter 1.00
Regex_Group_Period_Asterisk_Group 3.1063362541485393 ns/iter 3.1066548795626683 ns/iter 1.00
Regex_Period_Plus 3.1073182787424343 ns/iter 3.108063760131278 ns/iter 1.00
Regex_Period 2.872487560620347 ns/iter 3.112318041386355 ns/iter 0.92
Regex_Caret_Period_Plus_Dollar 2.8095774729456195 ns/iter 3.1175095606129752 ns/iter 0.90
Regex_Caret_Group_Period_Plus_Group_Dollar 3.109002636990318 ns/iter 3.1073652342215 ns/iter 1.00
Regex_Caret_Period_Asterisk_Dollar 3.4179961021605565 ns/iter 3.1071862839349906 ns/iter 1.10
Regex_Caret_Group_Period_Asterisk_Group_Dollar 3.199098408798634 ns/iter 3.1061651167501565 ns/iter 1.03
Regex_Caret_X_Hyphen 10.618495029876973 ns/iter 12.433776275314546 ns/iter 0.85
Regex_Period_Md_Dollar 28.67679055794969 ns/iter 28.714947918035143 ns/iter 1.00
Regex_Caret_Slash_Period_Asterisk 6.216772435183869 ns/iter 6.217250295762543 ns/iter 1.00
Regex_Caret_Period_Range_Dollar 4.038666879043575 ns/iter 4.0408436557378655 ns/iter 1.00
Regex_Nested_Backtrack 49.890558404986045 ns/iter 50.063328596579325 ns/iter 1.00
JSON_Array_Of_Objects_Unique 438.695237094181 ns/iter 439.81418249757706 ns/iter 1.00
JSON_Parse_1 29300.657132087676 ns/iter 29832.949334480283 ns/iter 0.98
JSON_Parse_Real 37774.92882561951 ns/iter 37978.1640277607 ns/iter 0.99
JSON_Parse_Decimal 130919.33815081046 ns/iter 131843.83057228327 ns/iter 0.99
JSON_Parse_Schema_ISO_Language 22010206.903224394 ns/iter 22214985.161290023 ns/iter 0.99
JSON_Fast_Hash_Helm_Chart_Lock 62.48453465373341 ns/iter 62.444761463336455 ns/iter 1.00
JSON_Equality_Helm_Chart_Lock 160.84932524291415 ns/iter 166.6520037554533 ns/iter 0.97
JSON_String_Equal/10 6.541396776438267 ns/iter 6.536755085098246 ns/iter 1.00
JSON_String_Equal/100 7.155089817740324 ns/iter 7.162771608275207 ns/iter 1.00
JSON_String_Equal_Small_By_Perfect_Hash/10 0.9341023140585168 ns/iter 0.9347105326587264 ns/iter 1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 10.266792668138677 ns/iter 14.783906750417065 ns/iter 0.69
JSON_String_Fast_Hash/10 2.4857887196074633 ns/iter 2.4854650985222633 ns/iter 1.00
JSON_String_Fast_Hash/100 2.4859439967472436 ns/iter 2.494080531172734 ns/iter 1.00
JSON_String_Key_Hash/10 1.8669466249147724 ns/iter 2.7118703545137053 ns/iter 0.69
JSON_String_Key_Hash/100 6.5288834310224795 ns/iter 9.011738609973978 ns/iter 0.72
JSON_Object_Defines_Miss_Same_Length 3.742382205543046 ns/iter 3.733141607460632 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Small 3.745578495925236 ns/iter 3.7339791156894373 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Large 3.7320363426754595 ns/iter 3.7314640789755034 ns/iter 1.00
Pointer_Object_Traverse 44.50217358126281 ns/iter 44.36800102230992 ns/iter 1.00
Pointer_Object_Try_Traverse 53.23745895076825 ns/iter 53.227797753590494 ns/iter 1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer 319.4563513313461 ns/iter 319.9797437845392 ns/iter 1.00
Pointer_Walker_Schema_ISO_Language 3149699.626126098 ns/iter 3131303.986547189 ns/iter 1.01
Schema_Frame_WoT_References 5998137.517240883 ns/iter 5941715.342104496 ns/iter 1.01
Schema_Frame_OMC_References 28452545.519999146 ns/iter 28741769.54166785 ns/iter 0.99
Schema_Frame_OMC_Locations 26993476.653847035 ns/iter 27050868.76923045 ns/iter 1.00
Schema_Frame_ISO_Language_Locations 131768231.20002155 ns/iter 128515554.79999205 ns/iter 1.03
Schema_Iterator_ISO_Language 2394610.0881357007 ns/iter 2383939.4377103844 ns/iter 1.00
Schema_Frame_ISO_Language_Locations_To_JSON 133068412.24999744 ns/iter 136716458.99998453 ns/iter 0.97
Schema_Tracker_ISO_Language 48344950.92857034 ns/iter 47075984.66666241 ns/iter 1.03
Schema_Tracker_ISO_Language_To_JSON 23804589.10000319 ns/iter 24101755.55172404 ns/iter 0.99
Schema_Format_ISO_Language_To_JSON 139677136.7999463 ns/iter 136075570.00002545 ns/iter 1.03
Schema_Bundle_Meta_2020_12 2195503.532918201 ns/iter 2193392.3228833685 ns/iter 1.00
Schema_Frame_Many_Resources_References 272008030.66667354 ns/iter 267843268.6666762 ns/iter 1.02
Alterschema_Check_Readibility_ISO_Language_Set_3 244565005.3333566 ns/iter 239022537.33331236 ns/iter 1.02
Alterschema_Check_Readibility_OMC 34396701.55000272 ns/iter 33134268.42857141 ns/iter 1.04
Alterschema_Apply_Readibility_KrakenD 495335355.5000604 ns/iter 10905372575.99999 ns/iter 0.045421222617388624
EditorSchema_ForEditor_EmbeddedResources 14608516.166679427 ns/iter 14618432.250003366 ns/iter 1.00
URITemplateRouter_Create 16533.85805534286 ns/iter 16442.16896438994 ns/iter 1.01
URITemplateRouter_Match 167.63917414653557 ns/iter 169.4958939857486 ns/iter 0.99
URITemplateRouterView_Restore 8255.395063034504 ns/iter 8289.787566600231 ns/iter 1.00
URITemplateRouterView_Match 119.83033165949766 ns/iter 119.4193085426879 ns/iter 1.00

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

Copy link

@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: f0f93db Previous: 6db6600 Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 4.118296123423939 ns/iter 4.197166270446894 ns/iter 0.98
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 4.093104560879943 ns/iter 4.364258301622701 ns/iter 0.94
Regex_Period_Asterisk 4.717622890204327 ns/iter 4.867699576981943 ns/iter 0.97
Regex_Group_Period_Asterisk_Group 4.408123627569719 ns/iter 4.451472499999909 ns/iter 0.99
Regex_Period_Plus 5.0404732142875925 ns/iter 5.159045535711877 ns/iter 0.98
Regex_Period 5.03335600000355 ns/iter 5.03740199999811 ns/iter 1.00
Regex_Caret_Period_Plus_Dollar 4.735259608786125 ns/iter 4.884967644833293 ns/iter 0.97
Regex_Caret_Group_Period_Plus_Group_Dollar 4.408582499999625 ns/iter 4.4053031250001595 ns/iter 1.00
Regex_Caret_Period_Asterisk_Dollar 4.420583270398369 ns/iter 4.459724375001883 ns/iter 0.99
Regex_Caret_Group_Period_Asterisk_Group_Dollar 4.175982721349044 ns/iter 4.108028580597788 ns/iter 1.02
Regex_Caret_X_Hyphen 7.565539062497351 ns/iter 7.547370535715255 ns/iter 1.00
Regex_Period_Md_Dollar 34.759701067135985 ns/iter 34.72338213354466 ns/iter 1.00
Regex_Caret_Slash_Period_Asterisk 7.221657366075972 ns/iter 7.223541294644673 ns/iter 1.00
Regex_Caret_Period_Range_Dollar 4.111134507094306 ns/iter 4.102510176740177 ns/iter 1.00
Regex_Nested_Backtrack 99.38462499995637 ns/iter 98.6981093749506 ns/iter 1.01
JSON_Array_Of_Objects_Unique 498.3148000001165 ns/iter 523.8319000000047 ns/iter 0.95
JSON_Parse_1 75668.4486606929 ns/iter 77860.30133927519 ns/iter 0.97
JSON_Parse_Real 93998.66077407975 ns/iter 99091.05357142574 ns/iter 0.95
JSON_Parse_Decimal 328973.7229862918 ns/iter 347553.3880902574 ns/iter 0.95
JSON_Parse_Schema_ISO_Language 59716109.09091396 ns/iter 58889727.27271638 ns/iter 1.01
JSON_Fast_Hash_Helm_Chart_Lock 68.90425892854475 ns/iter 74.02843865942222 ns/iter 0.93
JSON_Equality_Helm_Chart_Lock 286.1166421745181 ns/iter 312.6808482142402 ns/iter 0.92
JSON_String_Equal/10 12.908237500003647 ns/iter 13.893074937973903 ns/iter 0.93
JSON_String_Equal/100 14.127052838714263 ns/iter 14.380584821428297 ns/iter 0.98
JSON_String_Equal_Small_By_Perfect_Hash/10 2.214964374999795 ns/iter 2.2416381671402243 ns/iter 0.99
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 12.582469642852953 ns/iter 12.668339285718437 ns/iter 0.99
JSON_String_Fast_Hash/10 3.7569573147212165 ns/iter 4.027360980342767 ns/iter 0.93
JSON_String_Fast_Hash/100 3.7644653504204966 ns/iter 3.9940468821317934 ns/iter 0.94
JSON_String_Key_Hash/10 3.771657850407886 ns/iter 3.9815267857130316 ns/iter 0.95
JSON_String_Key_Hash/100 16.345823104830632 ns/iter 16.710723548814997 ns/iter 0.98
JSON_Object_Defines_Miss_Same_Length 4.722073001613325 ns/iter 5.30543200000011 ns/iter 0.89
JSON_Object_Defines_Miss_Too_Small 3.7696676503595015 ns/iter 4.023932953614286 ns/iter 0.94
JSON_Object_Defines_Miss_Too_Large 4.7270265285730915 ns/iter 4.867934844836971 ns/iter 0.97
Pointer_Object_Traverse 52.038390000006984 ns/iter 52.792035714292396 ns/iter 0.99
Pointer_Object_Try_Traverse 75.64612723212707 ns/iter 77.30455357141912 ns/iter 0.98
Pointer_Push_Back_Pointer_To_Weak_Pointer 176.72048006441779 ns/iter 171.137422174412 ns/iter 1.03
Pointer_Walker_Schema_ISO_Language 9880082.812500745 ns/iter 13097157.142859876 ns/iter 0.75
Schema_Frame_WoT_References 11532062.500002382 ns/iter 12736614.285716185 ns/iter 0.91
Schema_Frame_OMC_References 60844718.181794055 ns/iter 62025599.99999059 ns/iter 0.98
Schema_Frame_OMC_Locations 56172389.99998335 ns/iter 56578700.000004165 ns/iter 0.99
Schema_Frame_ISO_Language_Locations 254950833.3333203 ns/iter 268759299.9999045 ns/iter 0.95
Schema_Iterator_ISO_Language 4270366.867470888 ns/iter 4589074.675325943 ns/iter 0.93
Schema_Frame_ISO_Language_Locations_To_JSON 259844533.33330747 ns/iter 263626033.33336663 ns/iter 0.99
Schema_Tracker_ISO_Language 100326071.4285586 ns/iter 103600099.9999942 ns/iter 0.97
Schema_Tracker_ISO_Language_To_JSON 55520599.999999836 ns/iter 62910820.00002462 ns/iter 0.88
Schema_Format_ISO_Language_To_JSON 253635766.66677547 ns/iter 279134533.3333387 ns/iter 0.91
Schema_Bundle_Meta_2020_12 4145448.795180166 ns/iter 4305384.337349864 ns/iter 0.96
Schema_Frame_Many_Resources_References 543719599.9998039 ns/iter 556253199.9999009 ns/iter 0.98
Alterschema_Check_Readibility_ISO_Language_Set_3 385578300.0001338 ns/iter 411315150.000064 ns/iter 0.94
Alterschema_Check_Readibility_OMC 66868111.11108504 ns/iter 71730644.4444148 ns/iter 0.93
Alterschema_Apply_Readibility_KrakenD 960759300.0000634 ns/iter 24187593199.99981 ns/iter 0.03972116167391433
EditorSchema_ForEditor_EmbeddedResources 26868103.12501109 ns/iter 28832030.76923844 ns/iter 0.93
URITemplateRouter_Create 22498.027923786227 ns/iter 22515.299999994906 ns/iter 1.00
URITemplateRouter_Match 211.59178125003564 ns/iter 212.57979184910664 ns/iter 1.00
URITemplateRouterView_Restore 33632.05657039892 ns/iter 33701.326583240385 ns/iter 1.00
URITemplateRouterView_Match 142.6980070223701 ns/iter 148.84633264073298 ns/iter 0.96

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

@jviotti jviotti merged commit 1d2fe34 into main Jan 28, 2026
13 checks passed
@jviotti jviotti deleted the empty-object-as-true-reframe branch January 28, 2026 18:40
Copy link

@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: f0f93db Previous: 6db6600 Ratio
URITemplateRouter_Create 15046.882881145293 ns/iter 14707.15286919019 ns/iter 1.02
URITemplateRouter_Match 158.71320730680992 ns/iter 153.45734029421988 ns/iter 1.03
URITemplateRouterView_Restore 8184.497156165087 ns/iter 8164.57563993037 ns/iter 1.00
URITemplateRouterView_Match 113.95332095765897 ns/iter 113.66300028776722 ns/iter 1.00
EditorSchema_ForEditor_EmbeddedResources 15561925.533327466 ns/iter 15592350.599990824 ns/iter 1.00
Alterschema_Check_Readibility_ISO_Language_Set_3 237620028.33329156 ns/iter 232786463.66664663 ns/iter 1.02
Alterschema_Check_Readibility_OMC 35579972.95000632 ns/iter 35117527.14999829 ns/iter 1.01
Alterschema_Apply_Readibility_KrakenD 529298965.99994206 ns/iter 10985319811.999943 ns/iter 0.04818239023153028
Schema_Frame_WoT_References 6479401.157407581 ns/iter 6491422.401869581 ns/iter 1.00
Schema_Frame_OMC_References 29938119.391297966 ns/iter 29787256.000001132 ns/iter 1.01
Schema_Frame_OMC_Locations 28497839.080000628 ns/iter 28211299.87999484 ns/iter 1.01
Schema_Frame_ISO_Language_Locations 134474670.20000657 ns/iter 127993938.83331807 ns/iter 1.05
Schema_Iterator_ISO_Language 2688975.830769253 ns/iter 2653899.482758224 ns/iter 1.01
Schema_Frame_ISO_Language_Locations_To_JSON 290639523.9999711 ns/iter 292459439.6667241 ns/iter 0.99
Schema_Tracker_ISO_Language 48007984.199997135 ns/iter 46499610.800007455 ns/iter 1.03
Schema_Tracker_ISO_Language_To_JSON 34111935.33333105 ns/iter 30934570.478265136 ns/iter 1.10
Schema_Format_ISO_Language_To_JSON 138316458.4000042 ns/iter 133042282.79994278 ns/iter 1.04
Schema_Bundle_Meta_2020_12 2435682.0798645783 ns/iter 2408619.1065313006 ns/iter 1.01
Schema_Frame_Many_Resources_References 282675399.9999028 ns/iter 274471573.000028 ns/iter 1.03
Pointer_Object_Traverse 48.9853216875004 ns/iter 48.957897289063226 ns/iter 1.00
Pointer_Object_Try_Traverse 25.28647568902093 ns/iter 25.24884598433682 ns/iter 1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer 172.47469069642062 ns/iter 167.02768748896838 ns/iter 1.03
Pointer_Walker_Schema_ISO_Language 3571146.4422101974 ns/iter 3429314.741463425 ns/iter 1.04
JSON_Array_Of_Objects_Unique 417.47681667821627 ns/iter 433.3328080490224 ns/iter 0.96
JSON_Parse_1 32911.84129225858 ns/iter 33250.95333746357 ns/iter 0.99
JSON_Parse_Real 43313.5568210079 ns/iter 43583.68485981234 ns/iter 0.99
JSON_Parse_Decimal 154991.75116328357 ns/iter 155660.8545535826 ns/iter 1.00
JSON_Parse_Schema_ISO_Language 22535220.32257875 ns/iter 22567494.548389554 ns/iter 1.00
JSON_Fast_Hash_Helm_Chart_Lock 56.82609122644932 ns/iter 69.08778901769561 ns/iter 0.82
JSON_Equality_Helm_Chart_Lock 165.0576136856075 ns/iter 167.86452227235762 ns/iter 0.98
JSON_String_Equal/10 6.630808422831357 ns/iter 6.8874939720673565 ns/iter 0.96
JSON_String_Equal/100 7.201714979513127 ns/iter 7.515016455719427 ns/iter 0.96
JSON_String_Equal_Small_By_Perfect_Hash/10 0.9346399982405582 ns/iter 0.9334182328620492 ns/iter 1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 14.915421161605362 ns/iter 15.109762862953001 ns/iter 0.99
JSON_String_Fast_Hash/10 1.9425838879409956 ns/iter 1.9437594100748241 ns/iter 1.00
JSON_String_Fast_Hash/100 1.94247614302409 ns/iter 1.9440549929018307 ns/iter 1.00
JSON_String_Key_Hash/10 1.2454450209234136 ns/iter 1.2494985146409139 ns/iter 1.00
JSON_String_Key_Hash/100 12.42985490667017 ns/iter 12.425107301932487 ns/iter 1.00
JSON_Object_Defines_Miss_Same_Length 2.797913011417453 ns/iter 2.7989056317889096 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Small 2.799676405930524 ns/iter 2.806003225178046 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Large 2.7993844188308117 ns/iter 2.7982167915899585 ns/iter 1.00
Regex_Lower_S_Or_Upper_S_Asterisk 3.11272021049635 ns/iter 3.110628345380766 ns/iter 1.00
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 3.1129297209155475 ns/iter 3.119012935189537 ns/iter 1.00
Regex_Period_Asterisk 3.112578870209257 ns/iter 3.1091029233859326 ns/iter 1.00
Regex_Group_Period_Asterisk_Group 3.111946774309855 ns/iter 3.1117154896993218 ns/iter 1.00
Regex_Period_Plus 2.7987050711352657 ns/iter 2.7980032181121217 ns/iter 1.00
Regex_Period 2.7992151835246455 ns/iter 2.8474172373289113 ns/iter 0.98
Regex_Caret_Period_Plus_Dollar 2.799034650547137 ns/iter 2.797040484458302 ns/iter 1.00
Regex_Caret_Group_Period_Plus_Group_Dollar 2.8013392486812707 ns/iter 2.798688457054511 ns/iter 1.00
Regex_Caret_Period_Asterisk_Dollar 4.0383261471391 ns/iter 3.109061609897863 ns/iter 1.30
Regex_Caret_Group_Period_Asterisk_Group_Dollar 4.0396319794286715 ns/iter 3.1085595297105235 ns/iter 1.30
Regex_Caret_X_Hyphen 13.072870567979246 ns/iter 13.67794205856124 ns/iter 0.96
Regex_Period_Md_Dollar 37.49045459113001 ns/iter 48.540795218800895 ns/iter 0.77
Regex_Caret_Slash_Period_Asterisk 8.39117456660696 ns/iter 8.39222726978885 ns/iter 1.00
Regex_Caret_Period_Range_Dollar 4.040711673380884 ns/iter 4.045167966525501 ns/iter 1.00
Regex_Nested_Backtrack 64.5057948801878 ns/iter 62.957294249152994 ns/iter 1.02

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

Copy link

@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: f0f93db Previous: 6db6600 Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 2.4245893555240223 ns/iter 2.2341602084841945 ns/iter 1.09
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 2.3596663280965617 ns/iter 1.972709488927327 ns/iter 1.20
Regex_Period_Asterisk 2.4902021551038223 ns/iter 2.4200002582486024 ns/iter 1.03
Regex_Group_Period_Asterisk_Group 2.3506202563142757 ns/iter 2.727312533021872 ns/iter 0.86
Regex_Period_Plus 3.0061004308948185 ns/iter 2.7885741492929377 ns/iter 1.08
Regex_Period 2.76329443988199 ns/iter 2.668899657803774 ns/iter 1.04
Regex_Caret_Period_Plus_Dollar 2.803914482173475 ns/iter 2.8080191777102916 ns/iter 1.00
Regex_Caret_Group_Period_Plus_Group_Dollar 2.6797959058924823 ns/iter 2.648709267116381 ns/iter 1.01
Regex_Caret_Period_Asterisk_Dollar 2.2267347573651537 ns/iter 2.3365963444872286 ns/iter 0.95
Regex_Caret_Group_Period_Asterisk_Group_Dollar 2.2815407732166557 ns/iter 2.2401161603137596 ns/iter 1.02
Regex_Caret_X_Hyphen 9.264881460500753 ns/iter 8.393546131872908 ns/iter 1.10
Regex_Period_Md_Dollar 30.176322888231237 ns/iter 27.50420295012774 ns/iter 1.10
Regex_Caret_Slash_Period_Asterisk 7.638309743271123 ns/iter 6.776302738803366 ns/iter 1.13
Regex_Caret_Period_Range_Dollar 2.937572949949853 ns/iter 2.3482463819964607 ns/iter 1.25
Regex_Nested_Backtrack 44.81949158422895 ns/iter 31.436876549300568 ns/iter 1.43
JSON_Array_Of_Objects_Unique 525.0110829999812 ns/iter 425.2456423914565 ns/iter 1.23
JSON_Parse_1 31869.020135953786 ns/iter 24241.95541967625 ns/iter 1.31
JSON_Parse_Real 38619.3533336698 ns/iter 26563.218120175672 ns/iter 1.45
JSON_Parse_Decimal 382822.7027026908 ns/iter 276330.0119760472 ns/iter 1.39
JSON_Parse_Schema_ISO_Language 21118110.655171722 ns/iter 18957888.525000043 ns/iter 1.11
JSON_Fast_Hash_Helm_Chart_Lock 80.18304173362424 ns/iter 66.48658042547571 ns/iter 1.21
JSON_Equality_Helm_Chart_Lock 180.79287910666352 ns/iter 191.09658641337074 ns/iter 0.95
JSON_String_Equal/10 9.162423856859657 ns/iter 9.883102663979745 ns/iter 0.93
JSON_String_Equal/100 9.597222481299177 ns/iter 10.203403761130586 ns/iter 0.94
JSON_String_Equal_Small_By_Perfect_Hash/10 0.4071741867182784 ns/iter 0.4403831594455364 ns/iter 0.92
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 4.311320508490727 ns/iter 4.578718815109914 ns/iter 0.94
JSON_String_Fast_Hash/10 2.926696887335165 ns/iter 3.037570831263561 ns/iter 0.96
JSON_String_Fast_Hash/100 2.5655745172965374 ns/iter 2.6953277587125704 ns/iter 0.95
JSON_String_Key_Hash/10 1.8589682630835862 ns/iter 1.959151084289111 ns/iter 0.95
JSON_String_Key_Hash/100 2.9368879150571896 ns/iter 3.0406530679032127 ns/iter 0.97
JSON_Object_Defines_Miss_Same_Length 3.73902597794565 ns/iter 3.962989396659095 ns/iter 0.94
JSON_Object_Defines_Miss_Too_Small 3.539399064087974 ns/iter 3.6560747267067986 ns/iter 0.97
JSON_Object_Defines_Miss_Too_Large 3.8072973045050893 ns/iter 3.962523483250848 ns/iter 0.96
Pointer_Object_Traverse 19.554936350304725 ns/iter 23.719276307248162 ns/iter 0.82
Pointer_Object_Try_Traverse 30.649888816588195 ns/iter 34.231657545857246 ns/iter 0.90
Pointer_Push_Back_Pointer_To_Weak_Pointer 259.0506689769563 ns/iter 238.78400469649537 ns/iter 1.08
Pointer_Walker_Schema_ISO_Language 6299571.428571453 ns/iter 6662880.70526542 ns/iter 0.95
Schema_Frame_WoT_References 7985759.259258323 ns/iter 8207081.4137923345 ns/iter 0.97
Schema_Frame_OMC_References 44633919.11764681 ns/iter 51973935.846158035 ns/iter 0.86
Schema_Frame_OMC_Locations 40078098.00000092 ns/iter 51491512.76922427 ns/iter 0.78
Schema_Frame_ISO_Language_Locations 131840718.74999858 ns/iter 159958000.00001737 ns/iter 0.82
Schema_Iterator_ISO_Language 2853283.3679653313 ns/iter 3479313.175116009 ns/iter 0.82
Schema_Frame_ISO_Language_Locations_To_JSON 132302531.2499908 ns/iter 167898801.99996787 ns/iter 0.79
Schema_Tracker_ISO_Language 55529837.50000067 ns/iter 69917439.0769293 ns/iter 0.79
Schema_Tracker_ISO_Language_To_JSON 19047404.270272512 ns/iter 23618711.13333412 ns/iter 0.81
Schema_Format_ISO_Language_To_JSON 164953133.60003364 ns/iter 170248374.99997148 ns/iter 0.97
Schema_Bundle_Meta_2020_12 2801238.7181187505 ns/iter 2724864.4204576067 ns/iter 1.03
Schema_Frame_Many_Resources_References 359683854.5000196 ns/iter 367267145.99990374 ns/iter 0.98
Alterschema_Check_Readibility_ISO_Language_Set_3 272742319.6666526 ns/iter 291071958.3333806 ns/iter 0.94
Alterschema_Check_Readibility_OMC 47929166.64285128 ns/iter 58602920.45454943 ns/iter 0.82
Alterschema_Apply_Readibility_KrakenD 649042708.0000246 ns/iter 15681026499.000154 ns/iter 0.04139032020903788
EditorSchema_ForEditor_EmbeddedResources 16831461.812493842 ns/iter 18734374.071414094 ns/iter 0.90
URITemplateRouter_Create 23287.708214257145 ns/iter 21786.722167746302 ns/iter 1.07
URITemplateRouter_Match 222.01406003623265 ns/iter 221.6376988320077 ns/iter 1.00
URITemplateRouterView_Restore 14145.92498653417 ns/iter 13445.081444256346 ns/iter 1.05
URITemplateRouterView_Match 150.11455440487106 ns/iter 138.16920530692286 ns/iter 1.09

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

Copy link

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

Details
Benchmark suite Current: f0f93db Previous: 421f999 Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 2.7223570643745223 ns/iter 2.538362235765262 ns/iter 1.07
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 2.6063094063741636 ns/iter 2.3946393064418747 ns/iter 1.09
Regex_Period_Asterisk 2.996902714472738 ns/iter 2.6373503701602763 ns/iter 1.14
Regex_Group_Period_Asterisk_Group 2.599212392021086 ns/iter 2.2355415855381873 ns/iter 1.16
Regex_Period_Plus 2.830971049801602 ns/iter 2.638563477600102 ns/iter 1.07
Regex_Period 2.8289431739910302 ns/iter 2.334657118975744 ns/iter 1.21
Regex_Caret_Period_Plus_Dollar 3.0197906335483857 ns/iter 2.340092872355974 ns/iter 1.29
Regex_Caret_Group_Period_Plus_Group_Dollar 2.8591602208867335 ns/iter 2.3260780120922133 ns/iter 1.23
Regex_Caret_Period_Asterisk_Dollar 2.587651622623943 ns/iter 2.2488886886498167 ns/iter 1.15
Regex_Caret_Group_Period_Asterisk_Group_Dollar 2.629806094571297 ns/iter 2.34145592817321 ns/iter 1.12
Regex_Caret_X_Hyphen 7.840944770021211 ns/iter 6.954024997335592 ns/iter 1.13
Regex_Period_Md_Dollar 26.449990983950297 ns/iter 23.261094848264516 ns/iter 1.14
Regex_Caret_Slash_Period_Asterisk 6.440565690756277 ns/iter 5.127719672787364 ns/iter 1.26
Regex_Caret_Period_Range_Dollar 2.6678723329955276 ns/iter 2.338978989968072 ns/iter 1.14
Regex_Nested_Backtrack 56.43432642691436 ns/iter 47.69833702241328 ns/iter 1.18
JSON_Array_Of_Objects_Unique 331.149305089091 ns/iter 309.6954863481747 ns/iter 1.07
JSON_Parse_1 29467.223363361463 ns/iter 27733.28243880694 ns/iter 1.06
JSON_Parse_Real 31799.862654890025 ns/iter 26856.506406400935 ns/iter 1.18
JSON_Parse_Decimal 338921.48979868507 ns/iter 269207.2711115809 ns/iter 1.26
JSON_Parse_Schema_ISO_Language 24749344.79285931 ns/iter 20245972.801657286 ns/iter 1.22
JSON_Fast_Hash_Helm_Chart_Lock 37.343817225347074 ns/iter 35.875933928451026 ns/iter 1.04
JSON_Equality_Helm_Chart_Lock 145.82141823334078 ns/iter 132.2263530967478 ns/iter 1.10
JSON_String_Equal/10 6.841499229743922 ns/iter 6.009171209220074 ns/iter 1.14
JSON_String_Equal/100 5.961525364936663 ns/iter 5.680361160300968 ns/iter 1.05
JSON_String_Equal_Small_By_Perfect_Hash/10 0.8383245604141 ns/iter 0.8175030413037673 ns/iter 1.03
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 5.028056277531241 ns/iter 3.776201617885875 ns/iter 1.33
JSON_String_Fast_Hash/10 2.3443686381979383 ns/iter 2.152367828602675 ns/iter 1.09
JSON_String_Fast_Hash/100 2.2791759196261543 ns/iter 2.1764255863029067 ns/iter 1.05
JSON_String_Key_Hash/10 1.9748497856335507 ns/iter 1.6123980532016906 ns/iter 1.22
JSON_String_Key_Hash/100 3.59950694876341 ns/iter 2.8541286832070902 ns/iter 1.26
JSON_Object_Defines_Miss_Same_Length 2.2394589378344745 ns/iter 1.9840349451820272 ns/iter 1.13
JSON_Object_Defines_Miss_Too_Small 2.1595700361505856 ns/iter 1.959337613670754 ns/iter 1.10
JSON_Object_Defines_Miss_Too_Large 2.2358889590262656 ns/iter 1.933320995054789 ns/iter 1.16
Pointer_Object_Traverse 62.554833861849126 ns/iter 54.49620030379024 ns/iter 1.15
Pointer_Object_Try_Traverse 42.22761523986387 ns/iter 40.94331347776082 ns/iter 1.03
Pointer_Push_Back_Pointer_To_Weak_Pointer 204.2574189751308 ns/iter 165.20322169548302 ns/iter 1.24
Pointer_Walker_Schema_ISO_Language 5451068.878173828 ns/iter 4237843.884362115 ns/iter 1.29
Schema_Frame_WoT_References 6271007.365750191 ns/iter 5382371.671272047 ns/iter 1.17
Schema_Frame_OMC_References 32437053.593722258 ns/iter 36011377.9703776 ns/iter 0.90
Schema_Frame_OMC_Locations 33585234.12184282 ns/iter 38267737.940738074 ns/iter 0.88
Schema_Frame_ISO_Language_Locations 124856424.33166504 ns/iter 135039806.3659668 ns/iter 0.92
Schema_Iterator_ISO_Language 2063420.4305279318 ns/iter 2404935.8983193673 ns/iter 0.86
Schema_Frame_ISO_Language_Locations_To_JSON 200767993.92700195 ns/iter 206788380.94075522 ns/iter 0.97
Schema_Tracker_ISO_Language 43614275.31522863 ns/iter 54850084.441048756 ns/iter 0.80
Schema_Tracker_ISO_Language_To_JSON 25965826.851981025 ns/iter 32003684.4773726 ns/iter 0.81
Schema_Format_ISO_Language_To_JSON 128498593.96616618 ns/iter 152595579.62417603 ns/iter 0.84
Schema_Bundle_Meta_2020_12 1983495.3705277338 ns/iter 2118266.6034818445 ns/iter 0.94
Schema_Frame_Many_Resources_References 428237438.2019043 ns/iter 633919000.6256104 ns/iter 0.68
Alterschema_Check_Readibility_ISO_Language_Set_3 277667284.0118408 ns/iter 237718164.92080688 ns/iter 1.17
Alterschema_Check_Readibility_OMC 45040766.39811198 ns/iter 38215994.8348999 ns/iter 1.18
Alterschema_Apply_Readibility_KrakenD 544224023.8189697 ns/iter
EditorSchema_ForEditor_EmbeddedResources 14124020.93410492 ns/iter 12670243.779818216 ns/iter 1.11
URITemplateRouter_Create 21367.579397043915 ns/iter 14657.953810934467 ns/iter 1.46
URITemplateRouter_Match 205.23626852549128 ns/iter 187.30550185196535 ns/iter 1.10
URITemplateRouterView_Restore 10707.166586706366 ns/iter 10376.514858740718 ns/iter 1.03
URITemplateRouterView_Match 123.52718185659131 ns/iter 111.30023612586493 ns/iter 1.11

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

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.

2 participants