Skip to content

Conversation

@jviotti
Copy link
Member

@jviotti jviotti commented Dec 23, 2025

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

@augmentcode
Copy link

augmentcode bot commented Dec 23, 2025

🤖 Augment PR Summary

Summary: Adds a small canonicalization CLI intended for testing/inspection of JSON Schemas.

Changes:

  • Adds a new test-side executable target alterschema_canonicalize in test/alterschema/CMakeLists.txt
  • Implements test/alterschema/alterschema_canonicalize.cc to read a schema file, apply AlterSchemaMode::Canonicalizer rules, then schema-format + prettify the result to stdout

Technical Notes: Uses sourcemeta::core::SchemaTransformer with schema_walker/schema_resolver and prints a trailing newline for stable CLI output.

🤖 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. 1 suggestions posted.

Fix All in Augment

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

Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
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: d9cb160 Previous: 734b515 Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 3.1147276724358774 ns/iter 3.107833288213416 ns/iter 1.00
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 3.1107107430103165 ns/iter 3.1070783151192103 ns/iter 1.00
Regex_Period_Asterisk 3.1086543161373217 ns/iter 3.107354936362867 ns/iter 1.00
Regex_Group_Period_Asterisk_Group 3.1080607546011465 ns/iter 3.1075127586149596 ns/iter 1.00
Regex_Period_Plus 2.9470842104269046 ns/iter 2.9211986701476937 ns/iter 1.01
Regex_Period 3.1168329695244563 ns/iter 2.869366225487888 ns/iter 1.09
Regex_Caret_Period_Plus_Dollar 3.1090431711838056 ns/iter 2.876796875015565 ns/iter 1.08
Regex_Caret_Group_Period_Plus_Group_Dollar 2.9211733715118187 ns/iter 2.8243914984785268 ns/iter 1.03
Regex_Caret_Period_Asterisk_Dollar 3.7279755350646058 ns/iter 2.799033390590974 ns/iter 1.33
Regex_Caret_Group_Period_Asterisk_Group_Dollar 3.728808543217868 ns/iter 2.7996961821552238 ns/iter 1.33
Regex_Caret_X_Hyphen 12.440947031993083 ns/iter 10.596541956427401 ns/iter 1.17
Regex_Period_Md_Dollar 27.18917866695329 ns/iter 27.24152520228706 ns/iter 1.00
Regex_Caret_Slash_Period_Asterisk 7.458961204814236 ns/iter 6.532040853087453 ns/iter 1.14
Regex_Caret_Period_Range_Dollar 4.040909667684563 ns/iter 4.042487363122295 ns/iter 1.00
Regex_Nested_Backtrack 62.113031488335764 ns/iter 63.106531807069025 ns/iter 0.98
JSON_Array_Of_Objects_Unique 438.0890768094877 ns/iter 436.8692097853908 ns/iter 1.00
JSON_Parse_1 29071.695860726337 ns/iter 28943.914110683247 ns/iter 1.00
JSON_Parse_Real 37640.34405714854 ns/iter 37883.33539504084 ns/iter 0.99
JSON_Parse_Decimal 130105.87407270478 ns/iter 130423.10762332639 ns/iter 1.00
JSON_Fast_Hash_Helm_Chart_Lock 62.15267358462771 ns/iter 62.18641446917247 ns/iter 1.00
JSON_Equality_Helm_Chart_Lock 159.2804960870896 ns/iter 167.53977942879587 ns/iter 0.95
JSON_String_Equal/10 6.536382938162694 ns/iter 6.847477422180312 ns/iter 0.95
JSON_String_Equal/100 7.157490429310172 ns/iter 7.472830316708981 ns/iter 0.96
JSON_String_Equal_Small_By_Perfect_Hash/10 0.9355698347439517 ns/iter 0.9347838929522251 ns/iter 1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 14.601842338297987 ns/iter 10.268855781490245 ns/iter 1.42
JSON_String_Fast_Hash/10 2.798095761514657 ns/iter 2.7986998777107286 ns/iter 1.00
JSON_String_Fast_Hash/100 2.7986762266723657 ns/iter 2.8011888457951106 ns/iter 1.00
JSON_String_Key_Hash/10 2.6907693116252007 ns/iter 2.1795838519798596 ns/iter 1.23
JSON_String_Key_Hash/100 9.009703921834458 ns/iter 6.531117249391716 ns/iter 1.38
JSON_Object_Defines_Miss_Same_Length 3.734101244995288 ns/iter 3.740697063307174 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Small 3.7331923648726604 ns/iter 3.737164333836795 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Large 3.741394984430277 ns/iter 3.7363330912368347 ns/iter 1.00
Pointer_Object_Traverse 44.254803522674614 ns/iter 44.2119166702402 ns/iter 1.00
Pointer_Object_Try_Traverse 56.03405436017981 ns/iter 56.150827949942865 ns/iter 1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer 308.90034267293487 ns/iter 308.8870083960101 ns/iter 1.00
Schema_Frame_OMC_Instances 201527925.99996397 ns/iter 192413899.66665184 ns/iter 1.05
Schema_Frame_OMC_References 38248498.31579214 ns/iter 34824211.85000248 ns/iter 1.10
Schema_Frame_OMC_Locations 34867935.90000161 ns/iter 32443584.545453843 ns/iter 1.07
Schema_Frame_ISO_Language_Locations 172898288.2499963 ns/iter 167868653.49999404 ns/iter 1.03
Schema_Iterator_ISO_Language 6237429.947368742 ns/iter 6128442.168141497 ns/iter 1.02
Schema_PointerWalker_ISO_Language 4759267.918918672 ns/iter 4617497.539473597 ns/iter 1.03
Schema_Frame_ISO_Language_Locations_To_JSON 151333305.3999986 ns/iter 150565733.60000128 ns/iter 1.01
Schema_Tracker_ISO_Language 49748257.07142828 ns/iter 45266712.86666139 ns/iter 1.10
Schema_Tracker_ISO_Language_To_JSON 24811829.620689265 ns/iter 22235372.812502872 ns/iter 1.12
Schema_Format_ISO_Language_To_JSON 181174642.00001147 ns/iter 184153647.75000852 ns/iter 0.98
Schema_Bundle_Meta_2020_12 2257561.977492564 ns/iter 2259033.9260447654 ns/iter 1.00
Alterschema_Check_Readibility_ISO_Language_Set_3 308921209.99999404 ns/iter 302190694.99997884 ns/iter 1.02
Alterschema_Check_Readibility_OMC 204194193.66669443 ns/iter 200697190.33335784 ns/iter 1.02

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

@jviotti jviotti merged commit ef1081e into main Dec 23, 2025
13 checks passed
@jviotti jviotti deleted the canonicalize-cli branch December 23, 2025 15:39
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: d9cb160 Previous: 734b515 Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 1.8662464922021962 ns/iter 1.7202425211754135 ns/iter 1.08
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 2.1018614346642144 ns/iter 1.713503796398866 ns/iter 1.23
Regex_Period_Asterisk 2.095654927763298 ns/iter 1.8064264558716006 ns/iter 1.16
Regex_Group_Period_Asterisk_Group 1.8400057816337583 ns/iter 1.8161304763964161 ns/iter 1.01
Regex_Period_Plus 2.216017337160205 ns/iter 2.2164779211146715 ns/iter 1.00
Regex_Period 2.255198745606341 ns/iter 2.1113163288636807 ns/iter 1.07
Regex_Caret_Period_Plus_Dollar 2.3761733474365987 ns/iter 2.1935236079014238 ns/iter 1.08
Regex_Caret_Group_Period_Plus_Group_Dollar 2.599795550146755 ns/iter 2.2375438210632046 ns/iter 1.16
Regex_Caret_Period_Asterisk_Dollar 2.140108615544722 ns/iter 2.4125670863644215 ns/iter 0.89
Regex_Caret_Group_Period_Asterisk_Group_Dollar 1.749350046347779 ns/iter 2.5298756424556834 ns/iter 0.69
Regex_Caret_X_Hyphen 7.564097072988561 ns/iter 10.29949027309825 ns/iter 0.73
Regex_Period_Md_Dollar 31.342401870063718 ns/iter 32.23678004129067 ns/iter 0.97
Regex_Caret_Slash_Period_Asterisk 8.63011900198265 ns/iter 7.082825977307597 ns/iter 1.22
Regex_Caret_Period_Range_Dollar 2.289326140756427 ns/iter 2.3826782083428153 ns/iter 0.96
Regex_Nested_Backtrack 32.582416083459286 ns/iter 36.007264105122964 ns/iter 0.90
JSON_Array_Of_Objects_Unique 373.8860990678625 ns/iter 365.23198441068644 ns/iter 1.02
JSON_Parse_1 25283.28864191371 ns/iter 22806.676333906213 ns/iter 1.11
JSON_Parse_Real 27257.200561007667 ns/iter 28298.975976329715 ns/iter 0.96
JSON_Parse_Decimal 326235.1210728638 ns/iter 269690.66029802663 ns/iter 1.21
JSON_Fast_Hash_Helm_Chart_Lock 77.0098529022639 ns/iter 61.61364341246767 ns/iter 1.25
JSON_Equality_Helm_Chart_Lock 196.96856217115783 ns/iter 144.73470840888234 ns/iter 1.36
JSON_String_Equal/10 7.771158534016832 ns/iter 8.189649882395644 ns/iter 0.95
JSON_String_Equal/100 7.895570309136094 ns/iter 7.170180992056551 ns/iter 1.10
JSON_String_Equal_Small_By_Perfect_Hash/10 0.40187495895438563 ns/iter 0.3793511078547432 ns/iter 1.06
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 4.25439190115777 ns/iter 4.287102021828195 ns/iter 0.99
JSON_String_Fast_Hash/10 3.135073741589351 ns/iter 2.9955771349306954 ns/iter 1.05
JSON_String_Fast_Hash/100 2.6248391026309683 ns/iter 2.843252227559759 ns/iter 0.92
JSON_String_Key_Hash/10 1.6385444496190396 ns/iter 1.951424677365927 ns/iter 0.84
JSON_String_Key_Hash/100 3.132978892271092 ns/iter 3.0161199347427763 ns/iter 1.04
JSON_Object_Defines_Miss_Same_Length 3.477319751978054 ns/iter 3.3496196737003934 ns/iter 1.04
JSON_Object_Defines_Miss_Too_Small 3.419049107292167 ns/iter 3.171916040475038 ns/iter 1.08
JSON_Object_Defines_Miss_Too_Large 3.4469651509225803 ns/iter 2.909597265891532 ns/iter 1.18
Pointer_Object_Traverse 21.75137061552725 ns/iter 16.84866555449227 ns/iter 1.29
Pointer_Object_Try_Traverse 23.175081344213975 ns/iter 26.547528327320478 ns/iter 0.87
Pointer_Push_Back_Pointer_To_Weak_Pointer 174.18438214939374 ns/iter 196.87747587957458 ns/iter 0.88
Schema_Frame_OMC_Instances 212690138.99996027 ns/iter 221472083.33331037 ns/iter 0.96
Schema_Frame_OMC_References 64132374.99999433 ns/iter 41000916.70587811 ns/iter 1.56
Schema_Frame_OMC_Locations 59605791.666677356 ns/iter 53355839.59999894 ns/iter 1.12
Schema_Frame_ISO_Language_Locations 180376999.99998343 ns/iter 167601194.6666828 ns/iter 1.08
Schema_Iterator_ISO_Language 7519649.514707079 ns/iter 7361233.452055075 ns/iter 1.02
Schema_PointerWalker_ISO_Language 8906135.309278341 ns/iter 7592459.7415732015 ns/iter 1.17
Schema_Frame_ISO_Language_Locations_To_JSON 138927199.99998918 ns/iter 107718000.00002258 ns/iter 1.29
Schema_Tracker_ISO_Language 71203399.25000963 ns/iter 43284078.12499791 ns/iter 1.65
Schema_Tracker_ISO_Language_To_JSON 28267111.607143696 ns/iter 15678073.47368288 ns/iter 1.80
Schema_Format_ISO_Language_To_JSON 261587986.0001466 ns/iter 133942216.3999643 ns/iter 1.95
Schema_Bundle_Meta_2020_12 2846149.8620682224 ns/iter 2028389.0796238068 ns/iter 1.40
Alterschema_Check_Readibility_ISO_Language_Set_3 366984666.99999696 ns/iter 279698403.00003546 ns/iter 1.31
Alterschema_Check_Readibility_OMC 452691332.99996156 ns/iter 276150208.3333956 ns/iter 1.64

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: d9cb160 Previous: 734b515 Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 2.9996614691962717 ns/iter 4.424078750000149 ns/iter 0.68
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 3.520846155212358 ns/iter 5.038948999999775 ns/iter 0.70
Regex_Period_Asterisk 3.0466000432821985 ns/iter 4.39609062499926 ns/iter 0.69
Regex_Group_Period_Asterisk_Group 3.5102657867338793 ns/iter 5.034383000001981 ns/iter 0.70
Regex_Period_Plus 2.6951187041543783 ns/iter 4.101919551740561 ns/iter 0.66
Regex_Period 2.7136629440058275 ns/iter 4.098352730533502 ns/iter 0.66
Regex_Caret_Period_Plus_Dollar 3.2239176612872242 ns/iter 4.720471215893113 ns/iter 0.68
Regex_Caret_Group_Period_Plus_Group_Dollar 3.2225231300351025 ns/iter 4.743632823088269 ns/iter 0.68
Regex_Caret_Period_Asterisk_Dollar 3.5115614454058237 ns/iter 5.032434130587703 ns/iter 0.70
Regex_Caret_Group_Period_Asterisk_Group_Dollar 3.516990574862219 ns/iter 5.052618036841832 ns/iter 0.70
Regex_Caret_X_Hyphen 6.720553571428565 ns/iter 8.199390625000445 ns/iter 0.82
Regex_Period_Md_Dollar 30.541154327944533 ns/iter 35.14459016644184 ns/iter 0.87
Regex_Caret_Slash_Period_Asterisk 6.710433928570784 ns/iter 8.181904017856567 ns/iter 0.82
Regex_Caret_Period_Range_Dollar 3.5312720472656576 ns/iter 5.033134000000246 ns/iter 0.70
Regex_Nested_Backtrack 86.94552736853088 ns/iter 101.43010937497367 ns/iter 0.86
JSON_Array_Of_Objects_Unique 381.87181919648236 ns/iter 466.48656031598904 ns/iter 0.82
JSON_Parse_1 76408.79464285076 ns/iter 73467.37723213132 ns/iter 1.04
JSON_Parse_Real 94688.17187499924 ns/iter 93447.30145977 ns/iter 1.01
JSON_Parse_Decimal 339260.47227931855 ns/iter 335822.20039290696 ns/iter 1.01
JSON_Fast_Hash_Helm_Chart_Lock 43.05298124999979 ns/iter 59.36705000001439 ns/iter 0.73
JSON_Equality_Helm_Chart_Lock 244.55431249997162 ns/iter 271.36573788550993 ns/iter 0.90
JSON_String_Equal/10 10.906798437499532 ns/iter 12.859216071429305 ns/iter 0.85
JSON_String_Equal/100 13.504949939709022 ns/iter 14.132285714281473 ns/iter 0.96
JSON_String_Equal_Small_By_Perfect_Hash/10 1.4634415841683501 ns/iter 1.8801353588216172 ns/iter 0.78
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 9.659912500001866 ns/iter 12.852198826551874 ns/iter 0.75
JSON_String_Fast_Hash/10 2.07273160482998 ns/iter 3.1418544642858945 ns/iter 0.66
JSON_String_Fast_Hash/100 2.0524376762812384 ns/iter 3.1404294642852295 ns/iter 0.65
JSON_String_Key_Hash/10 3.2184165178575443 ns/iter 4.394709832958782 ns/iter 0.73
JSON_String_Key_Hash/100 13.670532142855661 ns/iter 13.744273599355894 ns/iter 0.99
JSON_Object_Defines_Miss_Same_Length 4.26237307845502 ns/iter 3.82667410030954 ns/iter 1.11
JSON_Object_Defines_Miss_Too_Small 4.287506213013067 ns/iter 3.767849457557232 ns/iter 1.14
JSON_Object_Defines_Miss_Too_Large 4.518561170801325 ns/iter 3.895296957329079 ns/iter 1.16
Pointer_Object_Traverse 50.329759999999624 ns/iter 59.87068750000293 ns/iter 0.84
Pointer_Object_Try_Traverse 65.68704464285702 ns/iter 77.1348214285642 ns/iter 0.85
Pointer_Push_Back_Pointer_To_Weak_Pointer 173.66995136177553 ns/iter 149.7877466375815 ns/iter 1.16
Schema_Frame_OMC_Instances 406004899.9999708 ns/iter 393437100.0000283 ns/iter 1.03
Schema_Frame_OMC_References 82986157.14284097 ns/iter 80809455.55555747 ns/iter 1.03
Schema_Frame_OMC_Locations 78224799.99999309 ns/iter 75152872.72727536 ns/iter 1.04
Schema_Frame_ISO_Language_Locations 322190499.99991965 ns/iter 305740949.99997216 ns/iter 1.05
Schema_Iterator_ISO_Language 14801290.000000335 ns/iter 13026373.21428587 ns/iter 1.14
Schema_PointerWalker_ISO_Language 11716358.928570766 ns/iter 9614409.375000577 ns/iter 1.22
Schema_Frame_ISO_Language_Locations_To_JSON 225906599.99999237 ns/iter 225983766.66663477 ns/iter 1.00
Schema_Tracker_ISO_Language 101728383.33335221 ns/iter 101805033.33333491 ns/iter 1.00
Schema_Tracker_ISO_Language_To_JSON 56431699.9999929 ns/iter 52564379.99998979 ns/iter 1.07
Schema_Format_ISO_Language_To_JSON 313773799.99992174 ns/iter 299590949.9999243 ns/iter 1.05
Schema_Bundle_Meta_2020_12 3929883.1395282918 ns/iter 3885148.66309369 ns/iter 1.01
Alterschema_Check_Readibility_ISO_Language_Set_3 470841999.9999478 ns/iter 476615600.0000592 ns/iter 0.99
Alterschema_Check_Readibility_OMC 395455949.9999277 ns/iter 390057400.0000461 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: d9cb160 Previous: 734b515 Ratio
Alterschema_Check_Readibility_ISO_Language_Set_3 308667664.49992156 ns/iter 306646402.99994516 ns/iter 1.01
Alterschema_Check_Readibility_OMC 206805078.66669965 ns/iter 205306333.33335876 ns/iter 1.01
Schema_Frame_OMC_Instances 201391566.6667193 ns/iter 202416568.7499817 ns/iter 0.99
Schema_Frame_OMC_References 40422678.70588201 ns/iter 39235215.66665992 ns/iter 1.03
Schema_Frame_OMC_Locations 37069333.68420993 ns/iter 36550795.736837626 ns/iter 1.01
Schema_Frame_ISO_Language_Locations 171884389.7500051 ns/iter 168848482.7499792 ns/iter 1.02
Schema_Iterator_ISO_Language 7046857.282828092 ns/iter 7135351.653060957 ns/iter 0.99
Schema_PointerWalker_ISO_Language 4490976.865385258 ns/iter 4466611.846154569 ns/iter 1.01
Schema_Frame_ISO_Language_Locations_To_JSON 278597795.33332586 ns/iter 281938933.333322 ns/iter 0.99
Schema_Tracker_ISO_Language 49864447.92856608 ns/iter 50368990.40001117 ns/iter 0.99
Schema_Tracker_ISO_Language_To_JSON 34568290.69999685 ns/iter 32884501.619047936 ns/iter 1.05
Schema_Format_ISO_Language_To_JSON 181092445.75003913 ns/iter 177593080.75000036 ns/iter 1.02
Schema_Bundle_Meta_2020_12 2445578.052276231 ns/iter 2453282.5809880937 ns/iter 1.00
Pointer_Object_Traverse 49.758471399139125 ns/iter 49.93085089197786 ns/iter 1.00
Pointer_Object_Try_Traverse 26.24924199784834 ns/iter 26.183227418923252 ns/iter 1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer 160.55840323678498 ns/iter 166.23695361976732 ns/iter 0.97
JSON_Array_Of_Objects_Unique 395.1125037904152 ns/iter 416.7388314928317 ns/iter 0.95
JSON_Parse_1 33084.464435138696 ns/iter 33256.94541120652 ns/iter 0.99
JSON_Parse_Real 44269.80739571483 ns/iter 43884.37839702657 ns/iter 1.01
JSON_Parse_Decimal 157809.02436276845 ns/iter 156968.77100607584 ns/iter 1.01
JSON_Fast_Hash_Helm_Chart_Lock 55.351076800002375 ns/iter 61.16447760000483 ns/iter 0.90
JSON_Equality_Helm_Chart_Lock 157.9803733562496 ns/iter 157.96608587303314 ns/iter 1.00
JSON_String_Equal/10 6.925134342500395 ns/iter 6.9282125263078935 ns/iter 1.00
JSON_String_Equal/100 7.452411828375623 ns/iter 7.549490435295601 ns/iter 0.99
JSON_String_Equal_Small_By_Perfect_Hash/10 0.622899914417642 ns/iter 0.6234233022325162 ns/iter 1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 13.676617993638697 ns/iter 13.440595851676232 ns/iter 1.02
JSON_String_Fast_Hash/10 1.9037698972272734 ns/iter 1.907298325818949 ns/iter 1.00
JSON_String_Fast_Hash/100 1.9125647760761626 ns/iter 1.9057679351241525 ns/iter 1.00
JSON_String_Key_Hash/10 2.29427780906142 ns/iter 2.2965305181339244 ns/iter 1.00
JSON_String_Key_Hash/100 13.472636228931888 ns/iter 13.371482484271901 ns/iter 1.01
JSON_Object_Defines_Miss_Same_Length 2.494112626194252 ns/iter 2.490679865493623 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Small 2.5868680775781354 ns/iter 2.4879888334097418 ns/iter 1.04
JSON_Object_Defines_Miss_Too_Large 2.489194664683836 ns/iter 2.489518822155818 ns/iter 1.00
Regex_Lower_S_Or_Upper_S_Asterisk 3.1136916444792666 ns/iter 3.114359751303172 ns/iter 1.00
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 3.1250054752408922 ns/iter 3.1113109412983646 ns/iter 1.00
Regex_Period_Asterisk 3.1136580262871907 ns/iter 3.1126223564084916 ns/iter 1.00
Regex_Group_Period_Asterisk_Group 3.109820000887572 ns/iter 3.1185275105166763 ns/iter 1.00
Regex_Period_Plus 3.120277031067624 ns/iter 3.113502466676014 ns/iter 1.00
Regex_Period 2.797213712922627 ns/iter 3.1099550648666368 ns/iter 0.90
Regex_Caret_Period_Plus_Dollar 2.798606821198112 ns/iter 3.1241248267156756 ns/iter 0.90
Regex_Caret_Group_Period_Plus_Group_Dollar 2.801549217120956 ns/iter 2.8020143683528893 ns/iter 1.00
Regex_Caret_Period_Asterisk_Dollar 3.420408683728572 ns/iter 3.167074646343258 ns/iter 1.08
Regex_Caret_Group_Period_Asterisk_Group_Dollar 3.4197172475393174 ns/iter 3.111228711304493 ns/iter 1.10
Regex_Caret_X_Hyphen 13.078167101681082 ns/iter 13.682485994190495 ns/iter 0.96
Regex_Period_Md_Dollar 38.73931228928476 ns/iter 40.87424618078225 ns/iter 0.95
Regex_Caret_Slash_Period_Asterisk 8.083138855789711 ns/iter 8.089745219300271 ns/iter 1.00
Regex_Caret_Period_Range_Dollar 3.421810983741131 ns/iter 4.678859881485931 ns/iter 0.73
Regex_Nested_Backtrack 69.80681839888759 ns/iter 70.84481715319822 ns/iter 0.99

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: d9cb160 Previous: ca7352b Ratio
Regex_Lower_S_Or_Upper_S_Asterisk 2.2299139221243376 ns/iter 2.1758627557210994 ns/iter 1.02
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 2.232891245446355 ns/iter 2.220907605283352 ns/iter 1.01
Regex_Period_Asterisk 2.2016345849838506 ns/iter 2.270468645441243 ns/iter 0.97
Regex_Group_Period_Asterisk_Group 2.198097920053087 ns/iter 2.238120793526648 ns/iter 0.98
Regex_Period_Plus 2.263128045644538 ns/iter 2.2642229487739094 ns/iter 1.00
Regex_Period 2.267597921154224 ns/iter 2.233679100727081 ns/iter 1.02
Regex_Caret_Period_Plus_Dollar 2.267024250307702 ns/iter 2.294945535353846 ns/iter 0.99
Regex_Caret_Group_Period_Plus_Group_Dollar 2.2764447625312867 ns/iter 2.381656628954137 ns/iter 0.96
Regex_Caret_Period_Asterisk_Dollar 2.2133324885872234 ns/iter 2.191298646893055 ns/iter 1.01
Regex_Caret_Group_Period_Asterisk_Group_Dollar 2.2666885814579887 ns/iter 2.077791969007342 ns/iter 1.09
Regex_Caret_X_Hyphen 6.859845295591137 ns/iter 6.322141791415204 ns/iter 1.09
Regex_Period_Md_Dollar 22.675583760432513 ns/iter 20.976631686097942 ns/iter 1.08
Regex_Caret_Slash_Period_Asterisk 5.140161291954584 ns/iter 4.732176754041406 ns/iter 1.09
Regex_Caret_Period_Range_Dollar 2.415838505024157 ns/iter 2.1791555880249924 ns/iter 1.11
Regex_Nested_Backtrack 48.46207958633801 ns/iter 44.83676870537274 ns/iter 1.08
JSON_Array_Of_Objects_Unique 286.2599431432741 ns/iter 320.46413634556484 ns/iter 0.89
JSON_Parse_1 25279.032588845508 ns/iter 27195.145506725778 ns/iter 0.93
JSON_Parse_Real 26545.36018355009 ns/iter 30416.916803690816 ns/iter 0.87
JSON_Parse_Decimal 278930.98343941284 ns/iter 284219.4681653919 ns/iter 0.98
JSON_Fast_Hash_Helm_Chart_Lock 33.24303536631688 ns/iter 37.11970143257614 ns/iter 0.90
JSON_Equality_Helm_Chart_Lock 125.463682203427 ns/iter 131.90416875416813 ns/iter 0.95
JSON_String_Equal/10 5.7332788862194946 ns/iter 6.29393331029874 ns/iter 0.91
JSON_String_Equal/100 5.395385579511168 ns/iter 5.693520333716497 ns/iter 0.95
JSON_String_Equal_Small_By_Perfect_Hash/10 0.7963688096238764 ns/iter 0.8481988780853963 ns/iter 0.94
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 3.691510347580698 ns/iter 3.7634954088460812 ns/iter 0.98
JSON_String_Fast_Hash/10 1.963603063783701 ns/iter 1.9914838738846692 ns/iter 0.99
JSON_String_Fast_Hash/100 1.9644938243871812 ns/iter 1.9666193413676214 ns/iter 1.00
JSON_String_Key_Hash/10 1.5398802208700946 ns/iter 1.5504066226059352 ns/iter 0.99
JSON_String_Key_Hash/100 2.736959784432044 ns/iter 2.6679921848026367 ns/iter 1.03
JSON_Object_Defines_Miss_Same_Length 1.9391676016158872 ns/iter 1.8697289390165568 ns/iter 1.04
JSON_Object_Defines_Miss_Too_Small 1.9667784632593066 ns/iter 1.8927386670368112 ns/iter 1.04
JSON_Object_Defines_Miss_Too_Large 2.0177665854076707 ns/iter 1.8988782254673904 ns/iter 1.06
Pointer_Object_Traverse 57.27157542880533 ns/iter 53.248752492701 ns/iter 1.08
Pointer_Object_Try_Traverse 39.86784323090583 ns/iter 38.18793829703971 ns/iter 1.04
Pointer_Push_Back_Pointer_To_Weak_Pointer 221.75235289013528 ns/iter 163.4391575435066 ns/iter 1.36
Schema_Frame_OMC_Instances 219819307.3272705 ns/iter 223091920.21687827 ns/iter 0.99
Schema_Frame_OMC_References 45729234.81464386 ns/iter 45896187.42465973 ns/iter 1.00
Schema_Frame_OMC_Locations 38742621.739705406 ns/iter 42830124.497413635 ns/iter 0.90
Schema_Frame_ISO_Language_Locations 164348721.50421143 ns/iter 180258512.49694824 ns/iter 0.91
Schema_Iterator_ISO_Language 6609166.369718663 ns/iter 7154939.150569415 ns/iter 0.92
Schema_PointerWalker_ISO_Language 9330162.10362531 ns/iter 10125528.363620535 ns/iter 0.92
Schema_Frame_ISO_Language_Locations_To_JSON 149018621.44470215 ns/iter 172918021.67892456 ns/iter 0.86
Schema_Tracker_ISO_Language 38558244.705200195 ns/iter 44292702.394373275 ns/iter 0.87
Schema_Tracker_ISO_Language_To_JSON 25345740.494904693 ns/iter 25850039.94129322 ns/iter 0.98
Schema_Format_ISO_Language_To_JSON 171146273.61297607 ns/iter 177466094.49386597 ns/iter 0.96
Schema_Bundle_Meta_2020_12 1965298.4097560034 ns/iter 1996807.7746784918 ns/iter 0.98
Alterschema_Check_Readibility_ISO_Language_Set_3 244033018.74796548 ns/iter 249895652.13521323 ns/iter 0.98
Alterschema_Check_Readibility_OMC 219798247.01944986 ns/iter 195956051.3496399 ns/iter 1.12

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