-
-
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.
Revise JSON Schema public interface (#1502)
Signed-off-by: Juan Cruz Viotti <[email protected]>
- Loading branch information
Showing
49 changed files
with
1,327 additions
and
1,829 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
Oops, something went wrong.
ddad44e
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.7950566156935461
ns/iter2.0795258728873245
ns/iter0.86
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
1.853251665431244
ns/iter1.900586981410975
ns/iter0.98
Regex_Period_Asterisk
1.8290267267128908
ns/iter1.9981844700358833
ns/iter0.92
Regex_Group_Period_Asterisk_Group
1.714939161533693
ns/iter2.0652798824196963
ns/iter0.83
Regex_Period_Plus
2.1248440910745607
ns/iter2.6341280845898347
ns/iter0.81
Regex_Period
2.1599833173064344
ns/iter2.3278764141279438
ns/iter0.93
Regex_Caret_Period_Plus_Dollar
2.0614503013614063
ns/iter2.5215366747066454
ns/iter0.82
Regex_Caret_Group_Period_Plus_Group_Dollar
2.0451073143676712
ns/iter2.2011386863130737
ns/iter0.93
Regex_Caret_Period_Asterisk_Dollar
1.709511790274934
ns/iter1.8799913213221484
ns/iter0.91
Regex_Caret_Group_Period_Asterisk_Group_Dollar
1.7085095405480262
ns/iter1.8628617656843047
ns/iter0.92
Regex_Caret_X_Hyphen
7.218675493797549
ns/iter7.363098059319244
ns/iter0.98
Regex_Period_Md_Dollar
73.80735190269515
ns/iter81.57184989189872
ns/iter0.90
Regex_Caret_Slash_Period_Asterisk
5.4597284438883324
ns/iter6.1311295426350485
ns/iter0.89
Regex_Caret_Period_Range_Dollar
2.3743588472589137
ns/iter2.8472503789857293
ns/iter0.83
Regex_Nested_Backtrack
826.473008475541
ns/iter902.0403738510777
ns/iter0.92
JSON_Array_Of_Objects_Unique
353.1155985589121
ns/iter404.0183077209319
ns/iter0.87
JSON_Parse_1
23067.212471808623
ns/iter29291.21111574914
ns/iter0.79
JSON_Fast_Hash_Helm_Chart_Lock
52.241250931299895
ns/iter54.42421845511831
ns/iter0.96
JSON_Equality_Helm_Chart_Lock
128.76680583079008
ns/iter161.45317164939155
ns/iter0.80
JSON_String_Equal/10
8.115481956691076
ns/iter10.247032607629038
ns/iter0.79
JSON_String_Equal/100
6.531278869154012
ns/iter7.859067061508749
ns/iter0.83
JSON_String_Equal_Small_By_Perfect_Hash/10
0.34860368904708167
ns/iter0.4710933279317561
ns/iter0.74
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
3.15340390644528
ns/iter4.104461974432593
ns/iter0.77
JSON_String_Fast_Hash/10
1.7729959032769385
ns/iter2.0384044274393154
ns/iter0.87
JSON_String_Fast_Hash/100
2.2350271241018347
ns/iter2.4117017752558154
ns/iter0.93
JSON_String_Key_Hash/10
1.5036848858631668
ns/iter1.6829434624130353
ns/iter0.89
JSON_String_Key_Hash/100
1.4030709433194684
ns/iter1.872159961228198
ns/iter0.75
JSON_Object_Defines_Miss_Same_Length
2.34031611105411
ns/iter3.2032579645039183
ns/iter0.73
JSON_Object_Defines_Miss_Too_Small
2.335770717460812
ns/iter2.9329755362681427
ns/iter0.80
JSON_Object_Defines_Miss_Too_Large
2.389202661606593
ns/iter3.162322933510721
ns/iter0.76
Pointer_Object_Traverse
18.285521581718758
ns/iter22.136578505828325
ns/iter0.83
Pointer_Object_Try_Traverse
23.210407602056836
ns/iter30.49808971925383
ns/iter0.76
Pointer_Push_Back_Pointer_To_Weak_Pointer
183.20189570877227
ns/iter217.8467662028683
ns/iter0.84
This comment was automatically generated by workflow using github-action-benchmark.
ddad44e
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.2162926137557424
ns/iter2.2098587151273037
ns/iter1.00
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
2.19925760508802
ns/iter2.2016408498886455
ns/iter1.00
Regex_Period_Asterisk
2.222055011372764
ns/iter2.1897914035213035
ns/iter1.01
Regex_Group_Period_Asterisk_Group
2.2159846646958856
ns/iter2.218739022198521
ns/iter1.00
Regex_Period_Plus
2.7984984732370224
ns/iter2.797361990148969
ns/iter1.00
Regex_Period
2.7973273744300964
ns/iter2.7971234798423033
ns/iter1.00
Regex_Caret_Period_Plus_Dollar
2.7972943806127115
ns/iter2.7977165776701733
ns/iter1.00
Regex_Caret_Group_Period_Plus_Group_Dollar
2.799724504973251
ns/iter2.7965981082977827
ns/iter1.00
Regex_Caret_Period_Asterisk_Dollar
3.4175891559231735
ns/iter3.4186215502456654
ns/iter1.00
Regex_Caret_Group_Period_Asterisk_Group_Dollar
3.0677715740681295
ns/iter3.4164711516314363
ns/iter0.90
Regex_Caret_X_Hyphen
12.534412000613331
ns/iter13.077046534556654
ns/iter0.96
Regex_Period_Md_Dollar
81.91681405256837
ns/iter82.25123700771896
ns/iter1.00
Regex_Caret_Slash_Period_Asterisk
6.6872714057223055
ns/iter5.905823341577745
ns/iter1.13
Regex_Caret_Period_Range_Dollar
2.799913534837519
ns/iter4.105037112952024
ns/iter0.68
Regex_Nested_Backtrack
506.9051855918277
ns/iter498.24015060527876
ns/iter1.02
JSON_Array_Of_Objects_Unique
404.5395811087389
ns/iter402.13537061096264
ns/iter1.01
JSON_Parse_1
32879.94732878171
ns/iter30254.051992918412
ns/iter1.09
JSON_Fast_Hash_Helm_Chart_Lock
59.26342336518386
ns/iter59.36388624110974
ns/iter1.00
JSON_Equality_Helm_Chart_Lock
151.09449677582927
ns/iter151.00639652495593
ns/iter1.00
JSON_String_Equal/10
6.221398210396156
ns/iter6.222143740269638
ns/iter1.00
JSON_String_Equal/100
6.845746210589001
ns/iter6.852161027328132
ns/iter1.00
JSON_String_Equal_Small_By_Perfect_Hash/10
0.9347560554982254
ns/iter0.934710320510993
ns/iter1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
14.604553607377483
ns/iter10.260992209429737
ns/iter1.42
JSON_String_Fast_Hash/10
2.489004316153174
ns/iter2.489903811714908
ns/iter1.00
JSON_String_Fast_Hash/100
2.4882760539049587
ns/iter2.4892993126702754
ns/iter1.00
JSON_String_Key_Hash/10
2.6915433373998323
ns/iter2.17850669738415
ns/iter1.24
JSON_String_Key_Hash/100
1.8671227177219818
ns/iter1.8663222663224526
ns/iter1.00
JSON_Object_Defines_Miss_Same_Length
3.7379340161621424
ns/iter3.738043978743922
ns/iter1.00
JSON_Object_Defines_Miss_Too_Small
3.7368265537435987
ns/iter3.738051164952342
ns/iter1.00
JSON_Object_Defines_Miss_Too_Large
3.7354244449260205
ns/iter3.7385605022259996
ns/iter1.00
Pointer_Object_Traverse
44.31272349617659
ns/iter44.43308577893429
ns/iter1.00
Pointer_Object_Try_Traverse
52.35096127677514
ns/iter52.34528038611598
ns/iter1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer
336.7260238297816
ns/iter308.4915896230929
ns/iter1.09
This comment was automatically generated by workflow using github-action-benchmark.
ddad44e
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.900263392856892
ns/iter6.876897321429202
ns/iter1.00
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
6.96007589285687
ns/iter6.8928917410713915
ns/iter1.01
Regex_Period_Asterisk
7.476724330357192
ns/iter7.0548683035731585
ns/iter1.06
Regex_Group_Period_Asterisk_Group
6.89253880851562
ns/iter6.836526785714828
ns/iter1.01
Regex_Period_Plus
7.1573515624999215
ns/iter7.543497767856471
ns/iter0.95
Regex_Period
7.5322366071427025
ns/iter7.198368749998606
ns/iter1.05
Regex_Caret_Period_Plus_Dollar
7.250621651784885
ns/iter7.213687499998401
ns/iter1.01
Regex_Caret_Group_Period_Plus_Group_Dollar
7.407758928571643
ns/iter7.244962053571311
ns/iter1.02
Regex_Caret_Period_Asterisk_Dollar
6.974462053570869
ns/iter6.86750446428519
ns/iter1.02
Regex_Caret_Group_Period_Asterisk_Group_Dollar
6.881459821428848
ns/iter7.101599968296042
ns/iter0.97
Regex_Caret_X_Hyphen
11.760376562499175
ns/iter14.266118909524442
ns/iter0.82
Regex_Period_Md_Dollar
151.39319196428858
ns/iter151.4671651785347
ns/iter1.00
Regex_Caret_Slash_Period_Asterisk
10.438007812499706
ns/iter10.26693281250246
ns/iter1.02
Regex_Caret_Period_Range_Dollar
7.816242187500068
ns/iter7.665158482144108
ns/iter1.02
Regex_Nested_Backtrack
630.9060714285814
ns/iter611.2467000000379
ns/iter1.03
JSON_Array_Of_Objects_Unique
495.9793749999822
ns/iter498.04050000011557
ns/iter1.00
JSON_Parse_1
82169.85491072494
ns/iter79974.26339286001
ns/iter1.03
JSON_Fast_Hash_Helm_Chart_Lock
66.78844642857078
ns/iter63.80287946429673
ns/iter1.05
JSON_Equality_Helm_Chart_Lock
187.488820311524
ns/iter190.75346346013242
ns/iter0.98
JSON_String_Equal/10
9.012378977624522
ns/iter9.000914691958386
ns/iter1.00
JSON_String_Equal/100
9.955181205556839
ns/iter9.989322276835715
ns/iter1.00
JSON_String_Equal_Small_By_Perfect_Hash/10
2.1685978125002947
ns/iter2.1695109374995525
ns/iter1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
14.977938549205437
ns/iter15.10811607142821
ns/iter0.99
JSON_String_Fast_Hash/10
4.040159845424279
ns/iter4.029065051838041
ns/iter1.00
JSON_String_Fast_Hash/100
4.058628444747891
ns/iter4.029090587551515
ns/iter1.01
JSON_String_Key_Hash/10
7.874675223214262
ns/iter7.859871393482082
ns/iter1.00
JSON_String_Key_Hash/100
4.029894382196088
ns/iter4.028197998264745
ns/iter1.00
JSON_Object_Defines_Miss_Same_Length
3.7367399933272316
ns/iter3.746671600451823
ns/iter1.00
JSON_Object_Defines_Miss_Too_Small
4.95210400000019
ns/iter4.961602999999286
ns/iter1.00
JSON_Object_Defines_Miss_Too_Large
3.418432672467101
ns/iter3.416456109969759
ns/iter1.00
Pointer_Object_Traverse
50.079840000000786
ns/iter48.9539700000023
ns/iter1.02
Pointer_Object_Try_Traverse
67.7630892857195
ns/iter67.638633928563
ns/iter1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer
179.16354324754678
ns/iter163.06604910713165
ns/iter1.10
This comment was automatically generated by workflow using github-action-benchmark.
ddad44e
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.32103746526691
ns/iter45.7678396903338
ns/iter0.99
Pointer_Object_Try_Traverse
26.155797626481306
ns/iter26.10552410021411
ns/iter1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer
144.25206995015336
ns/iter146.0696940729446
ns/iter0.99
JSON_Array_Of_Objects_Unique
423.68275324715
ns/iter432.84223624627924
ns/iter0.98
JSON_Parse_1
33175.350879684425
ns/iter33220.48805444475
ns/iter1.00
JSON_Fast_Hash_Helm_Chart_Lock
62.62528667570228
ns/iter68.88871887567379
ns/iter0.91
JSON_Equality_Helm_Chart_Lock
149.21883704557348
ns/iter147.40067478125778
ns/iter1.01
JSON_String_Equal/10
6.34636903337211
ns/iter6.3352013613039935
ns/iter1.00
JSON_String_Equal/100
6.96372439377715
ns/iter6.964321279618878
ns/iter1.00
JSON_String_Equal_Small_By_Perfect_Hash/10
0.9347843746682979
ns/iter0.9330641593472272
ns/iter1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
14.292526535017345
ns/iter14.2868262435317
ns/iter1.00
JSON_String_Fast_Hash/10
0.9376002356537873
ns/iter0.9326792112386526
ns/iter1.01
JSON_String_Fast_Hash/100
0.9337595355250484
ns/iter0.9327539821487121
ns/iter1.00
JSON_String_Key_Hash/10
1.6725387254018165
ns/iter1.6722640117210488
ns/iter1.00
JSON_String_Key_Hash/100
1.9837409301886113
ns/iter1.9827411984046144
ns/iter1.00
JSON_Object_Defines_Miss_Same_Length
2.4875158809874662
ns/iter2.490449108460974
ns/iter1.00
JSON_Object_Defines_Miss_Too_Small
2.4866713285663824
ns/iter2.4889505154554685
ns/iter1.00
JSON_Object_Defines_Miss_Too_Large
3.115256555315382
ns/iter3.1113642021276666
ns/iter1.00
Regex_Lower_S_Or_Upper_S_Asterisk
3.4201361579092713
ns/iter3.4218297355281675
ns/iter1.00
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
3.4197119717306235
ns/iter3.42222318662483
ns/iter1.00
Regex_Period_Asterisk
3.4392454973788666
ns/iter3.4203927157812704
ns/iter1.01
Regex_Group_Period_Asterisk_Group
3.426070311371711
ns/iter3.4197692219521163
ns/iter1.00
Regex_Period_Plus
3.420809889513224
ns/iter3.7831826626144074
ns/iter0.90
Regex_Period
3.419203399803127
ns/iter3.7597288172274244
ns/iter0.91
Regex_Caret_Period_Plus_Dollar
3.4242043506928064
ns/iter3.732531040868804
ns/iter0.92
Regex_Caret_Group_Period_Plus_Group_Dollar
3.4216662886505502
ns/iter3.7349811295172826
ns/iter0.92
Regex_Caret_Period_Asterisk_Dollar
3.7310742693515957
ns/iter3.492014048777797
ns/iter1.07
Regex_Caret_Group_Period_Asterisk_Group_Dollar
3.7295946349882154
ns/iter3.4199858411905457
ns/iter1.09
Regex_Caret_X_Hyphen
13.273091627352622
ns/iter13.124558199726573
ns/iter1.01
Regex_Period_Md_Dollar
89.88527086696136
ns/iter88.8592891917554
ns/iter1.01
Regex_Caret_Slash_Period_Asterisk
8.08154110946453
ns/iter7.146990442522422
ns/iter1.13
Regex_Caret_Period_Range_Dollar
4.661508996071633
ns/iter3.4181999520373596
ns/iter1.36
Regex_Nested_Backtrack
836.7374187509896
ns/iter819.4720528614882
ns/iter1.02
This comment was automatically generated by workflow using github-action-benchmark.
ddad44e
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
1.9247922871571648
ns/iter2.1377475672394706
ns/iter0.90
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
1.9506176550170498
ns/iter2.073204088317801
ns/iter0.94
Regex_Period_Asterisk
1.9470040286959447
ns/iter2.040108356447086
ns/iter0.95
Regex_Group_Period_Asterisk_Group
1.9125224586607763
ns/iter2.040202048297104
ns/iter0.94
Regex_Period_Plus
1.9110298431902022
ns/iter2.061490211505423
ns/iter0.93
Regex_Period
1.954149280151372
ns/iter2.078306432368491
ns/iter0.94
Regex_Caret_Period_Plus_Dollar
1.923371330147804
ns/iter2.0029643604421836
ns/iter0.96
Regex_Caret_Group_Period_Plus_Group_Dollar
1.925122438015843
ns/iter2.0140446441526367
ns/iter0.96
Regex_Caret_Period_Asterisk_Dollar
1.9493304310313206
ns/iter2.0348776056389233
ns/iter0.96
Regex_Caret_Group_Period_Asterisk_Group_Dollar
2.2358413501957233
ns/iter2.4763371566771006
ns/iter0.90
Regex_Caret_X_Hyphen
6.111231946522103
ns/iter6.474068531623166
ns/iter0.94
Regex_Period_Md_Dollar
69.7881278065978
ns/iter74.56593647539144
ns/iter0.94
Regex_Caret_Slash_Period_Asterisk
4.4487990864563836
ns/iter4.687675264028264
ns/iter0.95
Regex_Caret_Period_Range_Dollar
1.9582676864443849
ns/iter1.9830267423668893
ns/iter0.99
Regex_Nested_Backtrack
830.6790275992772
ns/iter860.8714943888306
ns/iter0.96
JSON_Array_Of_Objects_Unique
214.11397532785048
ns/iter223.14341001354458
ns/iter0.96
JSON_Parse_1
23392.437118194484
ns/iter24703.16820547436
ns/iter0.95
JSON_Fast_Hash_Helm_Chart_Lock
25.272008005675385
ns/iter25.24927929430813
ns/iter1.00
JSON_Equality_Helm_Chart_Lock
115.70502784304887
ns/iter121.22837012106777
ns/iter0.95
JSON_String_Equal/10
5.45784997069716
ns/iter5.6557095884104225
ns/iter0.97
JSON_String_Equal/100
5.171498426498031
ns/iter5.41370805767281
ns/iter0.96
JSON_String_Equal_Small_By_Perfect_Hash/10
0.7579414911608794
ns/iter0.8280984162496426
ns/iter0.92
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
3.5355491327623945
ns/iter3.718684304624199
ns/iter0.95
JSON_String_Fast_Hash/10
1.944182201417723
ns/iter2.027995453377608
ns/iter0.96
JSON_String_Fast_Hash/100
1.9553813386451515
ns/iter2.0194888203830192
ns/iter0.97
JSON_String_Key_Hash/10
1.4617415479323208
ns/iter1.5194723009625855
ns/iter0.96
JSON_String_Key_Hash/100
2.0130885233393405
ns/iter2.0632830169740703
ns/iter0.98
JSON_Object_Defines_Miss_Same_Length
1.7768491719319544
ns/iter1.8608094053755413
ns/iter0.95
JSON_Object_Defines_Miss_Too_Small
2.128341934587564
ns/iter2.0170726674629336
ns/iter1.06
JSON_Object_Defines_Miss_Too_Large
1.7540009363519242
ns/iter1.8246472049551847
ns/iter0.96
Pointer_Object_Traverse
55.35070630252534
ns/iter61.40948509143745
ns/iter0.90
Pointer_Object_Try_Traverse
36.30256837161788
ns/iter38.4757057490783
ns/iter0.94
Pointer_Push_Back_Pointer_To_Weak_Pointer
161.85986699265626
ns/iter170.56790540673393
ns/iter0.95
This comment was automatically generated by workflow using github-action-benchmark.