Skip to content

Conversation

@jviotti
Copy link
Member

@jviotti jviotti commented Jan 23, 2026

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

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

augmentcode bot commented Jan 23, 2026

🤖 Augment PR Summary

Summary: Adds unit tests that validate sourcemeta::core::URI::relative_to behavior for file:// URIs.

Changes:

  • Covered same-directory, subdirectory, parent-directory, and identical-URI cases for Unix-style file URIs
  • Added a cross-root case to exercise ..-based relative path computation
  • Added equivalent coverage for Windows-style file:///C:/... URIs, including differing-drive behavior
  • Verified fragments are preserved when producing a relative reference

Technical Notes: Tests assert on URI::recompose() output after calling relative_to() using synthetic paths (no filesystem interaction).

🤖 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.

@jviotti jviotti merged commit cfe6cd8 into main Jan 23, 2026
13 checks passed
@jviotti jviotti deleted the file-uri-relative-to branch January 23, 2026 16:43
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: a39d1da Previous: 06675bf Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 3.8018924932105893 ns/iter 3.8070642789158597 ns/iter 1.00
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 3.7780360646820643 ns/iter 3.7843071360995615 ns/iter 1.00
Regex_Period_Asterisk 4.401517499999841 ns/iter 4.406505000000038 ns/iter 1.00
Regex_Group_Period_Asterisk_Group 4.0995314358922155 ns/iter 4.0983440251760355 ns/iter 1.00
Regex_Period_Plus 4.431381874999829 ns/iter 4.415600624999172 ns/iter 1.00
Regex_Period 4.4028237500000955 ns/iter 4.425711998061776 ns/iter 0.99
Regex_Caret_Period_Plus_Dollar 4.086214953532786 ns/iter 4.14162522136507 ns/iter 0.99
Regex_Caret_Group_Period_Plus_Group_Dollar 3.7777687432538536 ns/iter 3.78195374324702 ns/iter 1.00
Regex_Caret_Period_Asterisk_Dollar 4.088731569802179 ns/iter 4.18484683782964 ns/iter 0.98
Regex_Caret_Group_Period_Asterisk_Group_Dollar 3.7742404405315813 ns/iter 3.7745571361160084 ns/iter 1.00
Regex_Caret_X_Hyphen 7.552854910713844 ns/iter 7.566271428572691 ns/iter 1.00
Regex_Period_Md_Dollar 35.69307072665763 ns/iter 35.931480998774795 ns/iter 0.99
Regex_Caret_Slash_Period_Asterisk 7.223244642858617 ns/iter 7.378628348213567 ns/iter 0.98
Regex_Caret_Period_Range_Dollar 4.329482284515918 ns/iter 4.108644900625987 ns/iter 1.05
Regex_Nested_Backtrack 107.71120312497828 ns/iter 106.62060937502105 ns/iter 1.01
JSON_Array_Of_Objects_Unique 551.8263392858103 ns/iter 491.86374999996883 ns/iter 1.12
JSON_Parse_1 79924.56473213038 ns/iter 73303.06919643347 ns/iter 1.09
JSON_Parse_Real 92585.30869158151 ns/iter 92553.8234900207 ns/iter 1.00
JSON_Parse_Decimal 336571.365422445 ns/iter 354476.2276784955 ns/iter 0.95
JSON_Fast_Hash_Helm_Chart_Lock 66.13144642857702 ns/iter 66.59369642857119 ns/iter 0.99
JSON_Equality_Helm_Chart_Lock 264.4455988591235 ns/iter 261.123312996523 ns/iter 1.01
JSON_String_Equal/10 12.272910714285349 ns/iter 12.435771428568744 ns/iter 0.99
JSON_String_Equal/100 13.940127232144409 ns/iter 13.893179402259802 ns/iter 1.00
JSON_String_Equal_Small_By_Perfect_Hash/10 2.204538278789754 ns/iter 2.201592499999805 ns/iter 1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 12.629339062499412 ns/iter 12.869255357145448 ns/iter 0.98
JSON_String_Fast_Hash/10 3.782302455357061 ns/iter 3.7893247767861737 ns/iter 1.00
JSON_String_Fast_Hash/100 3.7909633860876184 ns/iter 3.82079731460536 ns/iter 0.99
JSON_String_Key_Hash/10 3.9474514215218397 ns/iter 3.8117598146217815 ns/iter 1.04
JSON_String_Key_Hash/100 16.33671127453043 ns/iter 13.802044358026643 ns/iter 1.18
JSON_Object_Defines_Miss_Same_Length 4.736525903429905 ns/iter 4.720036617678725 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Small 3.7844062432429046 ns/iter 3.777166294642547 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Large 4.737928135575245 ns/iter 4.7451421980922435 ns/iter 1.00
Pointer_Object_Traverse 51.30937999999787 ns/iter 49.21191999999337 ns/iter 1.04
Pointer_Object_Try_Traverse 70.11322321430059 ns/iter 70.64469642857927 ns/iter 0.99
Pointer_Push_Back_Pointer_To_Weak_Pointer 170.31917410714112 ns/iter 152.93711370812662 ns/iter 1.11
Pointer_Walker_Schema_ISO_Language 10391095.312499488 ns/iter 11002281.25000058 ns/iter 0.94
Schema_Frame_WoT_References 11385729.6875004 ns/iter 11564132.142857326 ns/iter 0.98
Schema_Frame_OMC_References 57650045.4545484 ns/iter 62202827.27273033 ns/iter 0.93
Schema_Frame_OMC_Locations 54007127.272742845 ns/iter 56622681.81818449 ns/iter 0.95
Schema_Frame_ISO_Language_Locations 245496533.3333045 ns/iter 263812133.33335534 ns/iter 0.93
Schema_Iterator_ISO_Language 4261115.662650382 ns/iter 4670774.675323864 ns/iter 0.91
Schema_Frame_ISO_Language_Locations_To_JSON 254249633.333302 ns/iter 262698466.66665825 ns/iter 0.97
Schema_Tracker_ISO_Language 106072983.33331983 ns/iter 104746142.85716857 ns/iter 1.01
Schema_Tracker_ISO_Language_To_JSON 53062300.000010505 ns/iter 56136530.00000341 ns/iter 0.95
Schema_Format_ISO_Language_To_JSON 243099100.0001086 ns/iter 258870766.6667081 ns/iter 0.94
Schema_Bundle_Meta_2020_12 4166241.2790647387 ns/iter 4265340.9090878805 ns/iter 0.98
Schema_Frame_Many_Resources_References 521687799.99988145 ns/iter 549514400.0001346 ns/iter 0.95
Alterschema_Check_Readibility_ISO_Language_Set_3 369696349.99991286 ns/iter 391519499.9999585 ns/iter 0.94
Alterschema_Check_Readibility_OMC 65375655.5555497 ns/iter 70435699.99998707 ns/iter 0.93
EditorSchema_ForEditor_EmbeddedResources 25943061.538476706 ns/iter 27431027.272717237 ns/iter 0.95
URITemplateRouter_Create 22245.665624993195 ns/iter 22548.843750001877 ns/iter 0.99
URITemplateRouter_Match 207.31720056621492 ns/iter 210.94974281469925 ns/iter 0.98
URITemplateRouterView_Restore 32446.915178567793 ns/iter 33577.865279146274 ns/iter 0.97
URITemplateRouterView_Match 139.2145049457496 ns/iter 142.3282436460357 ns/iter 0.98

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

Details
Benchmark suite Current: a39d1da Previous: 06675bf Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 3.111802818889633 ns/iter 3.1112481846951043 ns/iter 1.00
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 3.1070247187895665 ns/iter 3.1154109039293956 ns/iter 1.00
Regex_Period_Asterisk 3.108345872820754 ns/iter 3.1113172060741543 ns/iter 1.00
Regex_Group_Period_Asterisk_Group 3.1084159115652614 ns/iter 3.110190120766003 ns/iter 1.00
Regex_Period_Plus 2.893246736166414 ns/iter 2.9215497877442598 ns/iter 0.99
Regex_Period 3.102723694132844 ns/iter 3.098798665544487 ns/iter 1.00
Regex_Caret_Period_Plus_Dollar 2.969423787708682 ns/iter 2.9521321760412618 ns/iter 1.01
Regex_Caret_Group_Period_Plus_Group_Dollar 2.958562118299583 ns/iter 2.868308293277933 ns/iter 1.03
Regex_Caret_Period_Asterisk_Dollar 3.1128630123825607 ns/iter 3.1088685273529504 ns/iter 1.00
Regex_Caret_Group_Period_Asterisk_Group_Dollar 3.4179547272083117 ns/iter 3.4185922434435425 ns/iter 1.00
Regex_Caret_X_Hyphen 12.439259453815051 ns/iter 12.441328339431557 ns/iter 1.00
Regex_Period_Md_Dollar 27.76844451759551 ns/iter 27.648607372223697 ns/iter 1.00
Regex_Caret_Slash_Period_Asterisk 6.219486531607099 ns/iter 6.653063687848466 ns/iter 0.93
Regex_Caret_Period_Range_Dollar 3.73092998252455 ns/iter 3.1073565707098934 ns/iter 1.20
Regex_Nested_Backtrack 48.904403960423984 ns/iter 48.87667169443553 ns/iter 1.00
JSON_Array_Of_Objects_Unique 438.6538222040495 ns/iter 423.3476529230817 ns/iter 1.04
JSON_Parse_1 29595.784796709886 ns/iter 29194.20308986187 ns/iter 1.01
JSON_Parse_Real 38097.099722235005 ns/iter 38620.37014281398 ns/iter 0.99
JSON_Parse_Decimal 130854.00111856866 ns/iter 130237.64680692754 ns/iter 1.00
JSON_Fast_Hash_Helm_Chart_Lock 62.48491299685596 ns/iter 62.50194831878465 ns/iter 1.00
JSON_Equality_Helm_Chart_Lock 164.69346342686822 ns/iter 169.07528870828054 ns/iter 0.97
JSON_String_Equal/10 7.7756747735339165 ns/iter 6.544672440239929 ns/iter 1.19
JSON_String_Equal/100 7.429768686751376 ns/iter 7.159581694492327 ns/iter 1.04
JSON_String_Equal_Small_By_Perfect_Hash/10 0.9375656862228244 ns/iter 0.9381224975593747 ns/iter 1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 14.623612072308072 ns/iter 14.626392877366436 ns/iter 1.00
JSON_String_Fast_Hash/10 2.4868800753507414 ns/iter 2.488348028477282 ns/iter 1.00
JSON_String_Fast_Hash/100 2.486660130522202 ns/iter 2.4872210192273 ns/iter 1.00
JSON_String_Key_Hash/10 2.710095886015933 ns/iter 2.6983189072627773 ns/iter 1.00
JSON_String_Key_Hash/100 9.018062242554288 ns/iter 9.012535551692817 ns/iter 1.00
JSON_Object_Defines_Miss_Same_Length 3.7449501003847385 ns/iter 3.737634915648071 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Small 3.7325501921983575 ns/iter 3.741042748704827 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Large 3.731838677016497 ns/iter 3.7584494793431946 ns/iter 0.99
Pointer_Object_Traverse 44.23852058174712 ns/iter 44.285592490931236 ns/iter 1.00
Pointer_Object_Try_Traverse 53.48268124833844 ns/iter 53.562661470549976 ns/iter 1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer 362.42498903953117 ns/iter 289.4601902924778 ns/iter 1.25
Pointer_Walker_Schema_ISO_Language 3109663.9734514165 ns/iter 3136384.6591928108 ns/iter 0.99
Schema_Frame_WoT_References 5974508.10169456 ns/iter 5999008.965811968 ns/iter 1.00
Schema_Frame_OMC_References 28109469.199998785 ns/iter 28069339.479998235 ns/iter 1.00
Schema_Frame_OMC_Locations 26812701.115383897 ns/iter 26518874.769233383 ns/iter 1.01
Schema_Frame_ISO_Language_Locations 129717347.00001888 ns/iter 127814295.00000742 ns/iter 1.01
Schema_Iterator_ISO_Language 2367846.602040498 ns/iter 2366773.47138018 ns/iter 1.00
Schema_Frame_ISO_Language_Locations_To_JSON 132153229.0000107 ns/iter 130615942.74998356 ns/iter 1.01
Schema_Tracker_ISO_Language 44610692.37499515 ns/iter 45182340.400000006 ns/iter 0.99
Schema_Tracker_ISO_Language_To_JSON 22167767.531250603 ns/iter 21833017.75000146 ns/iter 1.02
Schema_Format_ISO_Language_To_JSON 137651476.80001062 ns/iter 134682219.2000218 ns/iter 1.02
Schema_Bundle_Meta_2020_12 2271633.025885248 ns/iter 2204648.896553035 ns/iter 1.03
Schema_Frame_Many_Resources_References 269480954.33332735 ns/iter 265248674.99999043 ns/iter 1.02
Alterschema_Check_Readibility_ISO_Language_Set_3 243765379.33331597 ns/iter 237939720.33335343 ns/iter 1.02
Alterschema_Check_Readibility_OMC 34569638.57142693 ns/iter 33892185.0952396 ns/iter 1.02
EditorSchema_ForEditor_EmbeddedResources 14580185.125000848 ns/iter 14605423.791669143 ns/iter 1.00
URITemplateRouter_Create 16336.592920148838 ns/iter 17381.478491272588 ns/iter 0.94
URITemplateRouter_Match 173.3224140839661 ns/iter 173.55375819779272 ns/iter 1.00
URITemplateRouterView_Restore 8159.734133044494 ns/iter 8195.336011309653 ns/iter 1.00
URITemplateRouterView_Match 120.28894888296607 ns/iter 119.59354906246469 ns/iter 1.01

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

Details
Benchmark suite Current: a39d1da Previous: 06675bf Ratio
URITemplateRouter_Create 14435.265845257909 ns/iter 14228.864138087163 ns/iter 1.01
URITemplateRouter_Match 168.74791295485178 ns/iter 167.21960856764167 ns/iter 1.01
URITemplateRouterView_Restore 8270.842289720538 ns/iter 8139.849697232138 ns/iter 1.02
URITemplateRouterView_Match 117.24306895223556 ns/iter 116.09782767308329 ns/iter 1.01
EditorSchema_ForEditor_EmbeddedResources 15621513.95557723 ns/iter 15588105.62222435 ns/iter 1.00
Alterschema_Check_Readibility_ISO_Language_Set_3 237828562.66666386 ns/iter 229052544.66669098 ns/iter 1.04
Alterschema_Check_Readibility_OMC 36397093.21052913 ns/iter 36645135.89473915 ns/iter 0.99
Schema_Frame_WoT_References 6565156.915886827 ns/iter 6554471.52830203 ns/iter 1.00
Schema_Frame_OMC_References 31416793.478268556 ns/iter 30332160.043480657 ns/iter 1.04
Schema_Frame_OMC_Locations 29652416.34782338 ns/iter 28453624.666667566 ns/iter 1.04
Schema_Frame_ISO_Language_Locations 135801176.59998906 ns/iter 127939953.99997585 ns/iter 1.06
Schema_Iterator_ISO_Language 2708226.3837213363 ns/iter 2742137.80078103 ns/iter 0.99
Schema_Frame_ISO_Language_Locations_To_JSON 304658990.9999966 ns/iter 294392257.0000268 ns/iter 1.03
Schema_Tracker_ISO_Language 50944459.000009246 ns/iter 47179126.26665566 ns/iter 1.08
Schema_Tracker_ISO_Language_To_JSON 36265838.578940116 ns/iter 30414180.91304323 ns/iter 1.19
Schema_Format_ISO_Language_To_JSON 144360334.20001876 ns/iter 134575874.60006836 ns/iter 1.07
Schema_Bundle_Meta_2020_12 2428318.0380626274 ns/iter 2435655.4861139697 ns/iter 1.00
Schema_Frame_Many_Resources_References 291670143.5000277 ns/iter 278946299.4999212 ns/iter 1.05
Pointer_Object_Traverse 45.65987789310718 ns/iter 47.30823323165381 ns/iter 0.97
Pointer_Object_Try_Traverse 26.137219101949256 ns/iter 26.20247778860874 ns/iter 1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer 164.31460404813896 ns/iter 165.3553830942213 ns/iter 0.99
Pointer_Walker_Schema_ISO_Language 3620034.5130888517 ns/iter 3490496.666666545 ns/iter 1.04
JSON_Array_Of_Objects_Unique 386.6338354737316 ns/iter 386.6563751758692 ns/iter 1.00
JSON_Parse_1 32729.157892289655 ns/iter 32779.89222091156 ns/iter 1.00
JSON_Parse_Real 43281.6549195137 ns/iter 43954.482217645316 ns/iter 0.98
JSON_Parse_Decimal 157615.0325622991 ns/iter 156090.39852812886 ns/iter 1.01
JSON_Fast_Hash_Helm_Chart_Lock 49.12647121424859 ns/iter 55.431728899998234 ns/iter 0.89
JSON_Equality_Helm_Chart_Lock 148.89857163415869 ns/iter 150.75147660540003 ns/iter 0.99
JSON_String_Equal/10 5.987769322570264 ns/iter 6.303788512928522 ns/iter 0.95
JSON_String_Equal/100 6.726622856270846 ns/iter 6.622449134342836 ns/iter 1.02
JSON_String_Equal_Small_By_Perfect_Hash/10 0.6230991777891559 ns/iter 0.6235454683738927 ns/iter 1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 19.597526905120656 ns/iter 19.616206508305403 ns/iter 1.00
JSON_String_Fast_Hash/10 1.9046378643003292 ns/iter 1.903892935083355 ns/iter 1.00
JSON_String_Fast_Hash/100 1.903475953690976 ns/iter 1.9038195279603378 ns/iter 1.00
JSON_String_Key_Hash/10 1.556595869783927 ns/iter 1.5580617229445446 ns/iter 1.00
JSON_String_Key_Hash/100 12.424874271067633 ns/iter 12.428376829755708 ns/iter 1.00
JSON_Object_Defines_Miss_Same_Length 2.4872247060948482 ns/iter 2.4908263481161987 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Small 2.796446962053745 ns/iter 2.807962795317919 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Large 2.487337426878184 ns/iter 2.488942272222558 ns/iter 1.00
Regex_Lower_S_Or_Upper_S_Asterisk 3.4180567504798502 ns/iter 3.418476148017737 ns/iter 1.00
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 3.4193838752195678 ns/iter 3.4228995997830305 ns/iter 1.00
Regex_Period_Asterisk 3.4199793114209665 ns/iter 3.419859795736023 ns/iter 1.00
Regex_Group_Period_Asterisk_Group 3.420332967011536 ns/iter 3.4620145531749276 ns/iter 0.99
Regex_Period_Plus 3.4191625947652344 ns/iter 3.420959879117711 ns/iter 1.00
Regex_Period 3.511808888367612 ns/iter 3.4193641976554843 ns/iter 1.03
Regex_Caret_Period_Plus_Dollar 3.4237302507600518 ns/iter 3.4179976167849087 ns/iter 1.00
Regex_Caret_Group_Period_Plus_Group_Dollar 3.4203132879744453 ns/iter 3.4213052694605453 ns/iter 1.00
Regex_Caret_Period_Asterisk_Dollar 4.67061128911895 ns/iter 4.663716963430111 ns/iter 1.00
Regex_Caret_Group_Period_Asterisk_Group_Dollar 4.66153651173018 ns/iter 4.665993771357452 ns/iter 1.00
Regex_Caret_X_Hyphen 13.678432692666627 ns/iter 13.689230156926294 ns/iter 1.00
Regex_Period_Md_Dollar 36.745518471050644 ns/iter 36.37022331416782 ns/iter 1.01
Regex_Caret_Slash_Period_Asterisk 8.706616846125948 ns/iter 9.954705202998692 ns/iter 0.87
Regex_Caret_Period_Range_Dollar 3.4181775751578907 ns/iter 4.663797969973587 ns/iter 0.73
Regex_Nested_Backtrack 57.5251561190264 ns/iter 58.59146434537356 ns/iter 0.98

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: a39d1da Previous: 06675bf Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 2.110686533030375 ns/iter 2.5641404930191074 ns/iter 0.82
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 2.468036337968476 ns/iter 2.5453167550120854 ns/iter 0.97
Regex_Period_Asterisk 1.9734720090512805 ns/iter 2.638212898953953 ns/iter 0.75
Regex_Group_Period_Asterisk_Group 2.00742322447403 ns/iter 2.628580219106879 ns/iter 0.76
Regex_Period_Plus 2.3437959540309854 ns/iter 3.711319880487646 ns/iter 0.63
Regex_Period 2.404854191913102 ns/iter 3.3122662855066802 ns/iter 0.73
Regex_Caret_Period_Plus_Dollar 2.197307186104984 ns/iter 3.342107216783547 ns/iter 0.66
Regex_Caret_Group_Period_Plus_Group_Dollar 2.104170402419718 ns/iter 3.2043560237331112 ns/iter 0.66
Regex_Caret_Period_Asterisk_Dollar 1.7961687175685188 ns/iter 2.780502605293014 ns/iter 0.65
Regex_Caret_Group_Period_Asterisk_Group_Dollar 1.8458112262825592 ns/iter 2.454826120654822 ns/iter 0.75
Regex_Caret_X_Hyphen 6.680655452162455 ns/iter 9.093071179299477 ns/iter 0.73
Regex_Period_Md_Dollar 19.437069885784428 ns/iter 31.295025590628146 ns/iter 0.62
Regex_Caret_Slash_Period_Asterisk 5.417810309765244 ns/iter 11.134671031753038 ns/iter 0.49
Regex_Caret_Period_Range_Dollar 1.7815094037126167 ns/iter 3.3497156919763835 ns/iter 0.53
Regex_Nested_Backtrack 29.21175982987985 ns/iter 54.46036848941817 ns/iter 0.54
JSON_Array_Of_Objects_Unique 351.17604651253083 ns/iter 598.540208999907 ns/iter 0.59
JSON_Parse_1 21538.493289588227 ns/iter 42423.91815727092 ns/iter 0.51
JSON_Parse_Real 25645.825783846154 ns/iter 43862.76031697377 ns/iter 0.58
JSON_Parse_Decimal 267765.23983021633 ns/iter 413874.1803279147 ns/iter 0.65
JSON_Fast_Hash_Helm_Chart_Lock 59.489460540125236 ns/iter 91.10785894217695 ns/iter 0.65
JSON_Equality_Helm_Chart_Lock 137.93251485591398 ns/iter 218.92903584709433 ns/iter 0.63
JSON_String_Equal/10 8.329154665060052 ns/iter 9.833067470018769 ns/iter 0.85
JSON_String_Equal/100 8.724011192669758 ns/iter 8.827284480756813 ns/iter 0.99
JSON_String_Equal_Small_By_Perfect_Hash/10 0.38521842773431353 ns/iter 0.40008595844599315 ns/iter 0.96
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 3.5674619372362226 ns/iter 5.779815434014666 ns/iter 0.62
JSON_String_Fast_Hash/10 3.0044697734196286 ns/iter 3.0603685106694143 ns/iter 0.98
JSON_String_Fast_Hash/100 2.648423901559675 ns/iter 2.7212606056432653 ns/iter 0.97
JSON_String_Key_Hash/10 1.9676215449601693 ns/iter 1.9606008761539322 ns/iter 1.00
JSON_String_Key_Hash/100 2.95172536893949 ns/iter 3.3525193463708853 ns/iter 0.88
JSON_Object_Defines_Miss_Same_Length 3.667313720901233 ns/iter 3.4792224168451127 ns/iter 1.05
JSON_Object_Defines_Miss_Too_Small 3.3738774172315162 ns/iter 3.3834351445932644 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Large 3.4095165771062312 ns/iter 3.089307359407825 ns/iter 1.10
Pointer_Object_Traverse 15.200617924440229 ns/iter 21.49705972304102 ns/iter 0.71
Pointer_Object_Try_Traverse 20.05983186146894 ns/iter 25.8750830764782 ns/iter 0.78
Pointer_Push_Back_Pointer_To_Weak_Pointer 160.79360485560957 ns/iter 226.48922153876705 ns/iter 0.71
Pointer_Walker_Schema_ISO_Language 4395839.320261456 ns/iter 8399959.722222168 ns/iter 0.52
Schema_Frame_WoT_References 5583041.015624346 ns/iter 8660814.308641028 ns/iter 0.64
Schema_Frame_OMC_References 37249910.95453912 ns/iter 51708391.60000469 ns/iter 0.72
Schema_Frame_OMC_Locations 32170942.04348106 ns/iter 51673716.69999738 ns/iter 0.62
Schema_Frame_ISO_Language_Locations 99631857.14286737 ns/iter 157410983.19999763 ns/iter 0.63
Schema_Iterator_ISO_Language 2088319.66561525 ns/iter 3355815.4086022945 ns/iter 0.62
Schema_Frame_ISO_Language_Locations_To_JSON 113040291.666645 ns/iter 119699199.99999091 ns/iter 0.94
Schema_Tracker_ISO_Language 46234733.83334284 ns/iter 59070099.99999674 ns/iter 0.78
Schema_Tracker_ISO_Language_To_JSON 16496034.266669488 ns/iter 19641015.342104215 ns/iter 0.84
Schema_Format_ISO_Language_To_JSON 113367972.33328374 ns/iter 157157833.25001097 ns/iter 0.72
Schema_Bundle_Meta_2020_12 1813722.5208907253 ns/iter 2452380.1263539814 ns/iter 0.74
Schema_Frame_Many_Resources_References 278369458.4999239 ns/iter 329168583.5000067 ns/iter 0.85
Alterschema_Check_Readibility_ISO_Language_Set_3 189940156.24997473 ns/iter 206282360.99999714 ns/iter 0.92
Alterschema_Check_Readibility_OMC 40031909.352940015 ns/iter 41456900.00000286 ns/iter 0.97
EditorSchema_ForEditor_EmbeddedResources 13609030.666667523 ns/iter 14608606.619995043 ns/iter 0.93
URITemplateRouter_Create 18837.438629284312 ns/iter 20149.938024156705 ns/iter 0.93
URITemplateRouter_Match 173.48825414122388 ns/iter 196.57926578402913 ns/iter 0.88
URITemplateRouterView_Restore 9583.22632423643 ns/iter 13135.777189552551 ns/iter 0.73
URITemplateRouterView_Match 114.41279610278633 ns/iter 142.68053720522252 ns/iter 0.80

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: a39d1da Previous: 06675bf Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 2.8631465759490142 ns/iter 2.449084008531174 ns/iter 1.17
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 2.792298097335073 ns/iter 2.3633697530140343 ns/iter 1.18
Regex_Period_Asterisk 2.799328904287673 ns/iter 2.332497012666318 ns/iter 1.20
Regex_Group_Period_Asterisk_Group 2.832938791448622 ns/iter 2.4896389165437913 ns/iter 1.14
Regex_Period_Plus 3.5839911362358925 ns/iter 2.5728872374427176 ns/iter 1.39
Regex_Period 3.6475053022337707 ns/iter 2.5086483345766215 ns/iter 1.45
Regex_Caret_Period_Plus_Dollar 2.955837542886287 ns/iter 2.3840800532491477 ns/iter 1.24
Regex_Caret_Group_Period_Plus_Group_Dollar 3.072334604053155 ns/iter 2.501771818396357 ns/iter 1.23
Regex_Caret_Period_Asterisk_Dollar 2.97009383320263 ns/iter 2.348122055026181 ns/iter 1.26
Regex_Caret_Group_Period_Asterisk_Group_Dollar 3.1927846783470617 ns/iter 2.3513795693019857 ns/iter 1.36
Regex_Caret_X_Hyphen 8.730156091913999 ns/iter 7.507164178954873 ns/iter 1.16
Regex_Period_Md_Dollar 35.26944934291685 ns/iter 31.285286476515438 ns/iter 1.13
Regex_Caret_Slash_Period_Asterisk 7.331405291549477 ns/iter 5.875069879494537 ns/iter 1.25
Regex_Caret_Period_Range_Dollar 3.467350445842794 ns/iter 2.5126909755089244 ns/iter 1.38
Regex_Nested_Backtrack 78.70277089553687 ns/iter 49.17355122504953 ns/iter 1.60
JSON_Array_Of_Objects_Unique 426.70334948711434 ns/iter 297.79553852565044 ns/iter 1.43
JSON_Parse_1 38124.58217904635 ns/iter 26163.64190073788 ns/iter 1.46
JSON_Parse_Real 38025.966118013304 ns/iter 28710.05625938949 ns/iter 1.32
JSON_Parse_Decimal 409848.0769566127 ns/iter 396770.6690129546 ns/iter 1.03
JSON_Fast_Hash_Helm_Chart_Lock 44.71312816335121 ns/iter 49.02112566765514 ns/iter 0.91
JSON_Equality_Helm_Chart_Lock 173.78959660868983 ns/iter 181.30828980351916 ns/iter 0.96
JSON_String_Equal/10 7.4558854431744 ns/iter 7.343065002325566 ns/iter 1.02
JSON_String_Equal/100 6.874524952167005 ns/iter 6.211228570814084 ns/iter 1.11
JSON_String_Equal_Small_By_Perfect_Hash/10 1.0516832313679991 ns/iter 0.8851611683634447 ns/iter 1.19
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 4.813957934423547 ns/iter 4.260697528405714 ns/iter 1.13
JSON_String_Fast_Hash/10 2.447416671737567 ns/iter 2.3822063671468174 ns/iter 1.03
JSON_String_Fast_Hash/100 2.2557256015911573 ns/iter 2.2279693168909542 ns/iter 1.01
JSON_String_Key_Hash/10 2.0984962431407137 ns/iter 1.637413639392003 ns/iter 1.28
JSON_String_Key_Hash/100 4.382020173265584 ns/iter 3.2963544028781633 ns/iter 1.33
JSON_Object_Defines_Miss_Same_Length 2.8818211469603563 ns/iter 2.276417405049571 ns/iter 1.27
JSON_Object_Defines_Miss_Too_Small 2.6689376572904853 ns/iter 2.081013907851209 ns/iter 1.28
JSON_Object_Defines_Miss_Too_Large 2.5944079954275474 ns/iter 2.199489571576243 ns/iter 1.18
Pointer_Object_Traverse 72.26783416557883 ns/iter 59.83711263866698 ns/iter 1.21
Pointer_Object_Try_Traverse 52.13494163946892 ns/iter 50.55914238093716 ns/iter 1.03
Pointer_Push_Back_Pointer_To_Weak_Pointer 250.45957171042377 ns/iter 168.32360532012066 ns/iter 1.49
Pointer_Walker_Schema_ISO_Language 7179523.649669829 ns/iter 4858594.105161469 ns/iter 1.48
Schema_Frame_WoT_References 11609627.405802408 ns/iter 7045043.693793999 ns/iter 1.65
Schema_Frame_OMC_References 50964007.0108267 ns/iter 37797184.55146341 ns/iter 1.35
Schema_Frame_OMC_Locations 42711464.56400553 ns/iter 34123182.29675293 ns/iter 1.25
Schema_Frame_ISO_Language_Locations 187182784.08050537 ns/iter 136852304.14072672 ns/iter 1.37
Schema_Iterator_ISO_Language 2695779.359213398 ns/iter 2162231.525904696 ns/iter 1.25
Schema_Frame_ISO_Language_Locations_To_JSON 267966628.074646 ns/iter 191659033.29849243 ns/iter 1.40
Schema_Tracker_ISO_Language 71450838.67586575 ns/iter 51537275.314331055 ns/iter 1.39
Schema_Tracker_ISO_Language_To_JSON 40585389.50406588 ns/iter 32646904.820981234 ns/iter 1.24
Schema_Format_ISO_Language_To_JSON 186610996.72317505 ns/iter 131678199.7680664 ns/iter 1.42
Schema_Bundle_Meta_2020_12 2713507.2969922833 ns/iter 1880962.171672303 ns/iter 1.44
Schema_Frame_Many_Resources_References 390326023.10180664 ns/iter 308053135.8718872 ns/iter 1.27
Alterschema_Check_Readibility_ISO_Language_Set_3 231185674.6673584 ns/iter 199041962.6235962 ns/iter 1.16
Alterschema_Check_Readibility_OMC 51022274.15357317 ns/iter 42146837.010103114 ns/iter 1.21
EditorSchema_ForEditor_EmbeddedResources 20192255.84494101 ns/iter 13242236.05069247 ns/iter 1.52
URITemplateRouter_Create 19898.474870063917 ns/iter 14953.913920477868 ns/iter 1.33
URITemplateRouter_Match 245.80230235473732 ns/iter 186.4349580984296 ns/iter 1.32
URITemplateRouterView_Restore 13580.54955128504 ns/iter 10521.144142900512 ns/iter 1.29
URITemplateRouterView_Match 157.8677008972113 ns/iter 128.15521810194045 ns/iter 1.23

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