-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Namespace JSON-related errors (#1499)
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
- Loading branch information
Showing
13 changed files
with
56 additions
and
51 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
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
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
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
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
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
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
2492e5e
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.8856189495513693
ns/iter2.272603659912782
ns/iter0.83
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
1.8246839608306262
ns/iter2.292447019131944
ns/iter0.80
Regex_Period_Asterisk
1.7459228306283452
ns/iter2.13597649445663
ns/iter0.82
Regex_Group_Period_Asterisk_Group
1.8851535171730374
ns/iter2.5155558253371537
ns/iter0.75
Regex_Period_Plus
2.2013061320227347
ns/iter2.9661443190639707
ns/iter0.74
Regex_Period
2.2129030761107624
ns/iter2.9591032337633196
ns/iter0.75
Regex_Caret_Period_Plus_Dollar
2.244911830670867
ns/iter2.649880218102814
ns/iter0.85
Regex_Caret_Group_Period_Plus_Group_Dollar
2.209557324259319
ns/iter2.899119408415247
ns/iter0.76
Regex_Caret_Period_Asterisk_Dollar
1.7944728936234418
ns/iter2.588812324057509
ns/iter0.69
Regex_Caret_Group_Period_Asterisk_Group_Dollar
1.8014461381733193
ns/iter2.264736107438064
ns/iter0.80
Regex_Caret_X_Hyphen
7.570363466811086
ns/iter9.098641882491895
ns/iter0.83
Regex_Period_Md_Dollar
76.93690568019085
ns/iter100.8998583489317
ns/iter0.76
Regex_Caret_Slash_Period_Asterisk
5.727159036181991
ns/iter6.378184644628103
ns/iter0.90
Regex_Caret_Period_Range_Dollar
2.5548133291273087
ns/iter3.1395645799794774
ns/iter0.81
Regex_Nested_Backtrack
859.1831207286483
ns/iter1047.9826508778744
ns/iter0.82
JSON_Array_Of_Objects_Unique
447.81650535816374
ns/iter440.1934757700168
ns/iter1.02
JSON_Parse_1
30876.821651626935
ns/iter30284.62411968264
ns/iter1.02
JSON_Fast_Hash_Helm_Chart_Lock
55.259665399347824
ns/iter63.99578752276005
ns/iter0.86
JSON_Equality_Helm_Chart_Lock
140.5083316921428
ns/iter155.923992024792
ns/iter0.90
JSON_String_Equal/10
8.619044765911262
ns/iter10.56912447437271
ns/iter0.82
JSON_String_Equal/100
6.653917902452342
ns/iter9.364821301284968
ns/iter0.71
JSON_String_Equal_Small_By_Perfect_Hash/10
0.3534960799707045
ns/iter0.41239453396608233
ns/iter0.86
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
3.2694905305951947
ns/iter3.8704953860071933
ns/iter0.84
JSON_String_Fast_Hash/10
1.7159200151970297
ns/iter2.057935356450222
ns/iter0.83
JSON_String_Fast_Hash/100
2.0696467778598624
ns/iter2.4879413451627133
ns/iter0.83
JSON_String_Key_Hash/10
1.424595785921619
ns/iter1.5778325125852966
ns/iter0.90
JSON_String_Key_Hash/100
1.4568338982300413
ns/iter1.6773218966140813
ns/iter0.87
JSON_Object_Defines_Miss_Same_Length
2.4083469720437387
ns/iter2.7513182587675784
ns/iter0.88
JSON_Object_Defines_Miss_Too_Small
2.5330610466434655
ns/iter2.7463315990630255
ns/iter0.92
JSON_Object_Defines_Miss_Too_Large
2.5572955262271204
ns/iter2.815601865018342
ns/iter0.91
Pointer_Object_Traverse
18.80521106237539
ns/iter22.383229344936808
ns/iter0.84
Pointer_Object_Try_Traverse
24.51805309608182
ns/iter34.39778225139049
ns/iter0.71
Pointer_Push_Back_Pointer_To_Weak_Pointer
204.3824141833214
ns/iter232.2348523741067
ns/iter0.88
This comment was automatically generated by workflow using github-action-benchmark.
2492e5e
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.2111436203179213
ns/iter2.220547577887335
ns/iter1.00
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
2.2001286520578116
ns/iter2.247716283883405
ns/iter0.98
Regex_Period_Asterisk
2.2057711593449443
ns/iter2.1938147842379876
ns/iter1.01
Regex_Group_Period_Asterisk_Group
2.210337333220009
ns/iter2.201862442030673
ns/iter1.00
Regex_Period_Plus
2.79860324518272
ns/iter2.7996738933152243
ns/iter1.00
Regex_Period
2.54788068687906
ns/iter2.4903684541568527
ns/iter1.02
Regex_Caret_Period_Plus_Dollar
2.4875050994454475
ns/iter2.716484945499371
ns/iter0.92
Regex_Caret_Group_Period_Plus_Group_Dollar
2.4912739317001065
ns/iter2.488667385071972
ns/iter1.00
Regex_Caret_Period_Asterisk_Dollar
2.4883480211806366
ns/iter2.2142646830124773
ns/iter1.12
Regex_Caret_Group_Period_Asterisk_Group_Dollar
2.493770269034612
ns/iter2.193481996152133
ns/iter1.14
Regex_Caret_X_Hyphen
12.597373519372656
ns/iter13.055306126903075
ns/iter0.96
Regex_Period_Md_Dollar
81.67422130360217
ns/iter81.58166798897486
ns/iter1.00
Regex_Caret_Slash_Period_Asterisk
6.843664463370261
ns/iter5.603774699785185
ns/iter1.22
Regex_Caret_Period_Range_Dollar
4.0398475021441325
ns/iter2.8098367183450117
ns/iter1.44
Regex_Nested_Backtrack
498.2254229560972
ns/iter502.30239899997287
ns/iter0.99
JSON_Array_Of_Objects_Unique
406.11304843484015
ns/iter405.55829657041426
ns/iter1.00
JSON_Parse_1
30786.758918731128
ns/iter30596.74519791165
ns/iter1.01
JSON_Fast_Hash_Helm_Chart_Lock
59.25685805534612
ns/iter59.094997287242684
ns/iter1.00
JSON_Equality_Helm_Chart_Lock
151.41301910369856
ns/iter151.4245138405844
ns/iter1.00
JSON_String_Equal/10
7.160517411943075
ns/iter6.222737949466636
ns/iter1.15
JSON_String_Equal/100
6.845516395241755
ns/iter6.848925336962325
ns/iter1.00
JSON_String_Equal_Small_By_Perfect_Hash/10
0.934837912853127
ns/iter0.9350277429330012
ns/iter1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
14.600103510376343
ns/iter14.60095197943798
ns/iter1.00
JSON_String_Fast_Hash/10
2.503454074189386
ns/iter2.4859153100512303
ns/iter1.01
JSON_String_Fast_Hash/100
2.5050830475110732
ns/iter2.486031064618272
ns/iter1.01
JSON_String_Key_Hash/10
2.6937836852284565
ns/iter2.654999142447869
ns/iter1.01
JSON_String_Key_Hash/100
1.8681956279413496
ns/iter1.8666477267403727
ns/iter1.00
JSON_Object_Defines_Miss_Same_Length
3.733816782716067
ns/iter3.733899622256243
ns/iter1.00
JSON_Object_Defines_Miss_Too_Small
3.739712942552505
ns/iter3.7334115510541594
ns/iter1.00
JSON_Object_Defines_Miss_Too_Large
3.742022789103254
ns/iter3.736346402134831
ns/iter1.00
Pointer_Object_Traverse
44.38466385593775
ns/iter44.29840964830761
ns/iter1.00
Pointer_Object_Try_Traverse
52.70601072494114
ns/iter52.37492310502513
ns/iter1.01
Pointer_Push_Back_Pointer_To_Weak_Pointer
307.89049472933414
ns/iter306.90642949558656
ns/iter1.00
This comment was automatically generated by workflow using github-action-benchmark.
2492e5e
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
7.108755580357443
ns/iter6.8718649553569024
ns/iter1.03
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
7.161896205357518
ns/iter6.8636571428574
ns/iter1.04
Regex_Period_Asterisk
6.911620535713528
ns/iter6.974486607142743
ns/iter0.99
Regex_Group_Period_Asterisk_Group
6.9880392857147715
ns/iter6.988375000000095
ns/iter1.00
Regex_Period_Plus
7.430243303572226
ns/iter7.226108258928982
ns/iter1.03
Regex_Period
7.182187500000785
ns/iter7.387556919643703
ns/iter0.97
Regex_Caret_Period_Plus_Dollar
7.1994531249990645
ns/iter7.135473214286188
ns/iter1.01
Regex_Caret_Group_Period_Plus_Group_Dollar
7.207620535713792
ns/iter7.253243303571974
ns/iter0.99
Regex_Caret_Period_Asterisk_Dollar
7.026176339285531
ns/iter6.996428571428887
ns/iter1.00
Regex_Caret_Group_Period_Asterisk_Group_Dollar
7.219255580357091
ns/iter6.98299553571502
ns/iter1.03
Regex_Caret_X_Hyphen
14.278049936259428
ns/iter14.227035204343391
ns/iter1.00
Regex_Period_Md_Dollar
152.09018963881627
ns/iter150.2891071428536
ns/iter1.01
Regex_Caret_Slash_Period_Asterisk
11.128717857143247
ns/iter10.38084687499996
ns/iter1.07
Regex_Caret_Period_Range_Dollar
7.540963169642621
ns/iter7.486743716576887
ns/iter1.01
Regex_Nested_Backtrack
607.2477678571125
ns/iter608.3369642856796
ns/iter1.00
JSON_Array_Of_Objects_Unique
489.9271430657531
ns/iter491.141263845394
ns/iter1.00
JSON_Parse_1
79816.39212535575
ns/iter79810.91517857816
ns/iter1.00
JSON_Fast_Hash_Helm_Chart_Lock
63.03219642857373
ns/iter66.33134821427689
ns/iter0.95
JSON_Equality_Helm_Chart_Lock
189.78781158817978
ns/iter188.36602574697568
ns/iter1.01
JSON_String_Equal/10
9.000257812500832
ns/iter8.985188616071735
ns/iter1.00
JSON_String_Equal/100
9.913895045027719
ns/iter9.92287897355859
ns/iter1.00
JSON_String_Equal_Small_By_Perfect_Hash/10
2.167986250000098
ns/iter2.174887500000011
ns/iter1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
14.560082589285223
ns/iter14.828819196429167
ns/iter0.98
JSON_String_Fast_Hash/10
4.022034605396982
ns/iter4.041466123288193
ns/iter1.00
JSON_String_Fast_Hash/100
4.02836514112216
ns/iter4.028135319692967
ns/iter1.00
JSON_String_Key_Hash/10
7.852272286374367
ns/iter7.935802196715434
ns/iter0.99
JSON_String_Key_Hash/100
4.023891167899767
ns/iter4.035108310776726
ns/iter1.00
JSON_Object_Defines_Miss_Same_Length
3.7200246362141582
ns/iter3.7559480290077483
ns/iter0.99
JSON_Object_Defines_Miss_Too_Small
4.9560250000001815
ns/iter4.967442857143567
ns/iter1.00
JSON_Object_Defines_Miss_Too_Large
3.417769726039712
ns/iter3.4380607974321817
ns/iter0.99
Pointer_Object_Traverse
49.184649999995145
ns/iter49.39659000000347
ns/iter1.00
Pointer_Object_Try_Traverse
67.87433035714433
ns/iter67.81262276785834
ns/iter1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer
160.0469866071208
ns/iter162.48794642856572
ns/iter0.98
This comment was automatically generated by workflow using github-action-benchmark.
2492e5e
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)
Pointer_Object_Traverse
45.840627853949435
ns/iter45.64983324736455
ns/iter1.00
Pointer_Object_Try_Traverse
26.13607518815556
ns/iter26.14561696173193
ns/iter1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer
144.85669455980258
ns/iter144.98700164498874
ns/iter1.00
JSON_Array_Of_Objects_Unique
412.2524304452254
ns/iter414.4424439435892
ns/iter0.99
JSON_Parse_1
33405.22089953349
ns/iter33488.16770838592
ns/iter1.00
JSON_Fast_Hash_Helm_Chart_Lock
62.57066824892936
ns/iter62.86977271866869
ns/iter1.00
JSON_Equality_Helm_Chart_Lock
149.4381260936381
ns/iter150.91060489094605
ns/iter0.99
JSON_String_Equal/10
6.340375580264439
ns/iter6.33749663091924
ns/iter1.00
JSON_String_Equal/100
6.966305243569889
ns/iter6.967756830455331
ns/iter1.00
JSON_String_Equal_Small_By_Perfect_Hash/10
0.9334189157887778
ns/iter0.9336441250683972
ns/iter1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
14.298650704286915
ns/iter14.288750528005046
ns/iter1.00
JSON_String_Fast_Hash/10
0.9448569344788444
ns/iter0.9328878806972629
ns/iter1.01
JSON_String_Fast_Hash/100
0.9541443095919708
ns/iter0.9322742114096909
ns/iter1.02
JSON_String_Key_Hash/10
1.6717275696396303
ns/iter1.6761272356245651
ns/iter1.00
JSON_String_Key_Hash/100
1.983720797669898
ns/iter1.9835455350792497
ns/iter1.00
JSON_Object_Defines_Miss_Same_Length
2.545532506863017
ns/iter2.661097417192496
ns/iter0.96
JSON_Object_Defines_Miss_Too_Small
2.49058532051174
ns/iter2.4959629192068467
ns/iter1.00
JSON_Object_Defines_Miss_Too_Large
3.1181990105767974
ns/iter3.1085096648253177
ns/iter1.00
Regex_Lower_S_Or_Upper_S_Asterisk
3.4219505498981047
ns/iter3.4198403515840377
ns/iter1.00
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
3.444012936817582
ns/iter3.4288885296590075
ns/iter1.00
Regex_Period_Asterisk
3.4289215138699936
ns/iter3.4215930773693723
ns/iter1.00
Regex_Group_Period_Asterisk_Group
3.420869897340437
ns/iter3.4254047160594197
ns/iter1.00
Regex_Period_Plus
3.741909129075417
ns/iter3.7345131097394084
ns/iter1.00
Regex_Period
3.728190787663804
ns/iter3.7305413376614265
ns/iter1.00
Regex_Caret_Period_Plus_Dollar
3.7287556000011817
ns/iter3.7342162475184466
ns/iter1.00
Regex_Caret_Group_Period_Plus_Group_Dollar
3.7288022313854174
ns/iter4.215419201107587
ns/iter0.88
Regex_Caret_Period_Asterisk_Dollar
4.6624720066537355
ns/iter4.661344183754675
ns/iter1.00
Regex_Caret_Group_Period_Asterisk_Group_Dollar
4.671795372669684
ns/iter4.660717727100717
ns/iter1.00
Regex_Caret_X_Hyphen
12.433011596993488
ns/iter13.143488127108597
ns/iter0.95
Regex_Period_Md_Dollar
88.81716107595766
ns/iter93.38737598994702
ns/iter0.95
Regex_Caret_Slash_Period_Asterisk
8.080493550850028
ns/iter8.08867601860652
ns/iter1.00
Regex_Caret_Period_Range_Dollar
4.665831623094242
ns/iter4.68489834175964
ns/iter1.00
Regex_Nested_Backtrack
818.4269600015867
ns/iter823.6360329232282
ns/iter0.99
This comment was automatically generated by workflow using github-action-benchmark.
2492e5e
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.026600767951069
ns/iter2.4195720697651444
ns/iter0.84
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
2.079071925094296
ns/iter2.3174542852993736
ns/iter0.90
Regex_Period_Asterisk
2.009437282351249
ns/iter2.34573295774675
ns/iter0.86
Regex_Group_Period_Asterisk_Group
1.9704979943229592
ns/iter2.392394755450172
ns/iter0.82
Regex_Period_Plus
1.9963061784457965
ns/iter1.9970364152816449
ns/iter1.00
Regex_Period
2.0208231926398756
ns/iter2.0219891210105225
ns/iter1.00
Regex_Caret_Period_Plus_Dollar
2.055018419848769
ns/iter1.9939159830868136
ns/iter1.03
Regex_Caret_Group_Period_Plus_Group_Dollar
2.0435971677945113
ns/iter2.1077153542634384
ns/iter0.97
Regex_Caret_Period_Asterisk_Dollar
2.0052680676414862
ns/iter2.353490441479331
ns/iter0.85
Regex_Caret_Group_Period_Asterisk_Group_Dollar
2.3539794063396373
ns/iter2.682683548533442
ns/iter0.88
Regex_Caret_X_Hyphen
6.434392888215279
ns/iter6.906095276325223
ns/iter0.93
Regex_Period_Md_Dollar
74.8030893008348
ns/iter73.29214143605276
ns/iter1.02
Regex_Caret_Slash_Period_Asterisk
4.669338381029344
ns/iter5.11486335625981
ns/iter0.91
Regex_Caret_Period_Range_Dollar
2.077835856775558
ns/iter2.3275476075501382
ns/iter0.89
Regex_Nested_Backtrack
880.0238996168044
ns/iter867.4661879869855
ns/iter1.01
JSON_Array_Of_Objects_Unique
237.0036123475368
ns/iter213.24683500663022
ns/iter1.11
JSON_Parse_1
25509.622509919067
ns/iter24996.58601164034
ns/iter1.02
JSON_Fast_Hash_Helm_Chart_Lock
26.654392013281743
ns/iter25.106959900570214
ns/iter1.06
JSON_Equality_Helm_Chart_Lock
124.7035009488768
ns/iter121.97786776868148
ns/iter1.02
JSON_String_Equal/10
6.135770671134114
ns/iter5.758435847668455
ns/iter1.07
JSON_String_Equal/100
5.548843530010463
ns/iter5.486693152532578
ns/iter1.01
JSON_String_Equal_Small_By_Perfect_Hash/10
0.8206788841898318
ns/iter0.797841942657607
ns/iter1.03
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
3.7865099879272117
ns/iter3.7041075376409105
ns/iter1.02
JSON_String_Fast_Hash/10
2.046332388426806
ns/iter2.0221980617441124
ns/iter1.01
JSON_String_Fast_Hash/100
2.0703781023923953
ns/iter2.023561221865578
ns/iter1.02
JSON_String_Key_Hash/10
1.57251345832712
ns/iter1.5005616754259958
ns/iter1.05
JSON_String_Key_Hash/100
2.121870257146912
ns/iter2.069351140277079
ns/iter1.03
JSON_Object_Defines_Miss_Same_Length
1.8715366193755891
ns/iter1.8334778564425385
ns/iter1.02
JSON_Object_Defines_Miss_Too_Small
2.101276302125172
ns/iter2.0728651951016746
ns/iter1.01
JSON_Object_Defines_Miss_Too_Large
2.0327701402503022
ns/iter1.876194814754322
ns/iter1.08
Pointer_Object_Traverse
60.30684480203827
ns/iter59.14382191972436
ns/iter1.02
Pointer_Object_Try_Traverse
37.79610067356233
ns/iter38.44343493689406
ns/iter0.98
Pointer_Push_Back_Pointer_To_Weak_Pointer
189.26061572963368
ns/iter186.46083669995804
ns/iter1.02
This comment was automatically generated by workflow using github-action-benchmark.