Skip to content

Better test "" and "/" edge cases in URITemplate#2155

Merged
jviotti merged 1 commit intomainfrom
uritemplate-tests
Jan 1, 2026
Merged

Better test "" and "/" edge cases in URITemplate#2155
jviotti merged 1 commit intomainfrom
uritemplate-tests

Conversation

@jviotti
Copy link
Member

@jviotti jviotti commented Jan 1, 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 1, 2026

🤖 Augment PR Summary

Summary: This PR strengthens URITemplate test coverage for edge cases around the empty template ("") vs the root template ("/").

Changes:

  • Adds an `is_matchable` test ensuring a `"/"` template is considered matchable for the root URI.
  • Adds `match()` tests verifying `""` does not match `"/"`.
  • Adds `match()` tests verifying `"/"` matches only `"/"` (and not `""` or `"/foo"`).

Technical Notes: The new cases help prevent regressions where normalization might blur the distinction between an empty path and the root path.

🤖 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 19a1d89 into main Jan 1, 2026
13 checks passed
@jviotti jviotti deleted the uritemplate-tests branch January 1, 2026 16:19
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: b79b95b Previous: c28a768 Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 1.7372527173497605 ns/iter 1.7036536535909015 ns/iter 1.02
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 1.7075987130829995 ns/iter 1.7126572145142136 ns/iter 1.00
Regex_Period_Asterisk 1.70670984461554 ns/iter 1.6882217824233448 ns/iter 1.01
Regex_Group_Period_Asterisk_Group 1.7215396546905242 ns/iter 1.7910711929311618 ns/iter 0.96
Regex_Period_Plus 2.1641622863090304 ns/iter 2.171858997405851 ns/iter 1.00
Regex_Period 2.041151395674002 ns/iter 2.212185738323057 ns/iter 0.92
Regex_Caret_Period_Plus_Dollar 2.026470373356684 ns/iter 2.375091732373937 ns/iter 0.85
Regex_Caret_Group_Period_Plus_Group_Dollar 2.019290527671697 ns/iter 2.235405864618793 ns/iter 0.90
Regex_Caret_Period_Asterisk_Dollar 1.6738875781784328 ns/iter 1.8019353322122489 ns/iter 0.93
Regex_Caret_Group_Period_Asterisk_Group_Dollar 1.663550677093842 ns/iter 1.828294312439116 ns/iter 0.91
Regex_Caret_X_Hyphen 6.353859769834098 ns/iter 6.73843088515798 ns/iter 0.94
Regex_Period_Md_Dollar 20.285181311823465 ns/iter 20.801761832056474 ns/iter 0.98
Regex_Caret_Slash_Period_Asterisk 5.377363859104204 ns/iter 5.6446758300000965 ns/iter 0.95
Regex_Caret_Period_Range_Dollar 1.793442697629738 ns/iter 1.7266477648489023 ns/iter 1.04
Regex_Nested_Backtrack 28.8832667372039 ns/iter 28.16269692255872 ns/iter 1.03
JSON_Array_Of_Objects_Unique 356.14930214087957 ns/iter 347.4233124447664 ns/iter 1.03
JSON_Parse_1 22394.601496440126 ns/iter 20670.3829917846 ns/iter 1.08
JSON_Parse_Real 25584.676849941803 ns/iter 25501.668804184024 ns/iter 1.00
JSON_Parse_Decimal 252437.69116606552 ns/iter 283076.10911017616 ns/iter 0.89
JSON_Fast_Hash_Helm_Chart_Lock 58.558350445571136 ns/iter 69.22272938954058 ns/iter 0.85
JSON_Equality_Helm_Chart_Lock 134.46935272868959 ns/iter 141.85522474901012 ns/iter 0.95
JSON_String_Equal/10 7.214711312936389 ns/iter 7.353786591090072 ns/iter 0.98
JSON_String_Equal/100 6.816855327822725 ns/iter 8.031417952089221 ns/iter 0.85
JSON_String_Equal_Small_By_Perfect_Hash/10 0.3333189640343241 ns/iter 0.377904035629934 ns/iter 0.88
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 3.216949187670182 ns/iter 3.51224239876609 ns/iter 0.92
JSON_String_Fast_Hash/10 2.4569320537727966 ns/iter 2.5576339377276507 ns/iter 0.96
JSON_String_Fast_Hash/100 2.0017411762652593 ns/iter 2.290822525767773 ns/iter 0.87
JSON_String_Key_Hash/10 1.33576726024865 ns/iter 1.7481319970014608 ns/iter 0.76
JSON_String_Key_Hash/100 2.148571006007057 ns/iter 2.037959571838876 ns/iter 1.05
JSON_Object_Defines_Miss_Same_Length 2.7750822901995598 ns/iter 2.5647432128402627 ns/iter 1.08
JSON_Object_Defines_Miss_Too_Small 2.7319036347344348 ns/iter 2.5155245869286254 ns/iter 1.09
JSON_Object_Defines_Miss_Too_Large 2.7460923781530333 ns/iter 2.5161651296290413 ns/iter 1.09
Pointer_Object_Traverse 14.676420272821632 ns/iter 13.668540802821777 ns/iter 1.07
Pointer_Object_Try_Traverse 19.850184572361773 ns/iter 17.838149085799788 ns/iter 1.11
Pointer_Push_Back_Pointer_To_Weak_Pointer 160.8952442764739 ns/iter 147.226734571723 ns/iter 1.09
Schema_Frame_WoT_References 6713368.320755255 ns/iter 6211821.382608516 ns/iter 1.08
Schema_Frame_OMC_References 31907874.999996528 ns/iter 32933258.34999905 ns/iter 0.97
Schema_Frame_OMC_Locations 29818973.958332624 ns/iter 30971898.565217484 ns/iter 0.96
Schema_Frame_ISO_Language_Locations 108391861.16665663 ns/iter 115353548.50000583 ns/iter 0.94
Schema_Iterator_ISO_Language 4376816.208589263 ns/iter 3806927.374302045 ns/iter 1.15
Schema_PointerWalker_ISO_Language 6206493.303570783 ns/iter 6134067.840707556 ns/iter 1.01
Schema_Frame_ISO_Language_Locations_To_JSON 78454433.29999852 ns/iter 72227786.9999996 ns/iter 1.09
Schema_Tracker_ISO_Language 42093508.92857141 ns/iter 38312141.22221935 ns/iter 1.10
Schema_Tracker_ISO_Language_To_JSON 15212971.590908742 ns/iter 13939964.999999575 ns/iter 1.09
Schema_Format_ISO_Language_To_JSON 111758618.0000103 ns/iter 108003416.57141288 ns/iter 1.03
Schema_Bundle_Meta_2020_12 1595080.690363452 ns/iter 1470263.8992800293 ns/iter 1.08
Alterschema_Check_Readibility_ISO_Language_Set_3 179424521.00001562 ns/iter 184168722.33331105 ns/iter 0.97
Alterschema_Check_Readibility_OMC 38160398.16666716 ns/iter 35425622.89999864 ns/iter 1.08

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: b79b95b Previous: c28a768 Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 3.110935089604441 ns/iter 3.110969931364086 ns/iter 1.00
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 3.1064858862961024 ns/iter 3.1081719955704927 ns/iter 1.00
Regex_Period_Asterisk 3.110330119928212 ns/iter 3.107363614500298 ns/iter 1.00
Regex_Group_Period_Asterisk_Group 3.107944189116736 ns/iter 3.108683712213962 ns/iter 1.00
Regex_Period_Plus 2.9938877543041906 ns/iter 3.0176142981964365 ns/iter 0.99
Regex_Period 3.109493687356353 ns/iter 3.1084727188802517 ns/iter 1.00
Regex_Caret_Period_Plus_Dollar 3.102580051742577 ns/iter 3.110473845988263 ns/iter 1.00
Regex_Caret_Group_Period_Plus_Group_Dollar 2.996589139827504 ns/iter 3.115023932047584 ns/iter 0.96
Regex_Caret_Period_Asterisk_Dollar 3.420623447057767 ns/iter 3.1112267163965317 ns/iter 1.10
Regex_Caret_Group_Period_Asterisk_Group_Dollar 3.108029397336628 ns/iter 3.1092187342789415 ns/iter 1.00
Regex_Caret_X_Hyphen 10.260140613560925 ns/iter 13.053485565110725 ns/iter 0.79
Regex_Period_Md_Dollar 27.22011782666774 ns/iter 27.230404576721888 ns/iter 1.00
Regex_Caret_Slash_Period_Asterisk 7.164874828753292 ns/iter 7.1490593797817565 ns/iter 1.00
Regex_Caret_Period_Range_Dollar 4.038818500296701 ns/iter 4.043454273961185 ns/iter 1.00
Regex_Nested_Backtrack 51.633533929429824 ns/iter 51.85488831237207 ns/iter 1.00
JSON_Array_Of_Objects_Unique 414.18035159930434 ns/iter 418.6268253512634 ns/iter 0.99
JSON_Parse_1 29834.283181316823 ns/iter 29415.75156197432 ns/iter 1.01
JSON_Parse_Real 38023.109580160664 ns/iter 37551.65403783306 ns/iter 1.01
JSON_Parse_Decimal 133646.49990460143 ns/iter 129027.29181231832 ns/iter 1.04
JSON_Fast_Hash_Helm_Chart_Lock 55.98170599746084 ns/iter 55.963169023172384 ns/iter 1.00
JSON_Equality_Helm_Chart_Lock 156.4078214378467 ns/iter 164.19033259753547 ns/iter 0.95
JSON_String_Equal/10 6.544062293606146 ns/iter 6.850656992908785 ns/iter 0.96
JSON_String_Equal/100 7.159993081049555 ns/iter 7.471213662840368 ns/iter 0.96
JSON_String_Equal_Small_By_Perfect_Hash/10 0.9385174462116123 ns/iter 0.936130405437123 ns/iter 1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 10.258492467555138 ns/iter 14.650738918797726 ns/iter 0.70
JSON_String_Fast_Hash/10 2.1773400608309106 ns/iter 2.1758950162166975 ns/iter 1.00
JSON_String_Fast_Hash/100 2.183470362161379 ns/iter 2.176032452806581 ns/iter 1.00
JSON_String_Key_Hash/10 1.8685027772022242 ns/iter 2.6652277926971197 ns/iter 0.70
JSON_String_Key_Hash/100 6.531956870311211 ns/iter 9.035406720194969 ns/iter 0.72
JSON_Object_Defines_Miss_Same_Length 3.7418204495462803 ns/iter 3.737761648018477 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Small 3.7358494479611433 ns/iter 3.736337616557067 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Large 3.7359192356643187 ns/iter 3.7384626722625245 ns/iter 1.00
Pointer_Object_Traverse 44.89156363033688 ns/iter 43.2051958423557 ns/iter 1.04
Pointer_Object_Try_Traverse 52.73971595975919 ns/iter 52.6137922209355 ns/iter 1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer 353.8496422179835 ns/iter 305.50584406477947 ns/iter 1.16
Schema_Frame_WoT_References 7377739.810526931 ns/iter 7266336.399999618 ns/iter 1.02
Schema_Frame_OMC_References 37229594.105263844 ns/iter 34485298.19999635 ns/iter 1.08
Schema_Frame_OMC_Locations 34333125.749998316 ns/iter 32350079.818177786 ns/iter 1.06
Schema_Frame_ISO_Language_Locations 184667604.49999243 ns/iter 164135590.24999812 ns/iter 1.13
Schema_Iterator_ISO_Language 3854606.0944440793 ns/iter 3983599.2429378955 ns/iter 0.97
Schema_PointerWalker_ISO_Language 4806932.611111215 ns/iter 4812311.013889175 ns/iter 1.00
Schema_Frame_ISO_Language_Locations_To_JSON 152112043.19998616 ns/iter 152768877.9999835 ns/iter 1.00
Schema_Tracker_ISO_Language 48807322.99999733 ns/iter 45363206.933332846 ns/iter 1.08
Schema_Tracker_ISO_Language_To_JSON 24121905.206898037 ns/iter 22663735.032254763 ns/iter 1.06
Schema_Format_ISO_Language_To_JSON 178208429.99998376 ns/iter 167445045.74995744 ns/iter 1.06
Schema_Bundle_Meta_2020_12 2200200.4150949805 ns/iter 2178428.745347582 ns/iter 1.01
Alterschema_Check_Readibility_ISO_Language_Set_3 292839229.99997 ns/iter 288534504.0000023 ns/iter 1.01
Alterschema_Check_Readibility_OMC 41517108.058823235 ns/iter 39782804.52940908 ns/iter 1.04

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: b79b95b Previous: c28a768 Ratio
Alterschema_Check_Readibility_ISO_Language_Set_3 291270403.999988 ns/iter 297256897.50000584 ns/iter 0.98
Alterschema_Check_Readibility_OMC 44592693.56250673 ns/iter 45887966.68750206 ns/iter 0.97
Schema_Frame_WoT_References 7945296.022472995 ns/iter 7963931.157894721 ns/iter 1.00
Schema_Frame_OMC_References 39174565.6666621 ns/iter 38680258.666665345 ns/iter 1.01
Schema_Frame_OMC_Locations 36746543.78947276 ns/iter 37037407.736839235 ns/iter 0.99
Schema_Frame_ISO_Language_Locations 185514267.7499657 ns/iter 189287264.7499928 ns/iter 0.98
Schema_Iterator_ISO_Language 4562305.6143802 ns/iter 4643379.299999748 ns/iter 0.98
Schema_PointerWalker_ISO_Language 4410265.620253132 ns/iter 4482929.496774182 ns/iter 0.98
Schema_Frame_ISO_Language_Locations_To_JSON 275028585.33330256 ns/iter 280566793.9999997 ns/iter 0.98
Schema_Tracker_ISO_Language 50076691.99999327 ns/iter 50854465.35714157 ns/iter 0.98
Schema_Tracker_ISO_Language_To_JSON 36966454.3684274 ns/iter 37266553.16666615 ns/iter 0.99
Schema_Format_ISO_Language_To_JSON 185984556.9999834 ns/iter 190328772.49998137 ns/iter 0.98
Schema_Bundle_Meta_2020_12 2350075.110364264 ns/iter 2388534.226028388 ns/iter 0.98
Pointer_Object_Traverse 48.88941325185119 ns/iter 48.02210200480913 ns/iter 1.02
Pointer_Object_Try_Traverse 22.74956922410588 ns/iter 22.756397426434482 ns/iter 1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer 166.16566023802352 ns/iter 159.77106355765505 ns/iter 1.04
JSON_Array_Of_Objects_Unique 384.7254825829431 ns/iter 381.5410464914734 ns/iter 1.01
JSON_Parse_1 32431.69754630007 ns/iter 33165.38480461734 ns/iter 0.98
JSON_Parse_Real 42251.72245763081 ns/iter 43551.986914262445 ns/iter 0.97
JSON_Parse_Decimal 154033.09666740565 ns/iter 155761.97419925942 ns/iter 0.99
JSON_Fast_Hash_Helm_Chart_Lock 50.08862657806681 ns/iter 55.20506526585373 ns/iter 0.91
JSON_Equality_Helm_Chart_Lock 159.9219325123504 ns/iter 152.9728900113186 ns/iter 1.05
JSON_String_Equal/10 6.339511761909485 ns/iter 6.350980174446604 ns/iter 1.00
JSON_String_Equal/100 6.965159202914506 ns/iter 7.210711815754185 ns/iter 0.97
JSON_String_Equal_Small_By_Perfect_Hash/10 0.9355630288770831 ns/iter 0.9341865929260363 ns/iter 1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 13.74087208171128 ns/iter 13.467059436693939 ns/iter 1.02
JSON_String_Fast_Hash/10 1.9034665845414267 ns/iter 1.906384472411318 ns/iter 1.00
JSON_String_Fast_Hash/100 1.9081418867014077 ns/iter 1.9050174745260537 ns/iter 1.00
JSON_String_Key_Hash/10 1.5567309847420348 ns/iter 1.5565748166951296 ns/iter 1.00
JSON_String_Key_Hash/100 12.426691752409804 ns/iter 12.434022642007125 ns/iter 1.00
JSON_Object_Defines_Miss_Same_Length 2.487124737217608 ns/iter 2.4897153133029994 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Small 2.488202407204956 ns/iter 2.4919647016358666 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Large 2.488189235931439 ns/iter 2.489100555769651 ns/iter 1.00
Regex_Lower_S_Or_Upper_S_Asterisk 3.108410626370355 ns/iter 3.1200439099067867 ns/iter 1.00
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 3.1089254021318524 ns/iter 3.1108537370105362 ns/iter 1.00
Regex_Period_Asterisk 3.1089281145463556 ns/iter 3.1093372067665817 ns/iter 1.00
Regex_Group_Period_Asterisk_Group 3.1126187701437167 ns/iter 3.1135513345060524 ns/iter 1.00
Regex_Period_Plus 3.4185492464866587 ns/iter 3.4205877689848765 ns/iter 1.00
Regex_Period 3.4185844961757272 ns/iter 3.4246744205288127 ns/iter 1.00
Regex_Caret_Period_Plus_Dollar 3.421879699418296 ns/iter 3.4223576046661 ns/iter 1.00
Regex_Caret_Group_Period_Plus_Group_Dollar 3.420360103002449 ns/iter 3.423877700036455 ns/iter 1.00
Regex_Caret_Period_Asterisk_Dollar 4.353748276402338 ns/iter 4.359707131985628 ns/iter 1.00
Regex_Caret_Group_Period_Asterisk_Group_Dollar 4.35568610568676 ns/iter 4.360715679197277 ns/iter 1.00
Regex_Caret_X_Hyphen 13.057543018593613 ns/iter 13.68531642873139 ns/iter 0.95
Regex_Period_Md_Dollar 35.90818459773403 ns/iter 36.006491606330556 ns/iter 1.00
Regex_Caret_Slash_Period_Asterisk 8.400009772937965 ns/iter 9.335771618738528 ns/iter 0.90
Regex_Caret_Period_Range_Dollar 3.41890681247951 ns/iter 4.355644505783227 ns/iter 0.78
Regex_Nested_Backtrack 61.8170783583403 ns/iter 61.70278020098287 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: b79b95b Previous: c28a768 Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 4.106820312499743 ns/iter 4.083652864434471 ns/iter 1.01
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 4.14269143596892 ns/iter 4.09299545373743 ns/iter 1.01
Regex_Period_Asterisk 4.837851005544032 ns/iter 4.7696363945750075 ns/iter 1.01
Regex_Group_Period_Asterisk_Group 4.414235000000133 ns/iter 4.431628125000486 ns/iter 1.00
Regex_Period_Plus 5.062749085951382 ns/iter 5.03758100000141 ns/iter 1.00
Regex_Period 5.035427999999911 ns/iter 5.028443572551025 ns/iter 1.00
Regex_Caret_Period_Plus_Dollar 4.734425903425039 ns/iter 4.71230723319554 ns/iter 1.00
Regex_Caret_Group_Period_Plus_Group_Dollar 4.428858627518266 ns/iter 4.400894341872596 ns/iter 1.01
Regex_Caret_Period_Asterisk_Dollar 4.4283576007337215 ns/iter 4.417109375000905 ns/iter 1.00
Regex_Caret_Group_Period_Asterisk_Group_Dollar 4.0993904091058795 ns/iter 4.092328043021658 ns/iter 1.00
Regex_Caret_X_Hyphen 7.571542410714624 ns/iter 7.545497767857005 ns/iter 1.00
Regex_Period_Md_Dollar 38.06036717749649 ns/iter 35.424466280647465 ns/iter 1.07
Regex_Caret_Slash_Period_Asterisk 7.235580357142826 ns/iter 7.220689732143626 ns/iter 1.00
Regex_Caret_Period_Range_Dollar 4.126036927011156 ns/iter 4.091795154423658 ns/iter 1.01
Regex_Nested_Backtrack 111.50876562499688 ns/iter 111.02121875001814 ns/iter 1.00
JSON_Array_Of_Objects_Unique 472.77365463701176 ns/iter 469.3901494174268 ns/iter 1.01
JSON_Parse_1 74304.92187499028 ns/iter 73317.5535714281 ns/iter 1.01
JSON_Parse_Real 91615.17342976092 ns/iter 90996.61175840658 ns/iter 1.01
JSON_Parse_Decimal 361184.9330357028 ns/iter 367179.2715586374 ns/iter 0.98
JSON_Fast_Hash_Helm_Chart_Lock 58.05140178571223 ns/iter 60.72366071429818 ns/iter 0.96
JSON_Equality_Helm_Chart_Lock 274.8865055854298 ns/iter 273.0168214286063 ns/iter 1.01
JSON_String_Equal/10 13.257044642857961 ns/iter 12.887644642859186 ns/iter 1.03
JSON_String_Equal/100 14.538965560092725 ns/iter 14.130781410128652 ns/iter 1.03
JSON_String_Equal_Small_By_Perfect_Hash/10 2.2131900000001536 ns/iter 2.1981506250000393 ns/iter 1.01
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 12.647185714286024 ns/iter 12.589441071428707 ns/iter 1.00
JSON_String_Fast_Hash/10 3.150935714286009 ns/iter 3.1335000000000592 ns/iter 1.01
JSON_String_Fast_Hash/100 3.149794196428246 ns/iter 3.198675446428061 ns/iter 0.98
JSON_String_Key_Hash/10 3.8336694574402714 ns/iter 4.081138921283599 ns/iter 0.94
JSON_String_Key_Hash/100 16.377377232141196 ns/iter 16.824428681980635 ns/iter 0.97
JSON_Object_Defines_Miss_Same_Length 4.724820457148442 ns/iter 5.052046000000701 ns/iter 0.94
JSON_Object_Defines_Miss_Too_Small 3.7928485646553662 ns/iter 3.77317562499968 ns/iter 1.01
JSON_Object_Defines_Miss_Too_Large 4.744358035714364 ns/iter 4.718790938552708 ns/iter 1.01
Pointer_Object_Traverse 54.884598214286484 ns/iter 54.36002999999801 ns/iter 1.01
Pointer_Object_Try_Traverse 69.64649553571029 ns/iter 69.55880580356168 ns/iter 1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer 169.5678104621268 ns/iter 167.9728103552982 ns/iter 1.01
Schema_Frame_WoT_References 16121446.341463612 ns/iter 15311966.666664982 ns/iter 1.05
Schema_Frame_OMC_References 74988566.66666143 ns/iter 74339655.55555409 ns/iter 1.01
Schema_Frame_OMC_Locations 71833522.22221452 ns/iter 68876399.99999093 ns/iter 1.04
Schema_Frame_ISO_Language_Locations 297305350.00004464 ns/iter 293278649.9999338 ns/iter 1.01
Schema_Iterator_ISO_Language 8820386.666666813 ns/iter 8467510.666666081 ns/iter 1.04
Schema_PointerWalker_ISO_Language 10755737.500000251 ns/iter 10264756.25000245 ns/iter 1.05
Schema_Frame_ISO_Language_Locations_To_JSON 229242533.33333886 ns/iter 229033400.00001058 ns/iter 1.00
Schema_Tracker_ISO_Language 103195766.66665852 ns/iter 98898633.33334385 ns/iter 1.04
Schema_Tracker_ISO_Language_To_JSON 54938640.00000031 ns/iter 53713779.99999823 ns/iter 1.02
Schema_Format_ISO_Language_To_JSON 306341499.9999736 ns/iter 298997749.9998986 ns/iter 1.02
Schema_Bundle_Meta_2020_12 3788245.8100570375 ns/iter 3807469.6078515626 ns/iter 0.99
Alterschema_Check_Readibility_ISO_Language_Set_3 431132600.0000122 ns/iter 420486849.9999748 ns/iter 1.03
Alterschema_Check_Readibility_OMC 82247557.14286402 ns/iter 80643177.77777635 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/gcc)

Details
Benchmark suite Current: b79b95b Previous: c28a768 Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 2.3007746097729393 ns/iter 2.300804525819845 ns/iter 1.00
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 2.2493820492319094 ns/iter 2.120945386313199 ns/iter 1.06
Regex_Period_Asterisk 2.287905735931196 ns/iter 2.3507389131426586 ns/iter 0.97
Regex_Group_Period_Asterisk_Group 2.2546229523936674 ns/iter 2.2904319547799665 ns/iter 0.98
Regex_Period_Plus 2.304510585978331 ns/iter 2.286789904287816 ns/iter 1.01
Regex_Period 2.2964953497181586 ns/iter 2.309261239722932 ns/iter 0.99
Regex_Caret_Period_Plus_Dollar 2.287491421507083 ns/iter 2.551046566936604 ns/iter 0.90
Regex_Caret_Group_Period_Plus_Group_Dollar 2.2866536210506805 ns/iter 2.4889638531207816 ns/iter 0.92
Regex_Caret_Period_Asterisk_Dollar 2.2109359088548968 ns/iter 2.2601680218540556 ns/iter 0.98
Regex_Caret_Group_Period_Asterisk_Group_Dollar 2.2038164293097444 ns/iter 2.426695725848386 ns/iter 0.91
Regex_Caret_X_Hyphen 6.673063795028183 ns/iter 7.049350185071218 ns/iter 0.95
Regex_Period_Md_Dollar 22.196507618457645 ns/iter 29.036447871201386 ns/iter 0.76
Regex_Caret_Slash_Period_Asterisk 5.0112598153594305 ns/iter 5.884510067052987 ns/iter 0.85
Regex_Caret_Period_Range_Dollar 2.2883836819566814 ns/iter 2.927426442497772 ns/iter 0.78
Regex_Nested_Backtrack 46.83259918185245 ns/iter 57.460209184174744 ns/iter 0.82
JSON_Array_Of_Objects_Unique 281.296057619242 ns/iter 328.49574654070506 ns/iter 0.86
JSON_Parse_1 25913.7418026981 ns/iter 28607.196421939247 ns/iter 0.91
JSON_Parse_Real 25811.767492253523 ns/iter 30295.004654808803 ns/iter 0.85
JSON_Parse_Decimal 280653.67879053165 ns/iter 346325.4024499004 ns/iter 0.81
JSON_Fast_Hash_Helm_Chart_Lock 35.175209249806464 ns/iter 39.023633563935455 ns/iter 0.90
JSON_Equality_Helm_Chart_Lock 131.58333151289662 ns/iter 142.2759658316544 ns/iter 0.92
JSON_String_Equal/10 5.983458829869396 ns/iter 6.8542432554247155 ns/iter 0.87
JSON_String_Equal/100 5.910473291867283 ns/iter 5.955602755207938 ns/iter 0.99
JSON_String_Equal_Small_By_Perfect_Hash/10 0.8083866180766299 ns/iter 0.9028016969864068 ns/iter 0.90
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 3.698388928052506 ns/iter 3.8448400912015375 ns/iter 0.96
JSON_String_Fast_Hash/10 1.9462626907106626 ns/iter 2.085416562541232 ns/iter 0.93
JSON_String_Fast_Hash/100 1.942958204784442 ns/iter 1.994800579920609 ns/iter 0.97
JSON_String_Key_Hash/10 1.5244842627936996 ns/iter 1.7038212030164088 ns/iter 0.89
JSON_String_Key_Hash/100 2.717899926634749 ns/iter 2.764016618483625 ns/iter 0.98
JSON_Object_Defines_Miss_Same_Length 1.8912888470934817 ns/iter 2.0015189668528697 ns/iter 0.94
JSON_Object_Defines_Miss_Too_Small 1.9264783656824676 ns/iter 2.0890704743206143 ns/iter 0.92
JSON_Object_Defines_Miss_Too_Large 1.9589792262812864 ns/iter 1.9607051737429335 ns/iter 1.00
Pointer_Object_Traverse 53.905962251663645 ns/iter 55.568914200256906 ns/iter 0.97
Pointer_Object_Try_Traverse 39.37829392033559 ns/iter 43.690958335488865 ns/iter 0.90
Pointer_Push_Back_Pointer_To_Weak_Pointer 175.28670533195682 ns/iter 190.45318498203017 ns/iter 0.92
Schema_Frame_WoT_References 8489807.44679769 ns/iter 9612325.21164585 ns/iter 0.88
Schema_Frame_OMC_References 41818590.725169465 ns/iter 43542300.95358456 ns/iter 0.96
Schema_Frame_OMC_Locations 38099527.35900879 ns/iter 45065111.58413357 ns/iter 0.85
Schema_Frame_ISO_Language_Locations 161558806.89620972 ns/iter 171920001.50680542 ns/iter 0.94
Schema_Iterator_ISO_Language 4140733.317895369 ns/iter 4617713.746570406 ns/iter 0.90
Schema_PointerWalker_ISO_Language 8498182.544460544 ns/iter 10785596.958105115 ns/iter 0.79
Schema_Frame_ISO_Language_Locations_To_JSON 163215827.94189453 ns/iter 165810585.02197266 ns/iter 0.98
Schema_Tracker_ISO_Language 38113726.50994195 ns/iter 40694867.8633746 ns/iter 0.94
Schema_Tracker_ISO_Language_To_JSON 24349136.011941094 ns/iter 26245514.551798504 ns/iter 0.93
Schema_Format_ISO_Language_To_JSON 155088782.31048584 ns/iter 171956479.54940796 ns/iter 0.90
Schema_Bundle_Meta_2020_12 1871026.7053891534 ns/iter 1960906.9560043039 ns/iter 0.95
Alterschema_Check_Readibility_ISO_Language_Set_3 210540930.4300944 ns/iter 222651322.68269858 ns/iter 0.95
Alterschema_Check_Readibility_OMC 41086421.293370865 ns/iter 45647799.96871948 ns/iter 0.90

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.

1 participant