-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly repopulate anchor instance locations after references (#1561)
Signed-off-by: Juan Cruz Viotti <[email protected]>
- Loading branch information
Showing
2 changed files
with
26 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e65d189
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark (macos/llvm)
Regex_Lower_S_Or_Upper_S_Asterisk
1.5817600281447863
ns/iter1.7145372560948229
ns/iter0.92
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
1.58724601220881
ns/iter1.724905027142738
ns/iter0.92
Regex_Period_Asterisk
1.5671230851959383
ns/iter1.687150154025665
ns/iter0.93
Regex_Group_Period_Asterisk_Group
1.600385376577446
ns/iter1.7741704125234485
ns/iter0.90
Regex_Period_Plus
1.8848968228706406
ns/iter1.9729418230803804
ns/iter0.96
Regex_Period
1.8987812416750405
ns/iter1.933691054240718
ns/iter0.98
Regex_Caret_Period_Plus_Dollar
1.8811692961961162
ns/iter1.9519348040024196
ns/iter0.96
Regex_Caret_Group_Period_Plus_Group_Dollar
1.882467534701582
ns/iter1.9194132636903207
ns/iter0.98
Regex_Caret_Period_Asterisk_Dollar
1.5705757362875976
ns/iter1.5693588267699419
ns/iter1.00
Regex_Caret_Group_Period_Asterisk_Group_Dollar
1.5660961747277975
ns/iter1.5919433190659797
ns/iter0.98
Regex_Caret_X_Hyphen
6.581122830647934
ns/iter6.272937635063344
ns/iter1.05
Regex_Period_Md_Dollar
67.77720391321638
ns/iter69.34884759820588
ns/iter0.98
Regex_Caret_Slash_Period_Asterisk
5.013701072978269
ns/iter5.250050305873684
ns/iter0.95
Regex_Caret_Period_Range_Dollar
2.239079504221759
ns/iter2.0491684846988103
ns/iter1.09
Regex_Nested_Backtrack
726.2526274754033
ns/iter725.6790693491332
ns/iter1.00
JSON_Array_Of_Objects_Unique
327.3611896700036
ns/iter328.335322772672
ns/iter1.00
JSON_Parse_1
21332.674241040775
ns/iter22073.34704798786
ns/iter0.97
JSON_Fast_Hash_Helm_Chart_Lock
48.31118781211878
ns/iter50.470016600002054
ns/iter0.96
JSON_Equality_Helm_Chart_Lock
116.00221205773458
ns/iter119.57757671057479
ns/iter0.97
JSON_String_Equal/10
7.519229182070485
ns/iter7.621745800946572
ns/iter0.99
JSON_String_Equal/100
5.972451521260957
ns/iter5.966349702431995
ns/iter1.00
JSON_String_Equal_Small_By_Perfect_Hash/10
0.31359566027713737
ns/iter0.318090787983171
ns/iter0.99
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
2.9124610027225746
ns/iter2.9529339735631175
ns/iter0.99
JSON_String_Fast_Hash/10
1.5680938377963547
ns/iter1.569942932296202
ns/iter1.00
JSON_String_Fast_Hash/100
1.8809778078149855
ns/iter1.9427674019708019
ns/iter0.97
JSON_String_Key_Hash/10
1.2539971828041896
ns/iter1.287018179787216
ns/iter0.97
JSON_String_Key_Hash/100
1.2698544346372997
ns/iter1.3180027776138932
ns/iter0.96
JSON_Object_Defines_Miss_Same_Length
2.1961843069753546
ns/iter2.3334219354234373
ns/iter0.94
JSON_Object_Defines_Miss_Too_Small
2.193187549105642
ns/iter2.3599118229139333
ns/iter0.93
JSON_Object_Defines_Miss_Too_Large
4.386748762010116
ns/iter2.3747191944931636
ns/iter1.85
Pointer_Object_Traverse
15.341172760307497
ns/iter17.04142052266079
ns/iter0.90
Pointer_Object_Try_Traverse
21.909170129184837
ns/iter24.739767037017863
ns/iter0.89
Pointer_Push_Back_Pointer_To_Weak_Pointer
169.64479825180882
ns/iter192.55644748790112
ns/iter0.88
Schema_Frame_OMC_Instances
267680139.0000113
ns/iter318502208.49997866
ns/iter0.84
Schema_Frame_OMC_References
99640767.85714075
ns/iter120791465.33333565
ns/iter0.82
Schema_Bundle_Meta_2020_12
4710525.333330729
ns/iter5416352.053438084
ns/iter0.87
This comment was automatically generated by workflow using github-action-benchmark.
e65d189
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark (linux/llvm)
Regex_Lower_S_Or_Upper_S_Asterisk
2.207995404173344
ns/iter2.190196708376518
ns/iter1.01
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
2.1931146872749805
ns/iter2.2341471070258256
ns/iter0.98
Regex_Period_Asterisk
2.204240060973603
ns/iter2.181338837012808
ns/iter1.01
Regex_Group_Period_Asterisk_Group
2.2194282899359514
ns/iter2.1844761753241135
ns/iter1.02
Regex_Period_Plus
2.4870794752063596
ns/iter2.488707627278553
ns/iter1.00
Regex_Period
2.4878324319956966
ns/iter2.488924987638504
ns/iter1.00
Regex_Caret_Period_Plus_Dollar
2.4886193156300966
ns/iter2.2101420070447406
ns/iter1.13
Regex_Caret_Group_Period_Plus_Group_Dollar
2.4882206542453655
ns/iter2.3394645669638203
ns/iter1.06
Regex_Caret_Period_Asterisk_Dollar
3.417367644679357
ns/iter2.425908436620514
ns/iter1.41
Regex_Caret_Group_Period_Asterisk_Group_Dollar
3.4167511623166136
ns/iter2.185814396492654
ns/iter1.56
Regex_Caret_X_Hyphen
12.591225770221227
ns/iter12.664930962387452
ns/iter0.99
Regex_Period_Md_Dollar
73.68669980886543
ns/iter73.60966540915595
ns/iter1.00
Regex_Caret_Slash_Period_Asterisk
5.912515772575709
ns/iter7.156549825005824
ns/iter0.83
Regex_Caret_Period_Range_Dollar
2.8146579597511945
ns/iter4.120212510801584
ns/iter0.68
Regex_Nested_Backtrack
453.55339949918147
ns/iter453.08648170835164
ns/iter1.00
JSON_Array_Of_Objects_Unique
404.3873251572459
ns/iter406.5374489480059
ns/iter0.99
JSON_Parse_1
30221.194961807338
ns/iter30786.15631227935
ns/iter0.98
JSON_Fast_Hash_Helm_Chart_Lock
59.73368188187286
ns/iter59.969791443174465
ns/iter1.00
JSON_Equality_Helm_Chart_Lock
157.50281208757798
ns/iter164.39876673088142
ns/iter0.96
JSON_String_Equal/10
7.465772180219773
ns/iter7.466804930886629
ns/iter1.00
JSON_String_Equal/100
8.0848395116233
ns/iter8.087932226152384
ns/iter1.00
JSON_String_Equal_Small_By_Perfect_Hash/10
0.9345239950164486
ns/iter0.9360176726777709
ns/iter1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
14.60333078569218
ns/iter10.258201622585448
ns/iter1.42
JSON_String_Fast_Hash/10
2.181661688163844
ns/iter2.178098316673316
ns/iter1.00
JSON_String_Fast_Hash/100
2.175928687135249
ns/iter2.1752136340781165
ns/iter1.00
JSON_String_Key_Hash/10
2.6986755344205564
ns/iter1.8680616487506145
ns/iter1.44
JSON_String_Key_Hash/100
2.1794636100234612
ns/iter2.1780068710205485
ns/iter1.00
JSON_Object_Defines_Miss_Same_Length
3.735576867183974
ns/iter3.736392373773974
ns/iter1.00
JSON_Object_Defines_Miss_Too_Small
3.7335076315357028
ns/iter3.733543043707488
ns/iter1.00
JSON_Object_Defines_Miss_Too_Large
3.7334914521684763
ns/iter3.733691469179388
ns/iter1.00
Pointer_Object_Traverse
45.08275928686826
ns/iter45.98228719566351
ns/iter0.98
Pointer_Object_Try_Traverse
52.327192562162466
ns/iter52.30696072585045
ns/iter1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer
347.2481210358901
ns/iter335.34987080797805
ns/iter1.04
Schema_Frame_OMC_Instances
329531254.5000115
ns/iter339775838.99999785
ns/iter0.97
Schema_Frame_OMC_References
139935191.00001776
ns/iter144287681.39999872
ns/iter0.97
Schema_Bundle_Meta_2020_12
6753996.990287482
ns/iter6856119.7391310865
ns/iter0.99
This comment was automatically generated by workflow using github-action-benchmark.
e65d189
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark (windows/msvc)
Regex_Lower_S_Or_Upper_S_Asterisk
6.976052455357008
ns/iter6.8085625000005985
ns/iter1.02
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
6.672103794642988
ns/iter6.894200892857733
ns/iter0.97
Regex_Period_Asterisk
6.807156249999074
ns/iter6.54089397321351
ns/iter1.04
Regex_Group_Period_Asterisk_Group
6.6485055803574715
ns/iter6.921427455358144
ns/iter0.96
Regex_Period_Plus
7.150152901786047
ns/iter7.00881138392871
ns/iter1.02
Regex_Period
6.85857410714265
ns/iter6.992704241071124
ns/iter0.98
Regex_Caret_Period_Plus_Dollar
7.160332589285342
ns/iter6.9988124999983565
ns/iter1.02
Regex_Caret_Group_Period_Plus_Group_Dollar
6.855336130110411
ns/iter7.225724967742181
ns/iter0.95
Regex_Caret_Period_Asterisk_Dollar
6.988315848214403
ns/iter6.654372767859026
ns/iter1.05
Regex_Caret_Group_Period_Asterisk_Group_Dollar
6.551628571428531
ns/iter6.996029017857706
ns/iter0.94
Regex_Caret_X_Hyphen
11.896362500000432
ns/iter11.844012499998207
ns/iter1.00
Regex_Period_Md_Dollar
156.10499999999053
ns/iter153.13678571427909
ns/iter1.02
Regex_Caret_Slash_Period_Asterisk
10.620523437498974
ns/iter9.922357812499172
ns/iter1.07
Regex_Caret_Period_Range_Dollar
7.375465178572175
ns/iter7.1787803250968105
ns/iter1.03
Regex_Nested_Backtrack
604.2122321427914
ns/iter586.9725000000017
ns/iter1.03
JSON_Array_Of_Objects_Unique
413.5546047964373
ns/iter416.79665441024184
ns/iter0.99
JSON_Parse_1
78826.84151786026
ns/iter78531.55133929082
ns/iter1.00
JSON_Fast_Hash_Helm_Chart_Lock
61.27931000000899
ns/iter62.24393750000802
ns/iter0.98
JSON_Equality_Helm_Chart_Lock
186.46464641504355
ns/iter188.78942782075242
ns/iter0.99
JSON_String_Equal/10
9.290073172811907
ns/iter9.303508887036303
ns/iter1.00
JSON_String_Equal/100
9.918952187862002
ns/iter9.933253124998487
ns/iter1.00
JSON_String_Equal_Small_By_Perfect_Hash/10
2.1682384375001362
ns/iter2.166338749999852
ns/iter1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
15.200841517855373
ns/iter15.264546874997261
ns/iter1.00
JSON_String_Fast_Hash/10
3.1131651785715673
ns/iter3.100619196427853
ns/iter1.00
JSON_String_Fast_Hash/100
3.1016035714286665
ns/iter3.094514303890864
ns/iter1.00
JSON_String_Key_Hash/10
7.57080133928564
ns/iter7.428241071428333
ns/iter1.02
JSON_String_Key_Hash/100
3.718147493360356
ns/iter3.7179203505037055
ns/iter1.00
JSON_Object_Defines_Miss_Same_Length
4.025933444688788
ns/iter4.034144337560712
ns/iter1.00
JSON_Object_Defines_Miss_Too_Small
3.4180516010389437
ns/iter3.401179368926049
ns/iter1.00
JSON_Object_Defines_Miss_Too_Large
3.7245937433490743
ns/iter3.7207982076404913
ns/iter1.00
Pointer_Object_Traverse
52.644455357133374
ns/iter53.3551785714183
ns/iter0.99
Pointer_Object_Try_Traverse
64.82543750000299
ns/iter64.5300803571404
ns/iter1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer
180.76804292570736
ns/iter180.44149825367538
ns/iter1.00
Schema_Frame_OMC_Instances
689235399.999916
ns/iter697525499.9999833
ns/iter0.99
Schema_Frame_OMC_References
356650649.9999491
ns/iter367713849.9999728
ns/iter0.97
Schema_Bundle_Meta_2020_12
16459748.78050122
ns/iter16430456.097540207
ns/iter1.00
This comment was automatically generated by workflow using github-action-benchmark.
e65d189
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark (linux/gcc)
Schema_Frame_OMC_Instances
341719858.50002784
ns/iter345288504.4999903
ns/iter0.99
Schema_Frame_OMC_References
144950340.8000055
ns/iter145553423.6000176
ns/iter1.00
Schema_Bundle_Meta_2020_12
6969316.15000267
ns/iter7014238.060606898
ns/iter0.99
Pointer_Object_Traverse
47.49154622343189
ns/iter48.03621257941932
ns/iter0.99
Pointer_Object_Try_Traverse
22.788407532180617
ns/iter22.996066259458196
ns/iter0.99
Pointer_Push_Back_Pointer_To_Weak_Pointer
170.11576887300168
ns/iter160.33016952266541
ns/iter1.06
JSON_Array_Of_Objects_Unique
376.768940881943
ns/iter390.19322819823356
ns/iter0.97
JSON_Parse_1
33147.92331346176
ns/iter33001.19515856867
ns/iter1.00
JSON_Fast_Hash_Helm_Chart_Lock
65.92993042477656
ns/iter57.390017000917226
ns/iter1.15
JSON_Equality_Helm_Chart_Lock
153.7677023930852
ns/iter155.2865139787904
ns/iter0.99
JSON_String_Equal/10
5.993430407451088
ns/iter6.261937830257165
ns/iter0.96
JSON_String_Equal/100
6.621212944814854
ns/iter6.884042988568089
ns/iter0.96
JSON_String_Equal_Small_By_Perfect_Hash/10
0.9355305692660275
ns/iter0.6232565600289169
ns/iter1.50
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
11.814368132834597
ns/iter11.665984050626356
ns/iter1.01
JSON_String_Fast_Hash/10
0.9347079157941732
ns/iter0.9325657602879405
ns/iter1.00
JSON_String_Fast_Hash/100
0.9328215513578587
ns/iter0.9327111854283897
ns/iter1.00
JSON_String_Key_Hash/10
1.2465271078239857
ns/iter1.2447748263760163
ns/iter1.00
JSON_String_Key_Hash/100
0.9341943508449568
ns/iter0.9359233432438051
ns/iter1.00
JSON_Object_Defines_Miss_Same_Length
2.493072637793128
ns/iter2.4873138929752083
ns/iter1.00
JSON_Object_Defines_Miss_Too_Small
2.4905098748483696
ns/iter2.5031739164472917
ns/iter0.99
JSON_Object_Defines_Miss_Too_Large
2.48809811536846
ns/iter2.797691917824177
ns/iter0.89
Regex_Lower_S_Or_Upper_S_Asterisk
3.116347213052761
ns/iter3.418857285376448
ns/iter0.91
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
3.108544387236101
ns/iter3.107015095082074
ns/iter1.00
Regex_Period_Asterisk
3.110319491909866
ns/iter3.1083371561558852
ns/iter1.00
Regex_Group_Period_Asterisk_Group
3.109907010297071
ns/iter3.1089301876927635
ns/iter1.00
Regex_Period_Plus
3.419239894884336
ns/iter3.419205831632048
ns/iter1.00
Regex_Period
3.4182402264815828
ns/iter3.4222531678280697
ns/iter1.00
Regex_Caret_Period_Plus_Dollar
3.418399511998676
ns/iter3.4190100425088152
ns/iter1.00
Regex_Caret_Group_Period_Plus_Group_Dollar
3.419909989342524
ns/iter3.727576897014256
ns/iter0.92
Regex_Caret_Period_Asterisk_Dollar
4.3497490042991505
ns/iter4.348322815103161
ns/iter1.00
Regex_Caret_Group_Period_Asterisk_Group_Dollar
4.35558807984896
ns/iter4.6625226500030985
ns/iter0.93
Regex_Caret_X_Hyphen
13.67822148296927
ns/iter13.148965885009991
ns/iter1.04
Regex_Period_Md_Dollar
90.43516485844651
ns/iter116.41431154174677
ns/iter0.78
Regex_Caret_Slash_Period_Asterisk
9.3190372534556
ns/iter9.647408555730149
ns/iter0.97
Regex_Caret_Period_Range_Dollar
4.356359643307452
ns/iter4.6606258158757585
ns/iter0.93
Regex_Nested_Backtrack
834.2321494657796
ns/iter852.2289797649843
ns/iter0.98
This comment was automatically generated by workflow using github-action-benchmark.
e65d189
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark (macos/gcc)
Regex_Lower_S_Or_Upper_S_Asterisk
2.055353662080518
ns/iter1.943872096938542
ns/iter1.06
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
2.1658289336064
ns/iter1.9881407077094337
ns/iter1.09
Regex_Period_Asterisk
2.122952084750601
ns/iter1.9458549500971065
ns/iter1.09
Regex_Group_Period_Asterisk_Group
2.0570866230011644
ns/iter1.9536634707955765
ns/iter1.05
Regex_Period_Plus
1.7723386849394156
ns/iter1.6248480846991722
ns/iter1.09
Regex_Period
1.842547931189077
ns/iter1.6494768970048908
ns/iter1.12
Regex_Caret_Period_Plus_Dollar
1.7776463672808591
ns/iter1.6216558466164706
ns/iter1.10
Regex_Caret_Group_Period_Plus_Group_Dollar
1.7730824792974813
ns/iter1.6276989371319595
ns/iter1.09
Regex_Caret_Period_Asterisk_Dollar
2.1544885827644853
ns/iter1.9473969397011717
ns/iter1.11
Regex_Caret_Group_Period_Asterisk_Group_Dollar
2.299188617244288
ns/iter1.964690407054506
ns/iter1.17
Regex_Caret_X_Hyphen
6.994036624840815
ns/iter6.155957077941823
ns/iter1.14
Regex_Period_Md_Dollar
76.91364095518648
ns/iter79.88720078278992
ns/iter0.96
Regex_Caret_Slash_Period_Asterisk
5.033245374254906
ns/iter4.616382504351602
ns/iter1.09
Regex_Caret_Period_Range_Dollar
2.085294424130885
ns/iter1.954842906119286
ns/iter1.07
Regex_Nested_Backtrack
933.1647201769285
ns/iter886.6021021817422
ns/iter1.05
JSON_Array_Of_Objects_Unique
235.71678732773185
ns/iter207.4648855530585
ns/iter1.14
JSON_Parse_1
25711.50754740783
ns/iter24251.157584278993
ns/iter1.06
JSON_Fast_Hash_Helm_Chart_Lock
25.644735700325203
ns/iter24.404790077523977
ns/iter1.05
JSON_Equality_Helm_Chart_Lock
124.40725973721945
ns/iter117.85132049513058
ns/iter1.06
JSON_String_Equal/10
6.587554068245386
ns/iter5.55648553675732
ns/iter1.19
JSON_String_Equal/100
6.705880952661728
ns/iter5.229871576901288
ns/iter1.28
JSON_String_Equal_Small_By_Perfect_Hash/10
0.953181937505708
ns/iter0.7735223583688873
ns/iter1.23
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
4.619318670555165
ns/iter3.566768078752174
ns/iter1.30
JSON_String_Fast_Hash/10
2.1937159142812366
ns/iter1.9579513543159603
ns/iter1.12
JSON_String_Fast_Hash/100
2.187534608297822
ns/iter1.993064165102488
ns/iter1.10
JSON_String_Key_Hash/10
1.7850919596403274
ns/iter1.4871053535051026
ns/iter1.20
JSON_String_Key_Hash/100
2.2152775036109302
ns/iter1.9862529605479873
ns/iter1.12
JSON_Object_Defines_Miss_Same_Length
1.8837203803996714
ns/iter1.7852186575859652
ns/iter1.06
JSON_Object_Defines_Miss_Too_Small
2.1072358069273553
ns/iter2.0358694959682553
ns/iter1.04
JSON_Object_Defines_Miss_Too_Large
1.9974054562040493
ns/iter1.9462245698415557
ns/iter1.03
Pointer_Object_Traverse
60.580821189738074
ns/iter55.876383451541095
ns/iter1.08
Pointer_Object_Try_Traverse
38.586251341534016
ns/iter37.13646947425694
ns/iter1.04
Pointer_Push_Back_Pointer_To_Weak_Pointer
171.59659548664982
ns/iter182.10346150564536
ns/iter0.94
Schema_Frame_OMC_Instances
353576421.7376709
ns/iter300809025.76446533
ns/iter1.18
Schema_Frame_OMC_References
110782504.08172607
ns/iter106248991.83000837
ns/iter1.04
Schema_Bundle_Meta_2020_12
5088177.433720342
ns/iter5016412.406132139
ns/iter1.01
This comment was automatically generated by workflow using github-action-benchmark.